Skip to content

Commit 0caf2ce

Browse files
committed
chore(cubesql): Fix testing query and TZ value
1 parent aa622af commit 0caf2ce

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

packages/cubejs-testing/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"smoke:redshift": "jest --verbose -i dist/test/smoke-redshift.test.js",
7575
"smoke:redshift:snapshot": "jest --verbose --updateSnapshot -i dist/test/smoke-redshift.test.js",
7676
"smoke:cubesql": "TZ=UTC jest --verbose --forceExit -i dist/test/smoke-cubesql.test.js",
77-
"smoke:cubesql:snapshot": "jest --verbose --forceExit --updateSnapshot -i dist/test/smoke-cubesql.test.js",
77+
"smoke:cubesql:snapshot": "TZ=UTC jest --verbose --forceExit --updateSnapshot -i dist/test/smoke-cubesql.test.js",
7878
"smoke:prestodb": "jest --verbose -i dist/test/smoke-prestodb.test.js",
7979
"smoke:prestodb:snapshot": "jest --verbose --forceExit --updateSnapshot -i dist/test/smoke-prestodb.test.js",
8080
"smoke:trino": "jest --verbose -i dist/test/smoke-trino.test.js",

packages/cubejs-testing/test/smoke-cubesql.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,10 @@ describe('SQL API', () => {
358358
where
359359
not "_"."a0" is null or
360360
not "_"."a1" is null
361+
order by
362+
"_"."createdAt" asc,
363+
"_"."a0" asc,
364+
"_"."a1" asc
361365
limit
362366
1000001
363367
`);

0 commit comments

Comments
 (0)