Skip to content

Commit dee0e40

Browse files
committed
add snapshot: querying custom granularities ECommerce: count by two_mo_by_feb + no dimension + rollingCountByLeading without date range
1 parent 5e681d6 commit dee0e40

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

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

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16276,6 +16276,46 @@ Array [
1627616276
]
1627716277
`;
1627816278

16279+
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver querying custom granularities ECommerce: count by two_mo_by_feb + no dimension + rollingCountByLeading without date range 1`] = `
16280+
Array [
16281+
Object {
16282+
"ECommerce.customOrderDateNoPreAgg": "2019-12-01T10:00:00.000",
16283+
"ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2019-12-01T10:00:00.000",
16284+
"ECommerce.rollingCountByLeading": "8",
16285+
},
16286+
Object {
16287+
"ECommerce.customOrderDateNoPreAgg": "2020-02-01T10:00:00.000",
16288+
"ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-02-01T10:00:00.000",
16289+
"ECommerce.rollingCountByLeading": "12",
16290+
},
16291+
Object {
16292+
"ECommerce.customOrderDateNoPreAgg": "2020-04-01T10:00:00.000",
16293+
"ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-04-01T10:00:00.000",
16294+
"ECommerce.rollingCountByLeading": "6",
16295+
},
16296+
Object {
16297+
"ECommerce.customOrderDateNoPreAgg": "2020-06-01T10:00:00.000",
16298+
"ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-06-01T10:00:00.000",
16299+
"ECommerce.rollingCountByLeading": "19",
16300+
},
16301+
Object {
16302+
"ECommerce.customOrderDateNoPreAgg": "2020-08-01T10:00:00.000",
16303+
"ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-08-01T10:00:00.000",
16304+
"ECommerce.rollingCountByLeading": "16",
16305+
},
16306+
Object {
16307+
"ECommerce.customOrderDateNoPreAgg": "2020-10-01T10:00:00.000",
16308+
"ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-10-01T10:00:00.000",
16309+
"ECommerce.rollingCountByLeading": null,
16310+
},
16311+
Object {
16312+
"ECommerce.customOrderDateNoPreAgg": "2020-12-01T10:00:00.000",
16313+
"ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-12-01T10:00:00.000",
16314+
"ECommerce.rollingCountByLeading": null,
16315+
},
16316+
]
16317+
`;
16318+
1627916319
exports[`Queries with the @cubejs-backend/databricks-jdbc-driver querying custom granularities ECommerce: count by two_mo_by_feb + no dimension + rollingCountByTrailing 1`] = `
1628016320
Array [
1628116321
Object {

0 commit comments

Comments
 (0)