Skip to content

Commit 25af24a

Browse files
committed
fix duplicates in join hint collection
1 parent 1ac0f73 commit 25af24a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cubejs-schema-compiler/src/compiler/CubeSymbols.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@ export class CubeSymbols {
959959
};
960960
}
961961
if (cube[propertyName]) {
962-
return this.cubeReferenceProxy(cubeName, joinHints, propertyName);
962+
return this.cubeReferenceProxy(cubeName, joinHints?.slice(0, -1), propertyName);
963963
}
964964
if (self.symbols[propertyName]) {
965965
return this.cubeReferenceProxy(propertyName, joinHints);

0 commit comments

Comments
 (0)