Skip to content

Commit dbf968c

Browse files
committed
fix duplicates in join hint collection
1 parent 243d6d7 commit dbf968c

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
@@ -956,7 +956,7 @@ export class CubeSymbols {
956956
};
957957
}
958958
if (cube[propertyName]) {
959-
return this.cubeReferenceProxy(cubeName, joinHints, propertyName);
959+
return this.cubeReferenceProxy(cubeName, joinHints?.slice(0, -1), propertyName);
960960
}
961961
if (self.symbols[propertyName]) {
962962
return this.cubeReferenceProxy(propertyName, joinHints);

0 commit comments

Comments
 (0)