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 9ae3852 commit 71b0d4aCopy full SHA for 71b0d4a
packages/cubejs-schema-compiler/src/adapter/BaseQuery.js
@@ -2865,12 +2865,9 @@ export class BaseQuery {
2865
}
2866
2867
newSubQueryForCube(cube, options) {
2868
- if (this.options.queryFactory) {
2869
- options.paramAllocator = null;
2870
- return this.options.queryFactory.createQuery(cube, this.compilers, this.subQueryOptions(options));
2871
- }
2872
-
2873
- return this.newSubQuery(options);
+ return this.options.queryFactory
+ ? this.options.queryFactory.createQuery(cube, this.compilers, this.subQueryOptions(options))
+ : this.newSubQuery(options);
2874
2875
2876
subQueryOptions(options) {
0 commit comments