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 8ff2eca commit 14adaebCopy full SHA for 14adaeb
packages/cubejs-schema-compiler/src/adapter/PreAggregations.js
@@ -1,5 +1,5 @@
1
import R from 'ramda';
2
-import { FROM_PARTITION_RANGE, TO_PARTITION_RANGE } from '@cubejs-backend/shared';
+import { FROM_PARTITION_RANGE, getEnv, TO_PARTITION_RANGE } from '@cubejs-backend/shared';
3
4
import { UserError } from '../compiler/UserError';
5
@@ -57,6 +57,10 @@ export class PreAggregations {
57
}
58
59
preAggregationCubes() {
60
+ if (getEnv('nativeSqlPlanner')) {
61
+ // No join defined in Tesseract
62
+ return [];
63
+ }
64
const { join } = this.query;
65
return join.joins.map(j => j.originalTo).concat([join.root]);
66
0 commit comments