Skip to content

Commit 4105a5d

Browse files
committed
some test polishment
1 parent 8911dc8 commit 4105a5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cubejs-query-orchestrator/test/unit/PreAggregations.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ const mockPreAggregation = (overrides = {}) => ({
8484
['SELECT MIN(ts)', [], {}],
8585
['SELECT MAX(ts)', [], {}]
8686
],
87-
loadSql: ['SELECT * FROM test_table WHERE ts >= ? and ts < ?', [FROM_PARTITION_RANGE, TO_PARTITION_RANGE]],
87+
loadSql: ['CREATE TABLE test_table AS SELECT * FROM source_table WHERE ts >= $1 and ts <= $2', [FROM_PARTITION_RANGE, TO_PARTITION_RANGE]],
8888
...overrides,
8989
});
9090

0 commit comments

Comments
 (0)