Skip to content

Commit 00f9f25

Browse files
committed
in work
1 parent 745d60b commit 00f9f25

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/cubejs-schema-compiler/test/integration/postgres/pre-aggregations-multi-stage.test.ts

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
import {
2+
getEnv,
3+
} from '@cubejs-backend/shared';
14
import R from 'ramda';
25
import { UserError } from '../../../src/compiler/UserError';
36
import { PostgresQuery } from '../../../src/adapter/PostgresQuery';
@@ -142,6 +145,9 @@ describe('PreAggregationsMultiStage', () => {
142145

143146

144147
it('simple multi stage with add_group_by', () => compiler.compile().then(() => {
148+
if (!getEnv('nativeSqlPlanner')) {
149+
return;
150+
}
145151
const query = new PostgresQuery({ joinGraph, cubeEvaluator, compiler }, {
146152
measures: [
147153
'visitors.revenue_per_id'

0 commit comments

Comments
 (0)