Skip to content

Commit 8d6ccd7

Browse files
committed
fix
1 parent 2ac830c commit 8d6ccd7

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

packages/cubejs-schema-compiler/test/integration/postgres/sql-generation.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1938,8 +1938,8 @@ SELECT 1 AS revenue, cast('2024-01-01' AS timestamp) as time UNION ALL
19381938
]
19391939

19401940
: [
1941-
{ visitors__created_at_day: '2017-01-05T00:00:00.000Z', visitors__cagr_day: '150', visitors__revenue: '300', visitors__revenue_day_ago: '200' },
1942-
{ visitors__created_at_day: '2017-01-06T00:00:00.000Z', visitors__cagr_day: '300', visitors__revenue: '900', visitors__revenue_day_ago: '300' }
1941+
{ visitors__created_at_day: '2017-01-05T00:00:00.000Z', visitors__cagr_day: '150', visitors__revenue: '300', visitors__revenue_day_ago_no_td: '200' },
1942+
{ visitors__created_at_day: '2017-01-06T00:00:00.000Z', visitors__cagr_day: '300', visitors__revenue: '900', visitors__revenue_day_ago_no_td: '300' }
19431943
]));
19441944

19451945
it('CAGR via view (td from main cube)', async () => runQueryTest({

packages/cubejs-testing-drivers/fixtures/databricks-jdbc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@
267267
"querying BigECommerce with Retail Calendar: totalCountRetailMonthAgo",
268268
"querying BigECommerce with Retail Calendar: totalCountRetailWeekAgo",
269269
"SQL API: Timeshift measure from cube",
270+
"Tesseract: SQL API: Timeshift measure from cube",
270271

271272
"---- Different results comparing to baseQuery version. Need to investigate ----",
272273
"querying ECommerce: dimensions",

packages/cubejs-testing-drivers/test/__snapshots__/athena-export-bucket-s3-full.test.ts.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3057,7 +3057,7 @@ Array [
30573057
]
30583058
`;
30593059

3060-
exports[`Queries with the @cubejs-backend/postgres-driver Tesseract: querying BigECommerce with Retail Calendar: totalCountRetailMonthAgo 1`] = `
3060+
exports[`Queries with the @cubejs-backend/athena-driver Tesseract: querying BigECommerce with Retail Calendar: totalCountRetailMonthAgo 1`] = `
30613061
Array [
30623062
Object {
30633063
"BigECommerce.count": "1",
@@ -3128,7 +3128,7 @@ Array [
31283128
]
31293129
`;
31303130

3131-
exports[`Queries with the @cubejs-backend/postgres-driver Tesseract: querying BigECommerce with Retail Calendar: totalCountRetailWeekAgo 1`] = `
3131+
exports[`Queries with the @cubejs-backend/athena-driver Tesseract: querying BigECommerce with Retail Calendar: totalCountRetailWeekAgo 1`] = `
31323132
Array [
31333133
Object {
31343134
"BigECommerce.count": "1",
@@ -3325,7 +3325,7 @@ Array [
33253325
]
33263326
`;
33273327

3328-
exports[`Queries with the @cubejs-backend/postgres-driver Tesseract: SQL API: Timeshift measure from cube 1`] = `
3328+
exports[`Queries with the @cubejs-backend/athena-driver Tesseract: SQL API: Timeshift measure from cube 1`] = `
33293329
Array [
33303330
Object {
33313331
"orderDate": 2020-01-01T00:00:00.000Z,

packages/cubejs-testing-drivers/test/__snapshots__/bigquery-export-bucket-gcs-full.test.ts.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6260,7 +6260,7 @@ Array [
62606260
]
62616261
`;
62626262

6263-
exports[`Queries with the @cubejs-backend/postgres-driver Tesseract: querying BigECommerce with Retail Calendar: totalCountRetailMonthAgo 1`] = `
6263+
exports[`Queries with the @cubejs-backend/bigquery-driver Tesseract: querying BigECommerce with Retail Calendar: totalCountRetailMonthAgo 1`] = `
62646264
Array [
62656265
Object {
62666266
"BigECommerce.count": "1",
@@ -6331,7 +6331,7 @@ Array [
63316331
]
63326332
`;
63336333

6334-
exports[`Queries with the @cubejs-backend/postgres-driver Tesseract: querying BigECommerce with Retail Calendar: totalCountRetailWeekAgo 1`] = `
6334+
exports[`Queries with the @cubejs-backend/bigquery-driver Tesseract: querying BigECommerce with Retail Calendar: totalCountRetailWeekAgo 1`] = `
63356335
Array [
63366336
Object {
63376337
"BigECommerce.count": "1",
@@ -6528,7 +6528,7 @@ Array [
65286528
]
65296529
`;
65306530

6531-
exports[`Queries with the @cubejs-backend/postgres-driver Tesseract: SQL API: Timeshift measure from cube 1`] = `
6531+
exports[`Queries with the @cubejs-backend/bigquery-driver Tesseract: SQL API: Timeshift measure from cube 1`] = `
65326532
Array [
65336533
Object {
65346534
"orderDate": 2020-01-01T00:00:00.000Z,

0 commit comments

Comments
 (0)