Skip to content

Commit 124bb38

Browse files
committed
fix(schema-compiler): prevent member name collection from impacting joins
1 parent d95a2fa commit 124bb38

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/cubejs-schema-compiler/src/adapter/BaseQuery.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,8 @@ export class BaseQuery {
261261
}).filter(R.identity).map(this.newTimeDimension.bind(this));
262262
this.allFilters = this.timeDimensions.concat(this.segments).concat(this.filters);
263263

264+
this.collectAllMemberNames(); // Ensure member names are computed so that they are not lazily added during join computation
265+
264266
this.join = this.joinGraph.buildJoin(this.allJoinHints);
265267
this.cubeAliasPrefix = this.options.cubeAliasPrefix;
266268
this.preAggregationsSchemaOption = this.options.preAggregationsSchema ?? DEFAULT_PREAGGREGATIONS_SCHEMA;

0 commit comments

Comments
 (0)