Skip to content

Commit ee873bd

Browse files
committed
fix tests
1 parent 4e7b58f commit ee873bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/cubejs-testing-drivers/src/tests/testQueries.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2216,7 +2216,7 @@ from
22162216
DATE_TRUNC('day', orderDate) AS "orderDateD",
22172217
MEASURE(rollingCountYTD) AS "rollingCountYTD"
22182218
FROM "BigECommerce"
2219-
WHERE DATE_TRUNC('year', orderDate) = CAST('2020-01-01' AS DATE)
2219+
WHERE DATE_TRUNC('year', orderDate) = CAST('2020-01-01' AS timestamp)
22202220
GROUP BY 1, 2, 3
22212221
ORDER BY 3 ASC NULLS FIRST;
22222222
`);
@@ -2232,7 +2232,7 @@ from
22322232
DATE_TRUNC('day', orderDate) AS "orderDateD",
22332233
MEASURE(rollingCountYTD) AS "rollingCountYTD"
22342234
FROM "BigECommerce"
2235-
WHERE DATE_TRUNC('year', orderDate) IN (CAST('2020-01-01' AS DATE))
2235+
WHERE DATE_TRUNC('year', orderDate) IN (CAST('2020-01-01' AS timestamp))
22362236
GROUP BY 1, 2, 3
22372237
ORDER BY 3 ASC NULLS FIRST;
22382238
`);

0 commit comments

Comments
 (0)