Skip to content

Commit afa9127

Browse files
committed
fix tests/snapshots
1 parent b43701e commit afa9127

File tree

2 files changed

+6
-66
lines changed

2 files changed

+6
-66
lines changed

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,11 @@
208208
"SQL API: Nested Rollup over asterisk",
209209
"SQL API: Extended nested Rollup over asterisk",
210210
"SQL API: Timeshift measure from cube",
211-
"SQL API: SQL push down push to cube quoted alias"
211+
"SQL API: SQL push down push to cube quoted alias",
212+
"querying BigECommerce: rolling window YTD (month + week)",
213+
"querying BigECommerce: rolling window YTD (month + week + no gran)",
214+
"querying BigECommerce: rolling window YTD without granularity",
215+
"SQL API: Rolling Window YTD (year + month + day + date_trunc equal)",
216+
"SQL API: Rolling Window YTD (year + month + day + date_trunc IN)"
212217
]
213218
}

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

Lines changed: 0 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -4419,71 +4419,6 @@ Array [
44194419
]
44204420
`;
44214421

4422-
exports[`Queries with the @cubejs-backend/athena-driver querying BigECommerce: rolling window YTD 1`] = `
4423-
Array [
4424-
Object {
4425-
"BigECommerce.orderDate": "2020-01-01T00:00:00.000",
4426-
"BigECommerce.orderDate.month": "2020-01-01T00:00:00.000",
4427-
"BigECommerce.rollingCountYTD": "2",
4428-
},
4429-
Object {
4430-
"BigECommerce.orderDate": "2020-02-01T00:00:00.000",
4431-
"BigECommerce.orderDate.month": "2020-02-01T00:00:00.000",
4432-
"BigECommerce.rollingCountYTD": "3",
4433-
},
4434-
Object {
4435-
"BigECommerce.orderDate": "2020-03-01T00:00:00.000",
4436-
"BigECommerce.orderDate.month": "2020-03-01T00:00:00.000",
4437-
"BigECommerce.rollingCountYTD": "5",
4438-
},
4439-
Object {
4440-
"BigECommerce.orderDate": "2020-04-01T00:00:00.000",
4441-
"BigECommerce.orderDate.month": "2020-04-01T00:00:00.000",
4442-
"BigECommerce.rollingCountYTD": "6",
4443-
},
4444-
Object {
4445-
"BigECommerce.orderDate": "2020-05-01T00:00:00.000",
4446-
"BigECommerce.orderDate.month": "2020-05-01T00:00:00.000",
4447-
"BigECommerce.rollingCountYTD": "11",
4448-
},
4449-
Object {
4450-
"BigECommerce.orderDate": "2020-06-01T00:00:00.000",
4451-
"BigECommerce.orderDate.month": "2020-06-01T00:00:00.000",
4452-
"BigECommerce.rollingCountYTD": "18",
4453-
},
4454-
Object {
4455-
"BigECommerce.orderDate": "2020-07-01T00:00:00.000",
4456-
"BigECommerce.orderDate.month": "2020-07-01T00:00:00.000",
4457-
"BigECommerce.rollingCountYTD": "18",
4458-
},
4459-
Object {
4460-
"BigECommerce.orderDate": "2020-08-01T00:00:00.000",
4461-
"BigECommerce.orderDate.month": "2020-08-01T00:00:00.000",
4462-
"BigECommerce.rollingCountYTD": "18",
4463-
},
4464-
Object {
4465-
"BigECommerce.orderDate": "2020-09-01T00:00:00.000",
4466-
"BigECommerce.orderDate.month": "2020-09-01T00:00:00.000",
4467-
"BigECommerce.rollingCountYTD": "24",
4468-
},
4469-
Object {
4470-
"BigECommerce.orderDate": "2020-10-01T00:00:00.000",
4471-
"BigECommerce.orderDate.month": "2020-10-01T00:00:00.000",
4472-
"BigECommerce.rollingCountYTD": "28",
4473-
},
4474-
Object {
4475-
"BigECommerce.orderDate": "2020-11-01T00:00:00.000",
4476-
"BigECommerce.orderDate.month": "2020-11-01T00:00:00.000",
4477-
"BigECommerce.rollingCountYTD": "37",
4478-
},
4479-
Object {
4480-
"BigECommerce.orderDate": "2020-12-01T00:00:00.000",
4481-
"BigECommerce.orderDate.month": "2020-12-01T00:00:00.000",
4482-
"BigECommerce.rollingCountYTD": "44",
4483-
},
4484-
]
4485-
`;
4486-
44874422
exports[`Queries with the @cubejs-backend/athena-driver querying BigECommerce: rolling window YTD without date range 1`] = `
44884423
Array [
44894424
Object {

0 commit comments

Comments
 (0)