Skip to content

Commit d9c3dcf

Browse files
committed
fix/update snapshots
1 parent 6993d5f commit d9c3dcf

19 files changed

+121
-840
lines changed

packages/cubejs-testing-drivers/fixtures/athena.json

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,6 @@
129129
"for the ECommerce.TimeAnalysisExternal",
130130
"for the ECommerce.TimeAnalysisInternal",
131131

132-
"---------------------------------------",
133-
"Full tests ",
134-
"---------------------------------------",
135-
136132
"---------------------------------------",
137133
"SKIPPED FOR ALL ",
138134
"---------------------------------------",
@@ -143,18 +139,15 @@
143139
"querying BigECommerce: partitioned pre-agg",
144140
"querying BigECommerce: null sum",
145141
"querying BigECommerce: null boolean",
146-
"--------------------",
142+
"querying BigECommerce: filtering with possible casts",
147143

148144
"---------------------------------------",
149145
"Requires Tesseract. ",
150146
"---------------------------------------",
151147
"querying BigECommerce: rolling window by 2 day without date range",
152148
"querying BigECommerce: rolling window by 2 month without date range",
153149
"querying BigECommerce: rolling window YTD without date range",
154-
155-
"--------------------",
156150
"week granularity is not supported for intervals",
157-
"--------------------",
158151
"querying BigECommerce: rolling window by 2 week",
159152

160153
"---------------------------------------",
@@ -185,8 +178,7 @@
185178
"querying BigECommerce: partitioned pre-agg",
186179
"querying BigECommerce: null sum",
187180
"querying BigECommerce: null boolean",
188-
"--------------------",
189-
181+
"querying BigECommerce: filtering with possible casts",
190182

191183
"querying BigECommerce: rolling window by 2 week",
192184
"querying custom granularities ECommerce: count by three_months_by_march + no dimension",

packages/cubejs-testing-drivers/fixtures/clickhouse.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@
179179
"querying BigECommerce: partitioned pre-agg",
180180
"querying BigECommerce: null sum",
181181
"querying BigECommerce: null boolean",
182+
"querying BigECommerce: filtering with possible casts",
182183

183184
"---------------------------------------",
184185
"Unsupported JOIN ON conditions. Unexpected 'big_e_commerce__order_date_month > subtractWeeks(date_to, 2)'",

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

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9840,18 +9840,3 @@ Array [
98409840
},
98419841
]
98429842
`;
9843-
9844-
exports[`Queries with the @cubejs-backend/athena-driver querying BigECommerce: filtering with possible casts 1`] = `
9845-
Array [
9846-
Object {
9847-
"BigECommerce.orderDate": "2020-01-01T00:00:00.000",
9848-
"BigECommerce.orderDate.month": "2020-01-01T00:00:00.000",
9849-
"BigECommerce.totalSales": 48.896,
9850-
},
9851-
Object {
9852-
"BigECommerce.orderDate": "2020-12-01T00:00:00.000",
9853-
"BigECommerce.orderDate.month": "2020-12-01T00:00:00.000",
9854-
"BigECommerce.totalSales": 232.88,
9855-
},
9856-
]
9857-
`;

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

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9209,18 +9209,3 @@ Array [
92099209
},
92109210
]
92119211
`;
9212-
9213-
exports[`Queries with the @cubejs-backend/clickhouse-driver export-bucket-s3 querying BigECommerce: filtering with possible casts 1`] = `
9214-
Array [
9215-
Object {
9216-
"BigECommerce.orderDate": "2020-01-01T00:00:00.000",
9217-
"BigECommerce.orderDate.month": "2020-01-01T00:00:00.000",
9218-
"BigECommerce.totalSales": 48.896,
9219-
},
9220-
Object {
9221-
"BigECommerce.orderDate": "2020-12-01T00:00:00.000",
9222-
"BigECommerce.orderDate.month": "2020-12-01T00:00:00.000",
9223-
"BigECommerce.totalSales": 232.88,
9224-
},
9225-
]
9226-
`;

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

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9209,18 +9209,3 @@ Array [
92099209
},
92109210
]
92119211
`;
9212-
9213-
exports[`Queries with the @cubejs-backend/clickhouse-driver export-bucket-s3-prefix querying BigECommerce: filtering with possible casts 1`] = `
9214-
Array [
9215-
Object {
9216-
"BigECommerce.orderDate": "2020-01-01T00:00:00.000",
9217-
"BigECommerce.orderDate.month": "2020-01-01T00:00:00.000",
9218-
"BigECommerce.totalSales": 48.896,
9219-
},
9220-
Object {
9221-
"BigECommerce.orderDate": "2020-12-01T00:00:00.000",
9222-
"BigECommerce.orderDate.month": "2020-12-01T00:00:00.000",
9223-
"BigECommerce.totalSales": 232.88,
9224-
},
9225-
]
9226-
`;

packages/cubejs-testing-drivers/test/__snapshots__/clickhouse-full.test.ts.snap

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9209,18 +9209,3 @@ Array [
92099209
},
92109210
]
92119211
`;
9212-
9213-
exports[`Queries with the @cubejs-backend/clickhouse-driver querying BigECommerce: filtering with possible casts 1`] = `
9214-
Array [
9215-
Object {
9216-
"BigECommerce.orderDate": "2020-01-01T00:00:00.000",
9217-
"BigECommerce.orderDate.month": "2020-01-01T00:00:00.000",
9218-
"BigECommerce.totalSales": 48.896,
9219-
},
9220-
Object {
9221-
"BigECommerce.orderDate": "2020-12-01T00:00:00.000",
9222-
"BigECommerce.orderDate.month": "2020-12-01T00:00:00.000",
9223-
"BigECommerce.totalSales": 232.88,
9224-
},
9225-
]
9226-
`;

packages/cubejs-testing-drivers/test/__snapshots__/mssql-full.test.ts.snap

Lines changed: 15 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,6 @@ Array [
4545
]
4646
`;
4747

48-
exports[`Queries with the @cubejs-backend/mssql-driver SQL API: metabase count cast to float32 from push down: metabase_count_cast_to_float32_from_push_down 1`] = `
49-
Array [
50-
Object {
51-
"a0": 41,
52-
},
53-
]
54-
`;
55-
5648
exports[`Queries with the @cubejs-backend/mssql-driver filtering Customers: contains + dimensions, first 1`] = `
5749
Array [
5850
Object {
@@ -2336,6 +2328,21 @@ Array [
23362328
]
23372329
`;
23382330

2331+
exports[`Queries with the @cubejs-backend/mssql-driver querying BigECommerce: filtering with possible casts 1`] = `
2332+
Array [
2333+
Object {
2334+
"BigECommerce.orderDate": "2020-01-01T00:00:00.000",
2335+
"BigECommerce.orderDate.month": "2020-01-01T00:00:00.000",
2336+
"BigECommerce.totalSales": "488960",
2337+
},
2338+
Object {
2339+
"BigECommerce.orderDate": "2020-12-01T00:00:00.000",
2340+
"BigECommerce.orderDate.month": "2020-12-01T00:00:00.000",
2341+
"BigECommerce.totalSales": "2328800",
2342+
},
2343+
]
2344+
`;
2345+
23392346
exports[`Queries with the @cubejs-backend/mssql-driver querying BigECommerce: partitioned pre-agg 1`] = `
23402347
Array [
23412348
Object {
@@ -7810,18 +7817,3 @@ Array [
78107817
},
78117818
]
78127819
`;
7813-
7814-
exports[`Queries with the @cubejs-backend/mssql-driver querying BigECommerce: filtering with possible casts 1`] = `
7815-
Array [
7816-
Object {
7817-
"BigECommerce.orderDate": "2020-01-01T00:00:00.000",
7818-
"BigECommerce.orderDate.month": "2020-01-01T00:00:00.000",
7819-
"BigECommerce.totalSales": 48.896,
7820-
},
7821-
Object {
7822-
"BigECommerce.orderDate": "2020-12-01T00:00:00.000",
7823-
"BigECommerce.orderDate.month": "2020-12-01T00:00:00.000",
7824-
"BigECommerce.totalSales": 232.88,
7825-
},
7826-
]
7827-
`;

0 commit comments

Comments
 (0)