We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4aee42c commit 87876fcCopy full SHA for 87876fc
packages/cubejs-schema-compiler/src/adapter/BaseQuery.js
@@ -450,8 +450,8 @@ export class BaseQuery {
450
}
451
452
const joinMembersJoinHints = this.collectJoinHintsFromMembers(this.joinMembersFromJoin(tempJoin));
453
- const allJoinHintsFlatten = allJoinHints.flat();
454
- const newCollectedHints = joinMembersJoinHints.filter(j => !allJoinHintsFlatten.includes(j));
+ const allJoinHintsFlatten = new Set(allJoinHints.flat());
+ const newCollectedHints = joinMembersJoinHints.filter(j => !allJoinHintsFlatten.has(j));
455
456
this.collectedJoinHints = R.uniq([
457
...this.queryLevelJoinHints,
0 commit comments