Skip to content

Commit 85fb61f

Browse files
committed
add more checks in tests
1 parent 2d8e76f commit 85fb61f

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.test.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2450,6 +2450,9 @@ describe('PreAggregations', () => {
24502450
const preAggregationsDescription = query.preAggregations?.preAggregationsDescription();
24512451
console.log(preAggregationsDescription);
24522452

2453+
expect(queryAndParams[0]).toContain('visitors_for_join_inc_cards');
2454+
expect(queryAndParams[0]).toContain('vc_for_join');
2455+
24532456
console.log(query.preAggregations?.rollupMatchResultDescriptions());
24542457

24552458
const queries = dbRunner.tempTablePreAggregations(preAggregationsDescription);
@@ -2494,6 +2497,9 @@ describe('PreAggregations', () => {
24942497
const preAggregationsDescription = query.preAggregations?.preAggregationsDescription();
24952498
console.log(preAggregationsDescription);
24962499

2500+
expect(queryAndParams[0]).toContain('visitors_partitioned_hourly_for_join');
2501+
expect(queryAndParams[0]).toContain('vc_for_join');
2502+
24972503
console.log(query.preAggregations?.rollupMatchResultDescriptions());
24982504

24992505
const queries = dbRunner.tempTablePreAggregations(preAggregationsDescription);

0 commit comments

Comments
 (0)