From 2125197735cb1ab36429a0bf4864276f47b209d4 Mon Sep 17 00:00:00 2001 From: Konstantin Burkalev Date: Thu, 26 Jun 2025 17:07:45 +0300 Subject: [PATCH 01/13] fix(schema-compiler): Fix BigQuery rolling window time series queries MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix for datetime ←→ timestamp comparisons --- packages/cubejs-schema-compiler/src/adapter/BaseQuery.js | 2 ++ packages/cubejs-schema-compiler/src/adapter/BigqueryQuery.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/cubejs-schema-compiler/src/adapter/BaseQuery.js b/packages/cubejs-schema-compiler/src/adapter/BaseQuery.js index dcd5978877610..03870a463f6a3 100644 --- a/packages/cubejs-schema-compiler/src/adapter/BaseQuery.js +++ b/packages/cubejs-schema-compiler/src/adapter/BaseQuery.js @@ -1963,6 +1963,8 @@ export class BaseQuery { } /** + * BigQuery has strict date type and can not automatically convert between date + * and timestamp, so we override seriesSql() in BigQuery Dialect * @param {import('./BaseTimeDimension').BaseTimeDimension} timeDimension * @return {string} */ diff --git a/packages/cubejs-schema-compiler/src/adapter/BigqueryQuery.ts b/packages/cubejs-schema-compiler/src/adapter/BigqueryQuery.ts index 041c9ccf43667..4163a03a1ba2a 100644 --- a/packages/cubejs-schema-compiler/src/adapter/BigqueryQuery.ts +++ b/packages/cubejs-schema-compiler/src/adapter/BigqueryQuery.ts @@ -146,7 +146,7 @@ export class BigqueryQuery extends BaseQuery { const values = timeDimension.timeSeries().map( ([from, to]) => `select '${from}' f, '${to}' t` ).join(' UNION ALL '); - return `SELECT ${this.dateTimeCast('dates.f')} date_from, ${this.dateTimeCast('dates.t')} date_to FROM (${values}) AS dates`; + return `SELECT ${this.timeStampCast('dates.f')} date_from, ${this.timeStampCast('dates.t')} date_to FROM (${values}) AS dates`; } public timestampFormat() { From b075ff2518c688159aa08e1178fa055a0324e8d5 Mon Sep 17 00:00:00 2001 From: Konstantin Burkalev Date: Thu, 26 Jun 2025 17:07:51 +0300 Subject: [PATCH 02/13] add tests --- .../fixtures/_schemas.json | 8 ++++++++ .../src/tests/testQueries.ts | 17 +++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/packages/cubejs-testing-drivers/fixtures/_schemas.json b/packages/cubejs-testing-drivers/fixtures/_schemas.json index 1cdc2c7e80b5c..50bd967e15b06 100644 --- a/packages/cubejs-testing-drivers/fixtures/_schemas.json +++ b/packages/cubejs-testing-drivers/fixtures/_schemas.json @@ -370,6 +370,14 @@ "sql": "profit", "type": "sum" }, + { + "name": "customersCountPrev1Month", + "type": "count", + "rolling_window": { + "trailing": "1 month", + "offset": "start" + } + }, { "name": "totalProfitYearAgo", "type": "number", diff --git a/packages/cubejs-testing-drivers/src/tests/testQueries.ts b/packages/cubejs-testing-drivers/src/tests/testQueries.ts index 5046088ff038c..09f770b98f434 100644 --- a/packages/cubejs-testing-drivers/src/tests/testQueries.ts +++ b/packages/cubejs-testing-drivers/src/tests/testQueries.ts @@ -1492,6 +1492,23 @@ export function testQueries(type: string, { includeIncrementalSchemaSuite, exten expect(response.rawData()).toMatchSnapshot(); }); + execute('querying BigECommerce: time series in rolling window', async () => { + const response = await client.load({ + measures: [ + 'BigECommerce.customersCountPrev1Month', + ], + timeDimensions: [{ + dimension: 'BigECommerce.orderDate', + granularity: 'month', + dateRange: ['2020-01-01', '2020-12-31'], + }], + order: { + 'BigECommerce.orderDate': 'asc', + } + }); + expect(response.rawData()).toMatchSnapshot(); + }); + execute('querying BigECommerce: null sum', async () => { const response = await client.load({ measures: [ From eae6420c228cfa307347b727a91cfb26bc8096a5 Mon Sep 17 00:00:00 2001 From: Konstantin Burkalev Date: Thu, 26 Jun 2025 17:08:02 +0300 Subject: [PATCH 03/13] update bq snapshot --- ...gquery-export-bucket-gcs-full.test.ts.snap | 1667 +++++++++-------- 1 file changed, 866 insertions(+), 801 deletions(-) diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/bigquery-export-bucket-gcs-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/bigquery-export-bucket-gcs-full.test.ts.snap index 6b2c20908ea2c..90151e535e98b 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/bigquery-export-bucket-gcs-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/bigquery-export-bucket-gcs-full.test.ts.snap @@ -30,1608 +30,1608 @@ Array [ ] `; -exports[`Queries with the @cubejs-backend/bigquery-driver SQL API: Nested Rollup with aliases 1`] = ` +exports[`Queries with the @cubejs-backend/bigquery-driver SQL API: Nested Rollup 1`] = ` Array [ Object { "SUM(a.cnt)": "1", - "date": 2020-01-23T00:00:00.000Z, - "order": "CA-2017-145142", - "row": 523, + "orderDate": 2020-01-23T00:00:00.000Z, + "orderId": "CA-2017-145142", + "rowId": 523, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-145142", - "row": 523, + "orderDate": null, + "orderId": "CA-2017-145142", + "rowId": 523, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 523, + "orderDate": null, + "orderId": null, + "rowId": 523, }, Object { "SUM(a.cnt)": "1", - "date": 2020-01-01T00:00:00.000Z, - "order": "CA-2017-107503", - "row": 849, + "orderDate": 2020-01-01T00:00:00.000Z, + "orderId": "CA-2017-107503", + "rowId": 849, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-107503", - "row": 849, + "orderDate": null, + "orderId": "CA-2017-107503", + "rowId": 849, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 849, + "orderDate": null, + "orderId": null, + "rowId": 849, }, Object { "SUM(a.cnt)": "1", - "date": 2020-06-17T00:00:00.000Z, - "order": "CA-2017-118437", - "row": 1013, + "orderDate": 2020-06-17T00:00:00.000Z, + "orderId": "CA-2017-118437", + "rowId": 1013, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-118437", - "row": 1013, + "orderDate": null, + "orderId": "CA-2017-118437", + "rowId": 1013, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 1013, + "orderDate": null, + "orderId": null, + "rowId": 1013, }, Object { "SUM(a.cnt)": "1", - "date": 2020-10-30T00:00:00.000Z, - "order": "CA-2017-139661", - "row": 1494, + "orderDate": 2020-10-30T00:00:00.000Z, + "orderId": "CA-2017-139661", + "rowId": 1494, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-139661", - "row": 1494, + "orderDate": null, + "orderId": "CA-2017-139661", + "rowId": 1494, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 1494, + "orderDate": null, + "orderId": null, + "rowId": 1494, }, Object { "SUM(a.cnt)": "1", - "date": 2020-06-25T00:00:00.000Z, - "order": "CA-2017-133648", - "row": 1995, + "orderDate": 2020-06-25T00:00:00.000Z, + "orderId": "CA-2017-133648", + "rowId": 1995, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-133648", - "row": 1995, + "orderDate": null, + "orderId": "CA-2017-133648", + "rowId": 1995, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 1995, + "orderDate": null, + "orderId": null, + "rowId": 1995, }, Object { "SUM(a.cnt)": "1", - "date": 2020-09-23T00:00:00.000Z, - "order": "CA-2017-138422", - "row": 2329, + "orderDate": 2020-09-23T00:00:00.000Z, + "orderId": "CA-2017-138422", + "rowId": 2329, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-138422", - "row": 2329, + "orderDate": null, + "orderId": "CA-2017-138422", + "rowId": 2329, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 2329, + "orderDate": null, + "orderId": null, + "rowId": 2329, }, Object { "SUM(a.cnt)": "1", - "date": 2020-03-17T00:00:00.000Z, - "order": "CA-2017-140949", - "row": 2455, + "orderDate": 2020-03-17T00:00:00.000Z, + "orderId": "CA-2017-140949", + "rowId": 2455, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-140949", - "row": 2455, + "orderDate": null, + "orderId": "CA-2017-140949", + "rowId": 2455, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 2455, + "orderDate": null, + "orderId": null, + "rowId": 2455, }, Object { "SUM(a.cnt)": "1", - "date": 2020-05-13T00:00:00.000Z, - "order": "CA-2017-149048", - "row": 2595, + "orderDate": 2020-05-13T00:00:00.000Z, + "orderId": "CA-2017-149048", + "rowId": 2595, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-149048", - "row": 2595, + "orderDate": null, + "orderId": "CA-2017-149048", + "rowId": 2595, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 2595, + "orderDate": null, + "orderId": null, + "rowId": 2595, }, Object { "SUM(a.cnt)": "1", - "date": 2020-09-17T00:00:00.000Z, - "order": "CA-2017-112515", - "row": 2655, + "orderDate": 2020-09-17T00:00:00.000Z, + "orderId": "CA-2017-112515", + "rowId": 2655, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-112515", - "row": 2655, + "orderDate": null, + "orderId": "CA-2017-112515", + "rowId": 2655, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 2655, + "orderDate": null, + "orderId": null, + "rowId": 2655, }, Object { "SUM(a.cnt)": "1", - "date": 2020-11-28T00:00:00.000Z, - "order": "CA-2017-123372", - "row": 2661, + "orderDate": 2020-11-28T00:00:00.000Z, + "orderId": "CA-2017-123372", + "rowId": 2661, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-123372", - "row": 2661, + "orderDate": null, + "orderId": "CA-2017-123372", + "rowId": 2661, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 2661, + "orderDate": null, + "orderId": null, + "rowId": 2661, }, Object { "SUM(a.cnt)": "1", - "date": 2020-11-12T00:00:00.000Z, - "order": "CA-2017-134915", - "row": 2952, + "orderDate": 2020-11-12T00:00:00.000Z, + "orderId": "CA-2017-134915", + "rowId": 2952, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-134915", - "row": 2952, + "orderDate": null, + "orderId": "CA-2017-134915", + "rowId": 2952, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 2952, + "orderDate": null, + "orderId": null, + "rowId": 2952, }, Object { "SUM(a.cnt)": "1", - "date": 2020-10-19T00:00:00.000Z, - "order": "CA-2017-131492", - "row": 3059, + "orderDate": 2020-10-19T00:00:00.000Z, + "orderId": "CA-2017-131492", + "rowId": 3059, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-131492", - "row": 3059, + "orderDate": null, + "orderId": "CA-2017-131492", + "rowId": 3059, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 3059, + "orderDate": null, + "orderId": null, + "rowId": 3059, }, Object { "SUM(a.cnt)": "1", - "date": 2020-10-19T00:00:00.000Z, - "order": "CA-2017-131492", - "row": 3060, + "orderDate": 2020-10-19T00:00:00.000Z, + "orderId": "CA-2017-131492", + "rowId": 3060, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-131492", - "row": 3060, + "orderDate": null, + "orderId": "CA-2017-131492", + "rowId": 3060, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 3060, + "orderDate": null, + "orderId": null, + "rowId": 3060, }, Object { "SUM(a.cnt)": "1", - "date": 2020-05-27T00:00:00.000Z, - "order": "US-2017-132297", - "row": 3083, + "orderDate": 2020-05-27T00:00:00.000Z, + "orderId": "US-2017-132297", + "rowId": 3083, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "US-2017-132297", - "row": 3083, + "orderDate": null, + "orderId": "US-2017-132297", + "rowId": 3083, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 3083, + "orderDate": null, + "orderId": null, + "rowId": 3083, }, Object { "SUM(a.cnt)": "1", - "date": 2020-06-11T00:00:00.000Z, - "order": "CA-2017-102554", - "row": 3448, + "orderDate": 2020-06-11T00:00:00.000Z, + "orderId": "CA-2017-102554", + "rowId": 3448, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-102554", - "row": 3448, + "orderDate": null, + "orderId": "CA-2017-102554", + "rowId": 3448, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 3448, + "orderDate": null, + "orderId": null, + "rowId": 3448, }, Object { "SUM(a.cnt)": "1", - "date": 2020-05-29T00:00:00.000Z, - "order": "CA-2017-144568", - "row": 3717, + "orderDate": 2020-05-29T00:00:00.000Z, + "orderId": "CA-2017-144568", + "rowId": 3717, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-144568", - "row": 3717, + "orderDate": null, + "orderId": "CA-2017-144568", + "rowId": 3717, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 3717, + "orderDate": null, + "orderId": null, + "rowId": 3717, }, Object { "SUM(a.cnt)": "1", - "date": 2020-09-02T00:00:00.000Z, - "order": "CA-2017-123001", - "row": 3934, + "orderDate": 2020-09-02T00:00:00.000Z, + "orderId": "CA-2017-123001", + "rowId": 3934, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-123001", - "row": 3934, + "orderDate": null, + "orderId": "CA-2017-123001", + "rowId": 3934, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 3934, + "orderDate": null, + "orderId": null, + "rowId": 3934, }, Object { "SUM(a.cnt)": "1", - "date": 2020-11-21T00:00:00.000Z, - "order": "CA-2017-100811", - "row": 4012, + "orderDate": 2020-11-21T00:00:00.000Z, + "orderId": "CA-2017-100811", + "rowId": 4012, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-100811", - "row": 4012, + "orderDate": null, + "orderId": "CA-2017-100811", + "rowId": 4012, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 4012, + "orderDate": null, + "orderId": null, + "rowId": 4012, }, Object { "SUM(a.cnt)": "1", - "date": 2020-12-24T00:00:00.000Z, - "order": "CA-2017-124296", - "row": 4031, + "orderDate": 2020-12-24T00:00:00.000Z, + "orderId": "CA-2017-124296", + "rowId": 4031, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-124296", - "row": 4031, + "orderDate": null, + "orderId": "CA-2017-124296", + "rowId": 4031, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 4031, + "orderDate": null, + "orderId": null, + "rowId": 4031, }, Object { "SUM(a.cnt)": "1", - "date": 2020-05-14T00:00:00.000Z, - "order": "CA-2017-115546", - "row": 4161, + "orderDate": 2020-05-14T00:00:00.000Z, + "orderId": "CA-2017-115546", + "rowId": 4161, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-115546", - "row": 4161, + "orderDate": null, + "orderId": "CA-2017-115546", + "rowId": 4161, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 4161, + "orderDate": null, + "orderId": null, + "rowId": 4161, }, Object { "SUM(a.cnt)": "1", - "date": 2020-11-11T00:00:00.000Z, - "order": "CA-2017-120327", - "row": 4227, + "orderDate": 2020-11-11T00:00:00.000Z, + "orderId": "CA-2017-120327", + "rowId": 4227, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-120327", - "row": 4227, + "orderDate": null, + "orderId": "CA-2017-120327", + "rowId": 4227, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 4227, + "orderDate": null, + "orderId": null, + "rowId": 4227, }, Object { "SUM(a.cnt)": "1", - "date": 2020-11-02T00:00:00.000Z, - "order": "CA-2017-143567", - "row": 4882, + "orderDate": 2020-11-02T00:00:00.000Z, + "orderId": "CA-2017-143567", + "rowId": 4882, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-143567", - "row": 4882, + "orderDate": null, + "orderId": "CA-2017-143567", + "rowId": 4882, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 4882, + "orderDate": null, + "orderId": null, + "rowId": 4882, }, Object { "SUM(a.cnt)": "1", - "date": 2020-09-01T00:00:00.000Z, - "order": "CA-2017-145653", - "row": 5220, + "orderDate": 2020-09-01T00:00:00.000Z, + "orderId": "CA-2017-145653", + "rowId": 5220, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-145653", - "row": 5220, + "orderDate": null, + "orderId": "CA-2017-145653", + "rowId": 5220, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 5220, + "orderDate": null, + "orderId": null, + "rowId": 5220, }, Object { "SUM(a.cnt)": "1", - "date": 2020-12-14T00:00:00.000Z, - "order": "CA-2017-147333", - "row": 5277, + "orderDate": 2020-12-14T00:00:00.000Z, + "orderId": "CA-2017-147333", + "rowId": 5277, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-147333", - "row": 5277, + "orderDate": null, + "orderId": "CA-2017-147333", + "rowId": 5277, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 5277, + "orderDate": null, + "orderId": null, + "rowId": 5277, }, Object { "SUM(a.cnt)": "1", - "date": 2020-06-03T00:00:00.000Z, - "order": "CA-2017-145772", - "row": 6125, + "orderDate": 2020-06-03T00:00:00.000Z, + "orderId": "CA-2017-145772", + "rowId": 6125, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-145772", - "row": 6125, + "orderDate": null, + "orderId": "CA-2017-145772", + "rowId": 6125, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 6125, + "orderDate": null, + "orderId": null, + "rowId": 6125, }, Object { "SUM(a.cnt)": "1", - "date": 2020-12-01T00:00:00.000Z, - "order": "CA-2017-145660", - "row": 6205, + "orderDate": 2020-12-01T00:00:00.000Z, + "orderId": "CA-2017-145660", + "rowId": 6205, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-145660", - "row": 6205, + "orderDate": null, + "orderId": "CA-2017-145660", + "rowId": 6205, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 6205, + "orderDate": null, + "orderId": null, + "rowId": 6205, }, Object { "SUM(a.cnt)": "1", - "date": 2020-12-02T00:00:00.000Z, - "order": "CA-2017-102379", - "row": 6272, + "orderDate": 2020-12-02T00:00:00.000Z, + "orderId": "CA-2017-102379", + "rowId": 6272, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-102379", - "row": 6272, + "orderDate": null, + "orderId": "CA-2017-102379", + "rowId": 6272, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 6272, + "orderDate": null, + "orderId": null, + "rowId": 6272, }, Object { "SUM(a.cnt)": "1", - "date": 2020-05-14T00:00:00.000Z, - "order": "US-2017-133361", - "row": 6459, + "orderDate": 2020-05-14T00:00:00.000Z, + "orderId": "US-2017-133361", + "rowId": 6459, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "US-2017-133361", - "row": 6459, + "orderDate": null, + "orderId": "US-2017-133361", + "rowId": 6459, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 6459, + "orderDate": null, + "orderId": null, + "rowId": 6459, }, Object { "SUM(a.cnt)": "1", - "date": 2020-09-08T00:00:00.000Z, - "order": "US-2017-124779", - "row": 6651, + "orderDate": 2020-09-08T00:00:00.000Z, + "orderId": "US-2017-124779", + "rowId": 6651, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "US-2017-124779", - "row": 6651, + "orderDate": null, + "orderId": "US-2017-124779", + "rowId": 6651, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 6651, + "orderDate": null, + "orderId": null, + "rowId": 6651, }, Object { "SUM(a.cnt)": "1", - "date": 2020-03-26T00:00:00.000Z, - "order": "US-2017-141677", - "row": 7174, + "orderDate": 2020-03-26T00:00:00.000Z, + "orderId": "US-2017-141677", + "rowId": 7174, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "US-2017-141677", - "row": 7174, + "orderDate": null, + "orderId": "US-2017-141677", + "rowId": 7174, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 7174, + "orderDate": null, + "orderId": null, + "rowId": 7174, }, Object { "SUM(a.cnt)": "1", - "date": 2020-12-04T00:00:00.000Z, - "order": "CA-2017-109183", - "row": 7293, + "orderDate": 2020-12-04T00:00:00.000Z, + "orderId": "CA-2017-109183", + "rowId": 7293, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-109183", - "row": 7293, + "orderDate": null, + "orderId": "CA-2017-109183", + "rowId": 7293, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 7293, + "orderDate": null, + "orderId": null, + "rowId": 7293, }, Object { "SUM(a.cnt)": "1", - "date": 2020-06-10T00:00:00.000Z, - "order": "CA-2017-112172", - "row": 7310, + "orderDate": 2020-06-10T00:00:00.000Z, + "orderId": "CA-2017-112172", + "rowId": 7310, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-112172", - "row": 7310, + "orderDate": null, + "orderId": "CA-2017-112172", + "rowId": 7310, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 7310, + "orderDate": null, + "orderId": null, + "rowId": 7310, }, Object { "SUM(a.cnt)": "1", - "date": 2020-04-10T00:00:00.000Z, - "order": "CA-2017-135069", - "row": 7425, + "orderDate": 2020-04-10T00:00:00.000Z, + "orderId": "CA-2017-135069", + "rowId": 7425, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-135069", - "row": 7425, + "orderDate": null, + "orderId": "CA-2017-135069", + "rowId": 7425, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 7425, + "orderDate": null, + "orderId": null, + "rowId": 7425, }, Object { "SUM(a.cnt)": "1", - "date": 2020-12-14T00:00:00.000Z, - "order": "CA-2017-151799", - "row": 7698, + "orderDate": 2020-12-14T00:00:00.000Z, + "orderId": "CA-2017-151799", + "rowId": 7698, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-151799", - "row": 7698, + "orderDate": null, + "orderId": "CA-2017-151799", + "rowId": 7698, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 7698, + "orderDate": null, + "orderId": null, + "rowId": 7698, }, Object { "SUM(a.cnt)": "1", - "date": 2020-10-12T00:00:00.000Z, - "order": "CA-2017-150091", - "row": 8425, + "orderDate": 2020-10-12T00:00:00.000Z, + "orderId": "CA-2017-150091", + "rowId": 8425, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-150091", - "row": 8425, + "orderDate": null, + "orderId": "CA-2017-150091", + "rowId": 8425, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 8425, + "orderDate": null, + "orderId": null, + "rowId": 8425, }, Object { "SUM(a.cnt)": "1", - "date": 2020-11-06T00:00:00.000Z, - "order": "US-2017-119319", - "row": 8621, + "orderDate": 2020-11-06T00:00:00.000Z, + "orderId": "US-2017-119319", + "rowId": 8621, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "US-2017-119319", - "row": 8621, + "orderDate": null, + "orderId": "US-2017-119319", + "rowId": 8621, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 8621, + "orderDate": null, + "orderId": null, + "rowId": 8621, }, Object { "SUM(a.cnt)": "1", - "date": 2020-02-16T00:00:00.000Z, - "order": "CA-2017-163265", - "row": 8673, + "orderDate": 2020-02-16T00:00:00.000Z, + "orderId": "CA-2017-163265", + "rowId": 8673, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-163265", - "row": 8673, + "orderDate": null, + "orderId": "CA-2017-163265", + "rowId": 8673, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 8673, + "orderDate": null, + "orderId": null, + "rowId": 8673, }, Object { "SUM(a.cnt)": "1", - "date": 2020-06-15T00:00:00.000Z, - "order": "CA-2017-119284", - "row": 8697, + "orderDate": 2020-06-15T00:00:00.000Z, + "orderId": "CA-2017-119284", + "rowId": 8697, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-119284", - "row": 8697, + "orderDate": null, + "orderId": "CA-2017-119284", + "rowId": 8697, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 8697, + "orderDate": null, + "orderId": null, + "rowId": 8697, }, Object { "SUM(a.cnt)": "1", - "date": 2020-09-17T00:00:00.000Z, - "order": "CA-2017-126928", - "row": 8878, + "orderDate": 2020-09-17T00:00:00.000Z, + "orderId": "CA-2017-126928", + "rowId": 8878, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-126928", - "row": 8878, + "orderDate": null, + "orderId": "CA-2017-126928", + "rowId": 8878, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 8878, + "orderDate": null, + "orderId": null, + "rowId": 8878, }, Object { "SUM(a.cnt)": "1", - "date": 2020-12-25T00:00:00.000Z, - "order": "CA-2017-105620", - "row": 8958, + "orderDate": 2020-12-25T00:00:00.000Z, + "orderId": "CA-2017-105620", + "rowId": 8958, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-105620", - "row": 8958, + "orderDate": null, + "orderId": "CA-2017-105620", + "rowId": 8958, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 8958, + "orderDate": null, + "orderId": null, + "rowId": 8958, }, Object { "SUM(a.cnt)": "1", - "date": 2020-11-05T00:00:00.000Z, - "order": "CA-2017-102925", - "row": 9473, + "orderDate": 2020-11-05T00:00:00.000Z, + "orderId": "CA-2017-102925", + "rowId": 9473, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-102925", - "row": 9473, + "orderDate": null, + "orderId": "CA-2017-102925", + "rowId": 9473, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 9473, + "orderDate": null, + "orderId": null, + "rowId": 9473, }, Object { "SUM(a.cnt)": "1", - "date": 2020-06-25T00:00:00.000Z, - "order": "CA-2017-116127", - "row": 9584, + "orderDate": 2020-06-25T00:00:00.000Z, + "orderId": "CA-2017-116127", + "rowId": 9584, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-116127", - "row": 9584, + "orderDate": null, + "orderId": "CA-2017-116127", + "rowId": 9584, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 9584, + "orderDate": null, + "orderId": null, + "rowId": 9584, }, Object { "SUM(a.cnt)": "1", - "date": 2020-11-16T00:00:00.000Z, - "order": "CA-2017-160633", - "row": 9618, + "orderDate": 2020-11-16T00:00:00.000Z, + "orderId": "CA-2017-160633", + "rowId": 9618, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-160633", - "row": 9618, + "orderDate": null, + "orderId": "CA-2017-160633", + "rowId": 9618, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 9618, + "orderDate": null, + "orderId": null, + "rowId": 9618, }, Object { "SUM(a.cnt)": "1", - "date": 2020-11-16T00:00:00.000Z, - "order": "CA-2017-160633", - "row": 9619, + "orderDate": 2020-11-16T00:00:00.000Z, + "orderId": "CA-2017-160633", + "rowId": 9619, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": "CA-2017-160633", - "row": 9619, + "orderDate": null, + "orderId": "CA-2017-160633", + "rowId": 9619, }, Object { "SUM(a.cnt)": "1", - "date": null, - "order": null, - "row": 9619, + "orderDate": null, + "orderId": null, + "rowId": 9619, }, Object { "SUM(a.cnt)": "44", - "date": null, - "order": null, - "row": null, + "orderDate": null, + "orderId": null, + "rowId": null, }, ] `; -exports[`Queries with the @cubejs-backend/bigquery-driver SQL API: Nested Rollup 1`] = ` +exports[`Queries with the @cubejs-backend/bigquery-driver SQL API: Nested Rollup with aliases 1`] = ` Array [ Object { "SUM(a.cnt)": "1", - "orderDate": 2020-01-23T00:00:00.000Z, - "orderId": "CA-2017-145142", - "rowId": 523, + "date": 2020-01-23T00:00:00.000Z, + "order": "CA-2017-145142", + "row": 523, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-145142", - "rowId": 523, + "date": null, + "order": "CA-2017-145142", + "row": 523, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 523, + "date": null, + "order": null, + "row": 523, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-01-01T00:00:00.000Z, - "orderId": "CA-2017-107503", - "rowId": 849, + "date": 2020-01-01T00:00:00.000Z, + "order": "CA-2017-107503", + "row": 849, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-107503", - "rowId": 849, + "date": null, + "order": "CA-2017-107503", + "row": 849, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 849, + "date": null, + "order": null, + "row": 849, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-06-17T00:00:00.000Z, - "orderId": "CA-2017-118437", - "rowId": 1013, + "date": 2020-06-17T00:00:00.000Z, + "order": "CA-2017-118437", + "row": 1013, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-118437", - "rowId": 1013, + "date": null, + "order": "CA-2017-118437", + "row": 1013, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 1013, + "date": null, + "order": null, + "row": 1013, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-10-30T00:00:00.000Z, - "orderId": "CA-2017-139661", - "rowId": 1494, + "date": 2020-10-30T00:00:00.000Z, + "order": "CA-2017-139661", + "row": 1494, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-139661", - "rowId": 1494, + "date": null, + "order": "CA-2017-139661", + "row": 1494, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 1494, + "date": null, + "order": null, + "row": 1494, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-06-25T00:00:00.000Z, - "orderId": "CA-2017-133648", - "rowId": 1995, + "date": 2020-06-25T00:00:00.000Z, + "order": "CA-2017-133648", + "row": 1995, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-133648", - "rowId": 1995, + "date": null, + "order": "CA-2017-133648", + "row": 1995, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 1995, + "date": null, + "order": null, + "row": 1995, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-09-23T00:00:00.000Z, - "orderId": "CA-2017-138422", - "rowId": 2329, + "date": 2020-09-23T00:00:00.000Z, + "order": "CA-2017-138422", + "row": 2329, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-138422", - "rowId": 2329, + "date": null, + "order": "CA-2017-138422", + "row": 2329, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2329, + "date": null, + "order": null, + "row": 2329, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-03-17T00:00:00.000Z, - "orderId": "CA-2017-140949", - "rowId": 2455, + "date": 2020-03-17T00:00:00.000Z, + "order": "CA-2017-140949", + "row": 2455, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-140949", - "rowId": 2455, + "date": null, + "order": "CA-2017-140949", + "row": 2455, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2455, + "date": null, + "order": null, + "row": 2455, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-05-13T00:00:00.000Z, - "orderId": "CA-2017-149048", - "rowId": 2595, + "date": 2020-05-13T00:00:00.000Z, + "order": "CA-2017-149048", + "row": 2595, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-149048", - "rowId": 2595, + "date": null, + "order": "CA-2017-149048", + "row": 2595, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2595, + "date": null, + "order": null, + "row": 2595, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-09-17T00:00:00.000Z, - "orderId": "CA-2017-112515", - "rowId": 2655, + "date": 2020-09-17T00:00:00.000Z, + "order": "CA-2017-112515", + "row": 2655, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-112515", - "rowId": 2655, + "date": null, + "order": "CA-2017-112515", + "row": 2655, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2655, + "date": null, + "order": null, + "row": 2655, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-28T00:00:00.000Z, - "orderId": "CA-2017-123372", - "rowId": 2661, + "date": 2020-11-28T00:00:00.000Z, + "order": "CA-2017-123372", + "row": 2661, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-123372", - "rowId": 2661, + "date": null, + "order": "CA-2017-123372", + "row": 2661, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2661, + "date": null, + "order": null, + "row": 2661, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-12T00:00:00.000Z, - "orderId": "CA-2017-134915", - "rowId": 2952, + "date": 2020-11-12T00:00:00.000Z, + "order": "CA-2017-134915", + "row": 2952, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-134915", - "rowId": 2952, + "date": null, + "order": "CA-2017-134915", + "row": 2952, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2952, + "date": null, + "order": null, + "row": 2952, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-10-19T00:00:00.000Z, - "orderId": "CA-2017-131492", - "rowId": 3059, + "date": 2020-10-19T00:00:00.000Z, + "order": "CA-2017-131492", + "row": 3059, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-131492", - "rowId": 3059, + "date": null, + "order": "CA-2017-131492", + "row": 3059, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3059, + "date": null, + "order": null, + "row": 3059, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-10-19T00:00:00.000Z, - "orderId": "CA-2017-131492", - "rowId": 3060, + "date": 2020-10-19T00:00:00.000Z, + "order": "CA-2017-131492", + "row": 3060, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-131492", - "rowId": 3060, + "date": null, + "order": "CA-2017-131492", + "row": 3060, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3060, + "date": null, + "order": null, + "row": 3060, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-05-27T00:00:00.000Z, - "orderId": "US-2017-132297", - "rowId": 3083, + "date": 2020-05-27T00:00:00.000Z, + "order": "US-2017-132297", + "row": 3083, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "US-2017-132297", - "rowId": 3083, + "date": null, + "order": "US-2017-132297", + "row": 3083, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3083, + "date": null, + "order": null, + "row": 3083, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-06-11T00:00:00.000Z, - "orderId": "CA-2017-102554", - "rowId": 3448, + "date": 2020-06-11T00:00:00.000Z, + "order": "CA-2017-102554", + "row": 3448, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-102554", - "rowId": 3448, + "date": null, + "order": "CA-2017-102554", + "row": 3448, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3448, + "date": null, + "order": null, + "row": 3448, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-05-29T00:00:00.000Z, - "orderId": "CA-2017-144568", - "rowId": 3717, + "date": 2020-05-29T00:00:00.000Z, + "order": "CA-2017-144568", + "row": 3717, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-144568", - "rowId": 3717, + "date": null, + "order": "CA-2017-144568", + "row": 3717, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3717, + "date": null, + "order": null, + "row": 3717, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-09-02T00:00:00.000Z, - "orderId": "CA-2017-123001", - "rowId": 3934, + "date": 2020-09-02T00:00:00.000Z, + "order": "CA-2017-123001", + "row": 3934, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-123001", - "rowId": 3934, + "date": null, + "order": "CA-2017-123001", + "row": 3934, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3934, + "date": null, + "order": null, + "row": 3934, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-21T00:00:00.000Z, - "orderId": "CA-2017-100811", - "rowId": 4012, + "date": 2020-11-21T00:00:00.000Z, + "order": "CA-2017-100811", + "row": 4012, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-100811", - "rowId": 4012, + "date": null, + "order": "CA-2017-100811", + "row": 4012, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 4012, + "date": null, + "order": null, + "row": 4012, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-12-24T00:00:00.000Z, - "orderId": "CA-2017-124296", - "rowId": 4031, + "date": 2020-12-24T00:00:00.000Z, + "order": "CA-2017-124296", + "row": 4031, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-124296", - "rowId": 4031, + "date": null, + "order": "CA-2017-124296", + "row": 4031, }, Object { - "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 4031, + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 4031, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-05-14T00:00:00.000Z, - "orderId": "CA-2017-115546", - "rowId": 4161, + "date": 2020-05-14T00:00:00.000Z, + "order": "CA-2017-115546", + "row": 4161, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-115546", - "rowId": 4161, + "date": null, + "order": "CA-2017-115546", + "row": 4161, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 4161, + "date": null, + "order": null, + "row": 4161, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-11T00:00:00.000Z, - "orderId": "CA-2017-120327", - "rowId": 4227, + "date": 2020-11-11T00:00:00.000Z, + "order": "CA-2017-120327", + "row": 4227, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-120327", - "rowId": 4227, + "date": null, + "order": "CA-2017-120327", + "row": 4227, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 4227, + "date": null, + "order": null, + "row": 4227, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-02T00:00:00.000Z, - "orderId": "CA-2017-143567", - "rowId": 4882, + "date": 2020-11-02T00:00:00.000Z, + "order": "CA-2017-143567", + "row": 4882, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-143567", - "rowId": 4882, + "date": null, + "order": "CA-2017-143567", + "row": 4882, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 4882, + "date": null, + "order": null, + "row": 4882, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-09-01T00:00:00.000Z, - "orderId": "CA-2017-145653", - "rowId": 5220, + "date": 2020-09-01T00:00:00.000Z, + "order": "CA-2017-145653", + "row": 5220, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-145653", - "rowId": 5220, + "date": null, + "order": "CA-2017-145653", + "row": 5220, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 5220, + "date": null, + "order": null, + "row": 5220, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-12-14T00:00:00.000Z, - "orderId": "CA-2017-147333", - "rowId": 5277, + "date": 2020-12-14T00:00:00.000Z, + "order": "CA-2017-147333", + "row": 5277, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-147333", - "rowId": 5277, + "date": null, + "order": "CA-2017-147333", + "row": 5277, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 5277, + "date": null, + "order": null, + "row": 5277, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-06-03T00:00:00.000Z, - "orderId": "CA-2017-145772", - "rowId": 6125, + "date": 2020-06-03T00:00:00.000Z, + "order": "CA-2017-145772", + "row": 6125, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-145772", - "rowId": 6125, + "date": null, + "order": "CA-2017-145772", + "row": 6125, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 6125, + "date": null, + "order": null, + "row": 6125, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-12-01T00:00:00.000Z, - "orderId": "CA-2017-145660", - "rowId": 6205, + "date": 2020-12-01T00:00:00.000Z, + "order": "CA-2017-145660", + "row": 6205, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-145660", - "rowId": 6205, + "date": null, + "order": "CA-2017-145660", + "row": 6205, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 6205, + "date": null, + "order": null, + "row": 6205, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-12-02T00:00:00.000Z, - "orderId": "CA-2017-102379", - "rowId": 6272, + "date": 2020-12-02T00:00:00.000Z, + "order": "CA-2017-102379", + "row": 6272, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-102379", - "rowId": 6272, + "date": null, + "order": "CA-2017-102379", + "row": 6272, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 6272, + "date": null, + "order": null, + "row": 6272, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-05-14T00:00:00.000Z, - "orderId": "US-2017-133361", - "rowId": 6459, + "date": 2020-05-14T00:00:00.000Z, + "order": "US-2017-133361", + "row": 6459, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "US-2017-133361", - "rowId": 6459, + "date": null, + "order": "US-2017-133361", + "row": 6459, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 6459, + "date": null, + "order": null, + "row": 6459, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-09-08T00:00:00.000Z, - "orderId": "US-2017-124779", - "rowId": 6651, + "date": 2020-09-08T00:00:00.000Z, + "order": "US-2017-124779", + "row": 6651, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "US-2017-124779", - "rowId": 6651, + "date": null, + "order": "US-2017-124779", + "row": 6651, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 6651, + "date": null, + "order": null, + "row": 6651, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-03-26T00:00:00.000Z, - "orderId": "US-2017-141677", - "rowId": 7174, + "date": 2020-03-26T00:00:00.000Z, + "order": "US-2017-141677", + "row": 7174, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "US-2017-141677", - "rowId": 7174, + "date": null, + "order": "US-2017-141677", + "row": 7174, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 7174, + "date": null, + "order": null, + "row": 7174, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-12-04T00:00:00.000Z, - "orderId": "CA-2017-109183", - "rowId": 7293, + "date": 2020-12-04T00:00:00.000Z, + "order": "CA-2017-109183", + "row": 7293, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-109183", - "rowId": 7293, + "date": null, + "order": "CA-2017-109183", + "row": 7293, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 7293, + "date": null, + "order": null, + "row": 7293, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-06-10T00:00:00.000Z, - "orderId": "CA-2017-112172", - "rowId": 7310, + "date": 2020-06-10T00:00:00.000Z, + "order": "CA-2017-112172", + "row": 7310, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-112172", - "rowId": 7310, + "date": null, + "order": "CA-2017-112172", + "row": 7310, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 7310, + "date": null, + "order": null, + "row": 7310, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-04-10T00:00:00.000Z, - "orderId": "CA-2017-135069", - "rowId": 7425, + "date": 2020-04-10T00:00:00.000Z, + "order": "CA-2017-135069", + "row": 7425, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-135069", - "rowId": 7425, + "date": null, + "order": "CA-2017-135069", + "row": 7425, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 7425, + "date": null, + "order": null, + "row": 7425, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-12-14T00:00:00.000Z, - "orderId": "CA-2017-151799", - "rowId": 7698, + "date": 2020-12-14T00:00:00.000Z, + "order": "CA-2017-151799", + "row": 7698, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-151799", - "rowId": 7698, + "date": null, + "order": "CA-2017-151799", + "row": 7698, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 7698, + "date": null, + "order": null, + "row": 7698, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-10-12T00:00:00.000Z, - "orderId": "CA-2017-150091", - "rowId": 8425, + "date": 2020-10-12T00:00:00.000Z, + "order": "CA-2017-150091", + "row": 8425, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-150091", - "rowId": 8425, + "date": null, + "order": "CA-2017-150091", + "row": 8425, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8425, + "date": null, + "order": null, + "row": 8425, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-06T00:00:00.000Z, - "orderId": "US-2017-119319", - "rowId": 8621, + "date": 2020-11-06T00:00:00.000Z, + "order": "US-2017-119319", + "row": 8621, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "US-2017-119319", - "rowId": 8621, + "date": null, + "order": "US-2017-119319", + "row": 8621, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8621, + "date": null, + "order": null, + "row": 8621, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-02-16T00:00:00.000Z, - "orderId": "CA-2017-163265", - "rowId": 8673, + "date": 2020-02-16T00:00:00.000Z, + "order": "CA-2017-163265", + "row": 8673, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-163265", - "rowId": 8673, + "date": null, + "order": "CA-2017-163265", + "row": 8673, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8673, + "date": null, + "order": null, + "row": 8673, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-06-15T00:00:00.000Z, - "orderId": "CA-2017-119284", - "rowId": 8697, + "date": 2020-06-15T00:00:00.000Z, + "order": "CA-2017-119284", + "row": 8697, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-119284", - "rowId": 8697, + "date": null, + "order": "CA-2017-119284", + "row": 8697, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8697, + "date": null, + "order": null, + "row": 8697, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-09-17T00:00:00.000Z, - "orderId": "CA-2017-126928", - "rowId": 8878, + "date": 2020-09-17T00:00:00.000Z, + "order": "CA-2017-126928", + "row": 8878, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-126928", - "rowId": 8878, + "date": null, + "order": "CA-2017-126928", + "row": 8878, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8878, + "date": null, + "order": null, + "row": 8878, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-12-25T00:00:00.000Z, - "orderId": "CA-2017-105620", - "rowId": 8958, + "date": 2020-12-25T00:00:00.000Z, + "order": "CA-2017-105620", + "row": 8958, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-105620", - "rowId": 8958, + "date": null, + "order": "CA-2017-105620", + "row": 8958, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8958, + "date": null, + "order": null, + "row": 8958, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-05T00:00:00.000Z, - "orderId": "CA-2017-102925", - "rowId": 9473, + "date": 2020-11-05T00:00:00.000Z, + "order": "CA-2017-102925", + "row": 9473, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-102925", - "rowId": 9473, + "date": null, + "order": "CA-2017-102925", + "row": 9473, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 9473, + "date": null, + "order": null, + "row": 9473, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-06-25T00:00:00.000Z, - "orderId": "CA-2017-116127", - "rowId": 9584, + "date": 2020-06-25T00:00:00.000Z, + "order": "CA-2017-116127", + "row": 9584, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-116127", - "rowId": 9584, + "date": null, + "order": "CA-2017-116127", + "row": 9584, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 9584, + "date": null, + "order": null, + "row": 9584, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-16T00:00:00.000Z, - "orderId": "CA-2017-160633", - "rowId": 9618, + "date": 2020-11-16T00:00:00.000Z, + "order": "CA-2017-160633", + "row": 9618, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-160633", - "rowId": 9618, + "date": null, + "order": "CA-2017-160633", + "row": 9618, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 9618, + "date": null, + "order": null, + "row": 9618, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-16T00:00:00.000Z, - "orderId": "CA-2017-160633", - "rowId": 9619, + "date": 2020-11-16T00:00:00.000Z, + "order": "CA-2017-160633", + "row": 9619, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-160633", - "rowId": 9619, + "date": null, + "order": "CA-2017-160633", + "row": 9619, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 9619, + "date": null, + "order": null, + "row": 9619, }, Object { "SUM(a.cnt)": "44", - "orderDate": null, - "orderId": null, - "rowId": null, + "date": null, + "order": null, + "row": null, }, ] `; @@ -8464,6 +8464,71 @@ Array [ ] `; +exports[`Queries with the @cubejs-backend/bigquery-driver querying BigECommerce: time series in rolling window 1`] = ` +Array [ + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": 2, + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": 1, + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": 2, + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": 1, + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": 5, + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": 7, + "BigECommerce.orderDate": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": 6, + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": 4, + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": 9, + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + }, +] +`; + exports[`Queries with the @cubejs-backend/bigquery-driver querying BigECommerce: totalProfitYearAgo 1`] = `Array []`; exports[`Queries with the @cubejs-backend/bigquery-driver querying Customers: dimensions + limit 1`] = ` From 4f9feb9a8df6b336ef7434128a5e54fba67bca84 Mon Sep 17 00:00:00 2001 From: Konstantin Burkalev Date: Thu, 26 Jun 2025 17:21:18 +0300 Subject: [PATCH 04/13] update athena snapshot --- .../athena-export-bucket-s3-full.test.ts.snap | 81 +++++++++++++++++-- 1 file changed, 73 insertions(+), 8 deletions(-) diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/athena-export-bucket-s3-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/athena-export-bucket-s3-full.test.ts.snap index add5823b7fab6..e476188d809e5 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/athena-export-bucket-s3-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/athena-export-bucket-s3-full.test.ts.snap @@ -4411,14 +4411,6 @@ Array [ ] `; -exports[`Queries with the @cubejs-backend/athena-driver querying BigECommerce: rolling window YTD without granularity 1`] = ` -Array [ - Object { - "BigECommerce.rollingCountYTD": "44", - }, -] -`; - exports[`Queries with the @cubejs-backend/athena-driver querying BigECommerce: rolling window YTD without date range 1`] = ` Array [ Object { @@ -4484,6 +4476,14 @@ Array [ ] `; +exports[`Queries with the @cubejs-backend/athena-driver querying BigECommerce: rolling window YTD without granularity 1`] = ` +Array [ + Object { + "BigECommerce.rollingCountYTD": "44", + }, +] +`; + exports[`Queries with the @cubejs-backend/athena-driver querying BigECommerce: rolling window by 2 day 1`] = ` Array [ Object { @@ -4744,6 +4744,71 @@ Array [ ] `; +exports[`Queries with the @cubejs-backend/athena-driver querying BigECommerce: time series in rolling window 1`] = ` +Array [ + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "5", + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "7", + "BigECommerce.orderDate": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "6", + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "4", + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "9", + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + }, +] +`; + exports[`Queries with the @cubejs-backend/athena-driver querying BigECommerce: totalProfitYearAgo 1`] = `Array []`; exports[`Queries with the @cubejs-backend/athena-driver querying Customers: dimensions + limit 1`] = ` From 26154a75148f8f23c6afc80ae300cb15c057eb5b Mon Sep 17 00:00:00 2001 From: Konstantin Burkalev Date: Thu, 26 Jun 2025 17:48:18 +0300 Subject: [PATCH 05/13] update databricks snapshots --- ...jdbc-export-bucket-azure-full.test.ts.snap | 65 +++++++++++++++++++ ...port-bucket-azure-prefix-full.test.ts.snap | 65 +++++++++++++++++++ ...s-jdbc-export-bucket-gcs-full.test.ts.snap | 65 +++++++++++++++++++ ...export-bucket-gcs-prefix-full.test.ts.snap | 65 +++++++++++++++++++ ...ks-jdbc-export-bucket-s3-full.test.ts.snap | 65 +++++++++++++++++++ ...-export-bucket-s3-prefix-full.test.ts.snap | 65 +++++++++++++++++++ .../databricks-jdbc-full.test.ts.snap | 65 +++++++++++++++++++ 7 files changed, 455 insertions(+) diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-azure-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-azure-full.test.ts.snap index 31ec854e95cee..73343010b278c 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-azure-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-azure-full.test.ts.snap @@ -11085,6 +11085,71 @@ Array [ ] `; +exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-azure querying BigECommerce: time series in rolling window 1`] = ` +Array [ + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "5", + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "7", + "BigECommerce.orderDate": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "6", + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "4", + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "9", + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + }, +] +`; + exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-azure querying BigECommerce: totalProfitYearAgo 1`] = `Array []`; exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-azure querying Customers: dimensions + limit 1`] = ` diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-azure-prefix-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-azure-prefix-full.test.ts.snap index 769463746d492..b78b3a22a5838 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-azure-prefix-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-azure-prefix-full.test.ts.snap @@ -10890,6 +10890,71 @@ Array [ ] `; +exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-azure-prefix querying BigECommerce: time series in rolling window 1`] = ` +Array [ + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "5", + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "7", + "BigECommerce.orderDate": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "6", + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "4", + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "9", + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + }, +] +`; + exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-azure-prefix querying BigECommerce: totalProfitYearAgo 1`] = `Array []`; exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-azure-prefix querying Customers: dimensions + limit 1`] = ` diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-gcs-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-gcs-full.test.ts.snap index dacb0f635f1a5..345ab312d86ca 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-gcs-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-gcs-full.test.ts.snap @@ -11085,6 +11085,71 @@ Array [ ] `; +exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-gcs querying BigECommerce: time series in rolling window 1`] = ` +Array [ + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "5", + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "7", + "BigECommerce.orderDate": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "6", + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "4", + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "9", + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + }, +] +`; + exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-gcs querying BigECommerce: totalProfitYearAgo 1`] = `Array []`; exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-gcs querying Customers: dimensions + limit 1`] = ` diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-gcs-prefix-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-gcs-prefix-full.test.ts.snap index cea2a2bb20bcb..0d277c1506bc4 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-gcs-prefix-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-gcs-prefix-full.test.ts.snap @@ -10890,6 +10890,71 @@ Array [ ] `; +exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-gcs-prefix querying BigECommerce: time series in rolling window 1`] = ` +Array [ + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "5", + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "7", + "BigECommerce.orderDate": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "6", + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "4", + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "9", + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + }, +] +`; + exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-gcs-prefix querying BigECommerce: totalProfitYearAgo 1`] = `Array []`; exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-gcs-prefix querying Customers: dimensions + limit 1`] = ` diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-s3-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-s3-full.test.ts.snap index 1b20fce64530f..e0dab0cbeb9e1 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-s3-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-s3-full.test.ts.snap @@ -11085,6 +11085,71 @@ Array [ ] `; +exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-s3 querying BigECommerce: time series in rolling window 1`] = ` +Array [ + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "5", + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "7", + "BigECommerce.orderDate": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "6", + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "4", + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "9", + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + }, +] +`; + exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-s3 querying BigECommerce: totalProfitYearAgo 1`] = `Array []`; exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-s3 querying Customers: dimensions + limit 1`] = ` diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-s3-prefix-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-s3-prefix-full.test.ts.snap index 0021bc026fa96..96004fe15b108 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-s3-prefix-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-s3-prefix-full.test.ts.snap @@ -10890,6 +10890,71 @@ Array [ ] `; +exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-s3-prefix querying BigECommerce: time series in rolling window 1`] = ` +Array [ + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "5", + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "7", + "BigECommerce.orderDate": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "6", + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "4", + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "9", + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + }, +] +`; + exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-s3-prefix querying BigECommerce: totalProfitYearAgo 1`] = `Array []`; exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-s3-prefix querying Customers: dimensions + limit 1`] = ` diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-full.test.ts.snap index c6fc983123589..2ac5a7d128594 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-full.test.ts.snap @@ -11085,6 +11085,71 @@ Array [ ] `; +exports[`Queries with the @cubejs-backend/databricks-jdbc-driver querying BigECommerce: time series in rolling window 1`] = ` +Array [ + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "5", + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "7", + "BigECommerce.orderDate": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "6", + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "4", + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "9", + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + }, +] +`; + exports[`Queries with the @cubejs-backend/databricks-jdbc-driver querying BigECommerce: totalProfitYearAgo 1`] = `Array []`; exports[`Queries with the @cubejs-backend/databricks-jdbc-driver querying Customers: dimensions + limit 1`] = ` From 731dfb6d0f861e70f5cca1dde4032c32443a3b06 Mon Sep 17 00:00:00 2001 From: Konstantin Burkalev Date: Thu, 26 Jun 2025 17:48:32 +0300 Subject: [PATCH 06/13] update mssql snapshots --- .../__snapshots__/mssql-full.test.ts.snap | 65 +++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/mssql-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/mssql-full.test.ts.snap index 81aaf2d7de0c2..73c87aee63f3a 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/mssql-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/mssql-full.test.ts.snap @@ -4150,6 +4150,71 @@ Array [ ] `; +exports[`Queries with the @cubejs-backend/mssql-driver querying BigECommerce: time series in rolling window 1`] = ` +Array [ + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "20000", + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "10000", + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "20000", + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "10000", + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "50000", + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "70000", + "BigECommerce.orderDate": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "60000", + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "40000", + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "90000", + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + }, +] +`; + exports[`Queries with the @cubejs-backend/mssql-driver querying BigECommerce: totalProfitYearAgo 1`] = `Array []`; exports[`Queries with the @cubejs-backend/mssql-driver querying Customers: dimensions + limit 1`] = ` From a8853edc208f0f7f30997801a8d3a550069d0a59 Mon Sep 17 00:00:00 2001 From: Konstantin Burkalev Date: Thu, 26 Jun 2025 17:49:53 +0300 Subject: [PATCH 07/13] update mysql snapshots --- .../__snapshots__/mysql-full.test.ts.snap | 65 +++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/mysql-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/mysql-full.test.ts.snap index 35d8370860cbb..d0f021c802fc3 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/mysql-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/mysql-full.test.ts.snap @@ -4123,6 +4123,71 @@ Array [ ] `; +exports[`Queries with the @cubejs-backend/mysql-driver querying BigECommerce: time series in rolling window 1`] = ` +Array [ + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": 2, + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": 1, + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": 2, + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": 1, + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": 5, + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": 7, + "BigECommerce.orderDate": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": 6, + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": 4, + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": 9, + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + }, +] +`; + exports[`Queries with the @cubejs-backend/mysql-driver querying BigECommerce: totalProfitYearAgo 1`] = `Array []`; exports[`Queries with the @cubejs-backend/mysql-driver querying Customers: dimensions + limit 1`] = ` From 40fb18a66eabc68bd79510cc68d62257685e11f5 Mon Sep 17 00:00:00 2001 From: Konstantin Burkalev Date: Thu, 26 Jun 2025 17:50:44 +0300 Subject: [PATCH 08/13] update postgres snapshots --- .../__snapshots__/postgres-full.test.ts.snap | 2205 +++++++++-------- 1 file changed, 1135 insertions(+), 1070 deletions(-) diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/postgres-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/postgres-full.test.ts.snap index 6bb8587ffce6f..dc0e040f349e2 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/postgres-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/postgres-full.test.ts.snap @@ -2277,1605 +2277,1605 @@ Array [ ] `; -exports[`Queries with the @cubejs-backend/postgres-driver SQL API: Nested Rollup over asterisk 1`] = ` +exports[`Queries with the @cubejs-backend/postgres-driver SQL API: Nested Rollup 1`] = ` Array [ Object { - "SUM(a.count)": "1", - "date": 2020-01-23T00:00:00.000Z, - "order": "CA-2017-145142", - "row": 523, - }, - Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-145142", - "row": 523, + "SUM(a.cnt)": "1", + "orderDate": 2020-01-23T00:00:00.000Z, + "orderId": "CA-2017-145142", + "rowId": 523, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 523, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-145142", + "rowId": 523, }, Object { - "SUM(a.count)": "1", - "date": 2020-01-01T00:00:00.000Z, - "order": "CA-2017-107503", - "row": 849, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 523, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-107503", - "row": 849, + "SUM(a.cnt)": "1", + "orderDate": 2020-01-01T00:00:00.000Z, + "orderId": "CA-2017-107503", + "rowId": 849, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 849, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-107503", + "rowId": 849, }, Object { - "SUM(a.count)": "1", - "date": 2020-06-17T00:00:00.000Z, - "order": "CA-2017-118437", - "row": 1013, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 849, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-118437", - "row": 1013, + "SUM(a.cnt)": "1", + "orderDate": 2020-06-17T00:00:00.000Z, + "orderId": "CA-2017-118437", + "rowId": 1013, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 1013, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-118437", + "rowId": 1013, }, Object { - "SUM(a.count)": "1", - "date": 2020-10-30T00:00:00.000Z, - "order": "CA-2017-139661", - "row": 1494, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 1013, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-139661", - "row": 1494, + "SUM(a.cnt)": "1", + "orderDate": 2020-10-30T00:00:00.000Z, + "orderId": "CA-2017-139661", + "rowId": 1494, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 1494, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-139661", + "rowId": 1494, }, Object { - "SUM(a.count)": "1", - "date": 2020-06-25T00:00:00.000Z, - "order": "CA-2017-133648", - "row": 1995, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 1494, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-133648", - "row": 1995, + "SUM(a.cnt)": "1", + "orderDate": 2020-06-25T00:00:00.000Z, + "orderId": "CA-2017-133648", + "rowId": 1995, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 1995, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-133648", + "rowId": 1995, }, Object { - "SUM(a.count)": "1", - "date": 2020-09-23T00:00:00.000Z, - "order": "CA-2017-138422", - "row": 2329, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 1995, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-138422", - "row": 2329, + "SUM(a.cnt)": "1", + "orderDate": 2020-09-23T00:00:00.000Z, + "orderId": "CA-2017-138422", + "rowId": 2329, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 2329, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-138422", + "rowId": 2329, }, Object { - "SUM(a.count)": "1", - "date": 2020-03-17T00:00:00.000Z, - "order": "CA-2017-140949", - "row": 2455, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2329, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-140949", - "row": 2455, + "SUM(a.cnt)": "1", + "orderDate": 2020-03-17T00:00:00.000Z, + "orderId": "CA-2017-140949", + "rowId": 2455, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 2455, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-140949", + "rowId": 2455, }, Object { - "SUM(a.count)": "1", - "date": 2020-05-13T00:00:00.000Z, - "order": "CA-2017-149048", - "row": 2595, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2455, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-149048", - "row": 2595, + "SUM(a.cnt)": "1", + "orderDate": 2020-05-13T00:00:00.000Z, + "orderId": "CA-2017-149048", + "rowId": 2595, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 2595, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-149048", + "rowId": 2595, }, Object { - "SUM(a.count)": "1", - "date": 2020-09-17T00:00:00.000Z, - "order": "CA-2017-112515", - "row": 2655, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2595, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-112515", - "row": 2655, + "SUM(a.cnt)": "1", + "orderDate": 2020-09-17T00:00:00.000Z, + "orderId": "CA-2017-112515", + "rowId": 2655, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 2655, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-112515", + "rowId": 2655, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-28T00:00:00.000Z, - "order": "CA-2017-123372", - "row": 2661, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2655, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-123372", - "row": 2661, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-28T00:00:00.000Z, + "orderId": "CA-2017-123372", + "rowId": 2661, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 2661, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-123372", + "rowId": 2661, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-12T00:00:00.000Z, - "order": "CA-2017-134915", - "row": 2952, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2661, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-134915", - "row": 2952, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-12T00:00:00.000Z, + "orderId": "CA-2017-134915", + "rowId": 2952, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 2952, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-134915", + "rowId": 2952, }, Object { - "SUM(a.count)": "1", - "date": 2020-10-19T00:00:00.000Z, - "order": "CA-2017-131492", - "row": 3059, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2952, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-131492", - "row": 3059, + "SUM(a.cnt)": "1", + "orderDate": 2020-10-19T00:00:00.000Z, + "orderId": "CA-2017-131492", + "rowId": 3059, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 3059, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-131492", + "rowId": 3059, }, Object { - "SUM(a.count)": "1", - "date": 2020-10-19T00:00:00.000Z, - "order": "CA-2017-131492", - "row": 3060, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3059, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-131492", - "row": 3060, + "SUM(a.cnt)": "1", + "orderDate": 2020-10-19T00:00:00.000Z, + "orderId": "CA-2017-131492", + "rowId": 3060, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 3060, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-131492", + "rowId": 3060, }, Object { - "SUM(a.count)": "1", - "date": 2020-05-27T00:00:00.000Z, - "order": "US-2017-132297", - "row": 3083, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3060, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "US-2017-132297", - "row": 3083, + "SUM(a.cnt)": "1", + "orderDate": 2020-05-27T00:00:00.000Z, + "orderId": "US-2017-132297", + "rowId": 3083, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 3083, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "US-2017-132297", + "rowId": 3083, }, Object { - "SUM(a.count)": "1", - "date": 2020-06-11T00:00:00.000Z, - "order": "CA-2017-102554", - "row": 3448, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3083, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-102554", - "row": 3448, + "SUM(a.cnt)": "1", + "orderDate": 2020-06-11T00:00:00.000Z, + "orderId": "CA-2017-102554", + "rowId": 3448, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 3448, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-102554", + "rowId": 3448, }, Object { - "SUM(a.count)": "1", - "date": 2020-05-29T00:00:00.000Z, - "order": "CA-2017-144568", - "row": 3717, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3448, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-144568", - "row": 3717, + "SUM(a.cnt)": "1", + "orderDate": 2020-05-29T00:00:00.000Z, + "orderId": "CA-2017-144568", + "rowId": 3717, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 3717, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-144568", + "rowId": 3717, }, Object { - "SUM(a.count)": "1", - "date": 2020-09-02T00:00:00.000Z, - "order": "CA-2017-123001", - "row": 3934, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3717, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-123001", - "row": 3934, + "SUM(a.cnt)": "1", + "orderDate": 2020-09-02T00:00:00.000Z, + "orderId": "CA-2017-123001", + "rowId": 3934, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 3934, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-123001", + "rowId": 3934, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-21T00:00:00.000Z, - "order": "CA-2017-100811", - "row": 4012, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3934, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-100811", - "row": 4012, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-21T00:00:00.000Z, + "orderId": "CA-2017-100811", + "rowId": 4012, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 4012, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-100811", + "rowId": 4012, }, Object { - "SUM(a.count)": "1", - "date": 2020-12-24T00:00:00.000Z, - "order": "CA-2017-124296", - "row": 4031, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 4012, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-124296", - "row": 4031, + "SUM(a.cnt)": "1", + "orderDate": 2020-12-24T00:00:00.000Z, + "orderId": "CA-2017-124296", + "rowId": 4031, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 4031, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-124296", + "rowId": 4031, }, Object { - "SUM(a.count)": "1", - "date": 2020-05-14T00:00:00.000Z, - "order": "CA-2017-115546", - "row": 4161, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 4031, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-115546", - "row": 4161, + "SUM(a.cnt)": "1", + "orderDate": 2020-05-14T00:00:00.000Z, + "orderId": "CA-2017-115546", + "rowId": 4161, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 4161, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-115546", + "rowId": 4161, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-11T00:00:00.000Z, - "order": "CA-2017-120327", - "row": 4227, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 4161, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-120327", - "row": 4227, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-11T00:00:00.000Z, + "orderId": "CA-2017-120327", + "rowId": 4227, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 4227, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-120327", + "rowId": 4227, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-02T00:00:00.000Z, - "order": "CA-2017-143567", - "row": 4882, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 4227, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-143567", - "row": 4882, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-02T00:00:00.000Z, + "orderId": "CA-2017-143567", + "rowId": 4882, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 4882, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-143567", + "rowId": 4882, }, Object { - "SUM(a.count)": "1", - "date": 2020-09-01T00:00:00.000Z, - "order": "CA-2017-145653", - "row": 5220, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 4882, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-145653", - "row": 5220, + "SUM(a.cnt)": "1", + "orderDate": 2020-09-01T00:00:00.000Z, + "orderId": "CA-2017-145653", + "rowId": 5220, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 5220, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-145653", + "rowId": 5220, }, Object { - "SUM(a.count)": "1", - "date": 2020-12-14T00:00:00.000Z, - "order": "CA-2017-147333", - "row": 5277, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 5220, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-147333", - "row": 5277, + "SUM(a.cnt)": "1", + "orderDate": 2020-12-14T00:00:00.000Z, + "orderId": "CA-2017-147333", + "rowId": 5277, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 5277, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-147333", + "rowId": 5277, }, Object { - "SUM(a.count)": "1", - "date": 2020-06-03T00:00:00.000Z, - "order": "CA-2017-145772", - "row": 6125, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 5277, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-145772", - "row": 6125, + "SUM(a.cnt)": "1", + "orderDate": 2020-06-03T00:00:00.000Z, + "orderId": "CA-2017-145772", + "rowId": 6125, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 6125, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-145772", + "rowId": 6125, }, Object { - "SUM(a.count)": "1", - "date": 2020-12-01T00:00:00.000Z, - "order": "CA-2017-145660", - "row": 6205, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 6125, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-145660", - "row": 6205, + "SUM(a.cnt)": "1", + "orderDate": 2020-12-01T00:00:00.000Z, + "orderId": "CA-2017-145660", + "rowId": 6205, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 6205, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-145660", + "rowId": 6205, }, Object { - "SUM(a.count)": "1", - "date": 2020-12-02T00:00:00.000Z, - "order": "CA-2017-102379", - "row": 6272, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 6205, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-102379", - "row": 6272, + "SUM(a.cnt)": "1", + "orderDate": 2020-12-02T00:00:00.000Z, + "orderId": "CA-2017-102379", + "rowId": 6272, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 6272, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-102379", + "rowId": 6272, }, Object { - "SUM(a.count)": "1", - "date": 2020-05-14T00:00:00.000Z, - "order": "US-2017-133361", - "row": 6459, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 6272, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "US-2017-133361", - "row": 6459, + "SUM(a.cnt)": "1", + "orderDate": 2020-05-14T00:00:00.000Z, + "orderId": "US-2017-133361", + "rowId": 6459, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 6459, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "US-2017-133361", + "rowId": 6459, }, Object { - "SUM(a.count)": "1", - "date": 2020-09-08T00:00:00.000Z, - "order": "US-2017-124779", - "row": 6651, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 6459, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "US-2017-124779", - "row": 6651, + "SUM(a.cnt)": "1", + "orderDate": 2020-09-08T00:00:00.000Z, + "orderId": "US-2017-124779", + "rowId": 6651, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 6651, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "US-2017-124779", + "rowId": 6651, }, Object { - "SUM(a.count)": "1", - "date": 2020-03-26T00:00:00.000Z, - "order": "US-2017-141677", - "row": 7174, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 6651, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "US-2017-141677", - "row": 7174, + "SUM(a.cnt)": "1", + "orderDate": 2020-03-26T00:00:00.000Z, + "orderId": "US-2017-141677", + "rowId": 7174, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 7174, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "US-2017-141677", + "rowId": 7174, }, Object { - "SUM(a.count)": "1", - "date": 2020-12-04T00:00:00.000Z, - "order": "CA-2017-109183", - "row": 7293, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 7174, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-109183", - "row": 7293, + "SUM(a.cnt)": "1", + "orderDate": 2020-12-04T00:00:00.000Z, + "orderId": "CA-2017-109183", + "rowId": 7293, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 7293, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-109183", + "rowId": 7293, }, Object { - "SUM(a.count)": "1", - "date": 2020-06-10T00:00:00.000Z, - "order": "CA-2017-112172", - "row": 7310, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 7293, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-112172", - "row": 7310, + "SUM(a.cnt)": "1", + "orderDate": 2020-06-10T00:00:00.000Z, + "orderId": "CA-2017-112172", + "rowId": 7310, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 7310, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-112172", + "rowId": 7310, }, Object { - "SUM(a.count)": "1", - "date": 2020-04-10T00:00:00.000Z, - "order": "CA-2017-135069", - "row": 7425, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 7310, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-135069", - "row": 7425, + "SUM(a.cnt)": "1", + "orderDate": 2020-04-10T00:00:00.000Z, + "orderId": "CA-2017-135069", + "rowId": 7425, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 7425, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-135069", + "rowId": 7425, }, Object { - "SUM(a.count)": "1", - "date": 2020-12-14T00:00:00.000Z, - "order": "CA-2017-151799", - "row": 7698, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 7425, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-151799", - "row": 7698, + "SUM(a.cnt)": "1", + "orderDate": 2020-12-14T00:00:00.000Z, + "orderId": "CA-2017-151799", + "rowId": 7698, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 7698, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-151799", + "rowId": 7698, }, Object { - "SUM(a.count)": "1", - "date": 2020-10-12T00:00:00.000Z, - "order": "CA-2017-150091", - "row": 8425, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 7698, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-150091", - "row": 8425, + "SUM(a.cnt)": "1", + "orderDate": 2020-10-12T00:00:00.000Z, + "orderId": "CA-2017-150091", + "rowId": 8425, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 8425, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-150091", + "rowId": 8425, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-06T00:00:00.000Z, - "order": "US-2017-119319", - "row": 8621, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8425, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "US-2017-119319", - "row": 8621, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-06T00:00:00.000Z, + "orderId": "US-2017-119319", + "rowId": 8621, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 8621, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "US-2017-119319", + "rowId": 8621, }, Object { - "SUM(a.count)": "1", - "date": 2020-02-16T00:00:00.000Z, - "order": "CA-2017-163265", - "row": 8673, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8621, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-163265", - "row": 8673, + "SUM(a.cnt)": "1", + "orderDate": 2020-02-16T00:00:00.000Z, + "orderId": "CA-2017-163265", + "rowId": 8673, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 8673, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-163265", + "rowId": 8673, }, Object { - "SUM(a.count)": "1", - "date": 2020-06-15T00:00:00.000Z, - "order": "CA-2017-119284", - "row": 8697, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8673, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-119284", - "row": 8697, + "SUM(a.cnt)": "1", + "orderDate": 2020-06-15T00:00:00.000Z, + "orderId": "CA-2017-119284", + "rowId": 8697, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 8697, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-119284", + "rowId": 8697, }, Object { - "SUM(a.count)": "1", - "date": 2020-09-17T00:00:00.000Z, - "order": "CA-2017-126928", - "row": 8878, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8697, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-126928", - "row": 8878, + "SUM(a.cnt)": "1", + "orderDate": 2020-09-17T00:00:00.000Z, + "orderId": "CA-2017-126928", + "rowId": 8878, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 8878, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-126928", + "rowId": 8878, }, Object { - "SUM(a.count)": "1", - "date": 2020-12-25T00:00:00.000Z, - "order": "CA-2017-105620", - "row": 8958, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8878, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-105620", - "row": 8958, + "SUM(a.cnt)": "1", + "orderDate": 2020-12-25T00:00:00.000Z, + "orderId": "CA-2017-105620", + "rowId": 8958, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 8958, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-105620", + "rowId": 8958, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-05T00:00:00.000Z, - "order": "CA-2017-102925", - "row": 9473, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8958, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-102925", - "row": 9473, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-05T00:00:00.000Z, + "orderId": "CA-2017-102925", + "rowId": 9473, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 9473, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-102925", + "rowId": 9473, }, Object { - "SUM(a.count)": "1", - "date": 2020-06-25T00:00:00.000Z, - "order": "CA-2017-116127", - "row": 9584, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 9473, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-116127", - "row": 9584, + "SUM(a.cnt)": "1", + "orderDate": 2020-06-25T00:00:00.000Z, + "orderId": "CA-2017-116127", + "rowId": 9584, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 9584, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-116127", + "rowId": 9584, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-16T00:00:00.000Z, - "order": "CA-2017-160633", - "row": 9618, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 9584, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-160633", - "row": 9618, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-16T00:00:00.000Z, + "orderId": "CA-2017-160633", + "rowId": 9618, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 9618, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-160633", + "rowId": 9618, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-16T00:00:00.000Z, - "order": "CA-2017-160633", - "row": 9619, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 9618, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-160633", - "row": 9619, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-16T00:00:00.000Z, + "orderId": "CA-2017-160633", + "rowId": 9619, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 9619, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-160633", + "rowId": 9619, }, Object { - "SUM(a.count)": "44", - "date": null, - "order": null, - "row": null, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 9619, + }, + Object { + "SUM(a.cnt)": "44", + "orderDate": null, + "orderId": null, + "rowId": null, }, ] `; -exports[`Queries with the @cubejs-backend/postgres-driver SQL API: Nested Rollup with aliases 1`] = ` +exports[`Queries with the @cubejs-backend/postgres-driver SQL API: Nested Rollup over asterisk 1`] = ` Array [ Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-01-23T00:00:00.000Z, "order": "CA-2017-145142", "row": 523, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-145142", "row": 523, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 523, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-01-01T00:00:00.000Z, "order": "CA-2017-107503", "row": 849, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-107503", "row": 849, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 849, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-06-17T00:00:00.000Z, "order": "CA-2017-118437", "row": 1013, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-118437", "row": 1013, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 1013, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-10-30T00:00:00.000Z, "order": "CA-2017-139661", "row": 1494, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-139661", "row": 1494, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 1494, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-06-25T00:00:00.000Z, "order": "CA-2017-133648", "row": 1995, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-133648", "row": 1995, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 1995, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-09-23T00:00:00.000Z, "order": "CA-2017-138422", "row": 2329, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-138422", "row": 2329, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 2329, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-03-17T00:00:00.000Z, "order": "CA-2017-140949", "row": 2455, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-140949", "row": 2455, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 2455, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-05-13T00:00:00.000Z, "order": "CA-2017-149048", "row": 2595, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-149048", "row": 2595, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 2595, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-09-17T00:00:00.000Z, "order": "CA-2017-112515", "row": 2655, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-112515", "row": 2655, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 2655, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-28T00:00:00.000Z, "order": "CA-2017-123372", "row": 2661, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-123372", "row": 2661, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 2661, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-12T00:00:00.000Z, "order": "CA-2017-134915", "row": 2952, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-134915", "row": 2952, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 2952, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-10-19T00:00:00.000Z, "order": "CA-2017-131492", "row": 3059, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-131492", "row": 3059, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 3059, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-10-19T00:00:00.000Z, "order": "CA-2017-131492", "row": 3060, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-131492", "row": 3060, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 3060, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-05-27T00:00:00.000Z, "order": "US-2017-132297", "row": 3083, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "US-2017-132297", "row": 3083, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 3083, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-06-11T00:00:00.000Z, "order": "CA-2017-102554", "row": 3448, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-102554", "row": 3448, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 3448, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-05-29T00:00:00.000Z, "order": "CA-2017-144568", "row": 3717, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-144568", "row": 3717, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 3717, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-09-02T00:00:00.000Z, "order": "CA-2017-123001", "row": 3934, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-123001", "row": 3934, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 3934, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-21T00:00:00.000Z, "order": "CA-2017-100811", "row": 4012, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-100811", "row": 4012, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 4012, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-12-24T00:00:00.000Z, "order": "CA-2017-124296", "row": 4031, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-124296", "row": 4031, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 4031, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-05-14T00:00:00.000Z, "order": "CA-2017-115546", "row": 4161, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-115546", "row": 4161, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 4161, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-11T00:00:00.000Z, "order": "CA-2017-120327", "row": 4227, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-120327", "row": 4227, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 4227, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-02T00:00:00.000Z, "order": "CA-2017-143567", "row": 4882, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-143567", "row": 4882, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 4882, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-09-01T00:00:00.000Z, "order": "CA-2017-145653", "row": 5220, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-145653", "row": 5220, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 5220, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-12-14T00:00:00.000Z, "order": "CA-2017-147333", "row": 5277, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-147333", "row": 5277, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 5277, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-06-03T00:00:00.000Z, "order": "CA-2017-145772", "row": 6125, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-145772", "row": 6125, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 6125, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-12-01T00:00:00.000Z, "order": "CA-2017-145660", "row": 6205, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-145660", "row": 6205, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 6205, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-12-02T00:00:00.000Z, "order": "CA-2017-102379", "row": 6272, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-102379", "row": 6272, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 6272, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-05-14T00:00:00.000Z, "order": "US-2017-133361", "row": 6459, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "US-2017-133361", "row": 6459, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 6459, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-09-08T00:00:00.000Z, "order": "US-2017-124779", "row": 6651, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "US-2017-124779", "row": 6651, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 6651, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-03-26T00:00:00.000Z, "order": "US-2017-141677", "row": 7174, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "US-2017-141677", "row": 7174, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 7174, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-12-04T00:00:00.000Z, "order": "CA-2017-109183", "row": 7293, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-109183", "row": 7293, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 7293, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-06-10T00:00:00.000Z, "order": "CA-2017-112172", "row": 7310, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-112172", "row": 7310, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 7310, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-04-10T00:00:00.000Z, "order": "CA-2017-135069", "row": 7425, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-135069", "row": 7425, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 7425, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-12-14T00:00:00.000Z, "order": "CA-2017-151799", "row": 7698, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-151799", "row": 7698, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 7698, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-10-12T00:00:00.000Z, "order": "CA-2017-150091", "row": 8425, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-150091", "row": 8425, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 8425, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-06T00:00:00.000Z, "order": "US-2017-119319", "row": 8621, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "US-2017-119319", "row": 8621, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 8621, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-02-16T00:00:00.000Z, "order": "CA-2017-163265", "row": 8673, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-163265", "row": 8673, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 8673, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-06-15T00:00:00.000Z, "order": "CA-2017-119284", "row": 8697, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-119284", "row": 8697, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 8697, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-09-17T00:00:00.000Z, "order": "CA-2017-126928", "row": 8878, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-126928", "row": 8878, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 8878, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-12-25T00:00:00.000Z, "order": "CA-2017-105620", "row": 8958, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-105620", "row": 8958, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 8958, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-05T00:00:00.000Z, "order": "CA-2017-102925", "row": 9473, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-102925", "row": 9473, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 9473, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-06-25T00:00:00.000Z, "order": "CA-2017-116127", "row": 9584, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-116127", "row": 9584, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 9584, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-16T00:00:00.000Z, "order": "CA-2017-160633", "row": 9618, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-160633", "row": 9618, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 9618, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-16T00:00:00.000Z, "order": "CA-2017-160633", "row": 9619, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-160633", "row": 9619, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 9619, }, Object { - "SUM(a.cnt)": "44", + "SUM(a.count)": "44", "date": null, "order": null, "row": null, @@ -3883,805 +3883,805 @@ Array [ ] `; -exports[`Queries with the @cubejs-backend/postgres-driver SQL API: Nested Rollup 1`] = ` +exports[`Queries with the @cubejs-backend/postgres-driver SQL API: Nested Rollup with aliases 1`] = ` Array [ Object { "SUM(a.cnt)": "1", - "orderDate": 2020-01-23T00:00:00.000Z, - "orderId": "CA-2017-145142", - "rowId": 523, + "date": 2020-01-23T00:00:00.000Z, + "order": "CA-2017-145142", + "row": 523, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-145142", - "rowId": 523, + "date": null, + "order": "CA-2017-145142", + "row": 523, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 523, + "date": null, + "order": null, + "row": 523, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-01-01T00:00:00.000Z, - "orderId": "CA-2017-107503", - "rowId": 849, + "date": 2020-01-01T00:00:00.000Z, + "order": "CA-2017-107503", + "row": 849, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-107503", - "rowId": 849, + "date": null, + "order": "CA-2017-107503", + "row": 849, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 849, + "date": null, + "order": null, + "row": 849, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-06-17T00:00:00.000Z, - "orderId": "CA-2017-118437", - "rowId": 1013, + "date": 2020-06-17T00:00:00.000Z, + "order": "CA-2017-118437", + "row": 1013, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-118437", - "rowId": 1013, + "date": null, + "order": "CA-2017-118437", + "row": 1013, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 1013, + "date": null, + "order": null, + "row": 1013, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-10-30T00:00:00.000Z, - "orderId": "CA-2017-139661", - "rowId": 1494, + "date": 2020-10-30T00:00:00.000Z, + "order": "CA-2017-139661", + "row": 1494, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-139661", - "rowId": 1494, + "date": null, + "order": "CA-2017-139661", + "row": 1494, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 1494, + "date": null, + "order": null, + "row": 1494, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-06-25T00:00:00.000Z, - "orderId": "CA-2017-133648", - "rowId": 1995, + "date": 2020-06-25T00:00:00.000Z, + "order": "CA-2017-133648", + "row": 1995, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-133648", - "rowId": 1995, + "date": null, + "order": "CA-2017-133648", + "row": 1995, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 1995, + "date": null, + "order": null, + "row": 1995, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-09-23T00:00:00.000Z, - "orderId": "CA-2017-138422", - "rowId": 2329, + "date": 2020-09-23T00:00:00.000Z, + "order": "CA-2017-138422", + "row": 2329, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-138422", - "rowId": 2329, + "date": null, + "order": "CA-2017-138422", + "row": 2329, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2329, + "date": null, + "order": null, + "row": 2329, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-03-17T00:00:00.000Z, - "orderId": "CA-2017-140949", - "rowId": 2455, + "date": 2020-03-17T00:00:00.000Z, + "order": "CA-2017-140949", + "row": 2455, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-140949", - "rowId": 2455, + "date": null, + "order": "CA-2017-140949", + "row": 2455, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2455, + "date": null, + "order": null, + "row": 2455, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-05-13T00:00:00.000Z, - "orderId": "CA-2017-149048", - "rowId": 2595, + "date": 2020-05-13T00:00:00.000Z, + "order": "CA-2017-149048", + "row": 2595, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-149048", - "rowId": 2595, + "date": null, + "order": "CA-2017-149048", + "row": 2595, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2595, + "date": null, + "order": null, + "row": 2595, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-09-17T00:00:00.000Z, - "orderId": "CA-2017-112515", - "rowId": 2655, + "date": 2020-09-17T00:00:00.000Z, + "order": "CA-2017-112515", + "row": 2655, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-112515", - "rowId": 2655, + "date": null, + "order": "CA-2017-112515", + "row": 2655, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2655, + "date": null, + "order": null, + "row": 2655, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-28T00:00:00.000Z, - "orderId": "CA-2017-123372", - "rowId": 2661, + "date": 2020-11-28T00:00:00.000Z, + "order": "CA-2017-123372", + "row": 2661, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-123372", - "rowId": 2661, + "date": null, + "order": "CA-2017-123372", + "row": 2661, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2661, + "date": null, + "order": null, + "row": 2661, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-12T00:00:00.000Z, - "orderId": "CA-2017-134915", - "rowId": 2952, + "date": 2020-11-12T00:00:00.000Z, + "order": "CA-2017-134915", + "row": 2952, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-134915", - "rowId": 2952, + "date": null, + "order": "CA-2017-134915", + "row": 2952, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2952, + "date": null, + "order": null, + "row": 2952, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-10-19T00:00:00.000Z, - "orderId": "CA-2017-131492", - "rowId": 3059, + "date": 2020-10-19T00:00:00.000Z, + "order": "CA-2017-131492", + "row": 3059, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-131492", - "rowId": 3059, + "date": null, + "order": "CA-2017-131492", + "row": 3059, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3059, + "date": null, + "order": null, + "row": 3059, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-10-19T00:00:00.000Z, - "orderId": "CA-2017-131492", - "rowId": 3060, + "date": 2020-10-19T00:00:00.000Z, + "order": "CA-2017-131492", + "row": 3060, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-131492", - "rowId": 3060, + "date": null, + "order": "CA-2017-131492", + "row": 3060, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3060, + "date": null, + "order": null, + "row": 3060, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-05-27T00:00:00.000Z, - "orderId": "US-2017-132297", - "rowId": 3083, + "date": 2020-05-27T00:00:00.000Z, + "order": "US-2017-132297", + "row": 3083, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "US-2017-132297", - "rowId": 3083, + "date": null, + "order": "US-2017-132297", + "row": 3083, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3083, + "date": null, + "order": null, + "row": 3083, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-06-11T00:00:00.000Z, - "orderId": "CA-2017-102554", - "rowId": 3448, + "date": 2020-06-11T00:00:00.000Z, + "order": "CA-2017-102554", + "row": 3448, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-102554", - "rowId": 3448, + "date": null, + "order": "CA-2017-102554", + "row": 3448, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3448, + "date": null, + "order": null, + "row": 3448, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-05-29T00:00:00.000Z, - "orderId": "CA-2017-144568", - "rowId": 3717, + "date": 2020-05-29T00:00:00.000Z, + "order": "CA-2017-144568", + "row": 3717, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-144568", - "rowId": 3717, + "date": null, + "order": "CA-2017-144568", + "row": 3717, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3717, + "date": null, + "order": null, + "row": 3717, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-09-02T00:00:00.000Z, - "orderId": "CA-2017-123001", - "rowId": 3934, + "date": 2020-09-02T00:00:00.000Z, + "order": "CA-2017-123001", + "row": 3934, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-123001", - "rowId": 3934, + "date": null, + "order": "CA-2017-123001", + "row": 3934, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3934, + "date": null, + "order": null, + "row": 3934, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-21T00:00:00.000Z, - "orderId": "CA-2017-100811", - "rowId": 4012, + "date": 2020-11-21T00:00:00.000Z, + "order": "CA-2017-100811", + "row": 4012, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-100811", - "rowId": 4012, + "date": null, + "order": "CA-2017-100811", + "row": 4012, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 4012, + "date": null, + "order": null, + "row": 4012, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-12-24T00:00:00.000Z, - "orderId": "CA-2017-124296", - "rowId": 4031, + "date": 2020-12-24T00:00:00.000Z, + "order": "CA-2017-124296", + "row": 4031, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-124296", - "rowId": 4031, + "date": null, + "order": "CA-2017-124296", + "row": 4031, }, Object { - "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 4031, + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 4031, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-05-14T00:00:00.000Z, - "orderId": "CA-2017-115546", - "rowId": 4161, + "date": 2020-05-14T00:00:00.000Z, + "order": "CA-2017-115546", + "row": 4161, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-115546", - "rowId": 4161, + "date": null, + "order": "CA-2017-115546", + "row": 4161, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 4161, + "date": null, + "order": null, + "row": 4161, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-11T00:00:00.000Z, - "orderId": "CA-2017-120327", - "rowId": 4227, + "date": 2020-11-11T00:00:00.000Z, + "order": "CA-2017-120327", + "row": 4227, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-120327", - "rowId": 4227, + "date": null, + "order": "CA-2017-120327", + "row": 4227, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 4227, + "date": null, + "order": null, + "row": 4227, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-02T00:00:00.000Z, - "orderId": "CA-2017-143567", - "rowId": 4882, + "date": 2020-11-02T00:00:00.000Z, + "order": "CA-2017-143567", + "row": 4882, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-143567", - "rowId": 4882, + "date": null, + "order": "CA-2017-143567", + "row": 4882, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 4882, + "date": null, + "order": null, + "row": 4882, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-09-01T00:00:00.000Z, - "orderId": "CA-2017-145653", - "rowId": 5220, + "date": 2020-09-01T00:00:00.000Z, + "order": "CA-2017-145653", + "row": 5220, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-145653", - "rowId": 5220, + "date": null, + "order": "CA-2017-145653", + "row": 5220, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 5220, + "date": null, + "order": null, + "row": 5220, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-12-14T00:00:00.000Z, - "orderId": "CA-2017-147333", - "rowId": 5277, + "date": 2020-12-14T00:00:00.000Z, + "order": "CA-2017-147333", + "row": 5277, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-147333", - "rowId": 5277, + "date": null, + "order": "CA-2017-147333", + "row": 5277, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 5277, + "date": null, + "order": null, + "row": 5277, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-06-03T00:00:00.000Z, - "orderId": "CA-2017-145772", - "rowId": 6125, + "date": 2020-06-03T00:00:00.000Z, + "order": "CA-2017-145772", + "row": 6125, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-145772", - "rowId": 6125, + "date": null, + "order": "CA-2017-145772", + "row": 6125, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 6125, + "date": null, + "order": null, + "row": 6125, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-12-01T00:00:00.000Z, - "orderId": "CA-2017-145660", - "rowId": 6205, + "date": 2020-12-01T00:00:00.000Z, + "order": "CA-2017-145660", + "row": 6205, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-145660", - "rowId": 6205, + "date": null, + "order": "CA-2017-145660", + "row": 6205, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 6205, + "date": null, + "order": null, + "row": 6205, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-12-02T00:00:00.000Z, - "orderId": "CA-2017-102379", - "rowId": 6272, + "date": 2020-12-02T00:00:00.000Z, + "order": "CA-2017-102379", + "row": 6272, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-102379", - "rowId": 6272, + "date": null, + "order": "CA-2017-102379", + "row": 6272, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 6272, + "date": null, + "order": null, + "row": 6272, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-05-14T00:00:00.000Z, - "orderId": "US-2017-133361", - "rowId": 6459, + "date": 2020-05-14T00:00:00.000Z, + "order": "US-2017-133361", + "row": 6459, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "US-2017-133361", - "rowId": 6459, + "date": null, + "order": "US-2017-133361", + "row": 6459, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 6459, + "date": null, + "order": null, + "row": 6459, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-09-08T00:00:00.000Z, - "orderId": "US-2017-124779", - "rowId": 6651, + "date": 2020-09-08T00:00:00.000Z, + "order": "US-2017-124779", + "row": 6651, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "US-2017-124779", - "rowId": 6651, + "date": null, + "order": "US-2017-124779", + "row": 6651, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 6651, + "date": null, + "order": null, + "row": 6651, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-03-26T00:00:00.000Z, - "orderId": "US-2017-141677", - "rowId": 7174, + "date": 2020-03-26T00:00:00.000Z, + "order": "US-2017-141677", + "row": 7174, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "US-2017-141677", - "rowId": 7174, + "date": null, + "order": "US-2017-141677", + "row": 7174, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 7174, + "date": null, + "order": null, + "row": 7174, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-12-04T00:00:00.000Z, - "orderId": "CA-2017-109183", - "rowId": 7293, + "date": 2020-12-04T00:00:00.000Z, + "order": "CA-2017-109183", + "row": 7293, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-109183", - "rowId": 7293, + "date": null, + "order": "CA-2017-109183", + "row": 7293, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 7293, + "date": null, + "order": null, + "row": 7293, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-06-10T00:00:00.000Z, - "orderId": "CA-2017-112172", - "rowId": 7310, + "date": 2020-06-10T00:00:00.000Z, + "order": "CA-2017-112172", + "row": 7310, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-112172", - "rowId": 7310, + "date": null, + "order": "CA-2017-112172", + "row": 7310, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 7310, + "date": null, + "order": null, + "row": 7310, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-04-10T00:00:00.000Z, - "orderId": "CA-2017-135069", - "rowId": 7425, + "date": 2020-04-10T00:00:00.000Z, + "order": "CA-2017-135069", + "row": 7425, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-135069", - "rowId": 7425, + "date": null, + "order": "CA-2017-135069", + "row": 7425, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 7425, + "date": null, + "order": null, + "row": 7425, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-12-14T00:00:00.000Z, - "orderId": "CA-2017-151799", - "rowId": 7698, + "date": 2020-12-14T00:00:00.000Z, + "order": "CA-2017-151799", + "row": 7698, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-151799", - "rowId": 7698, + "date": null, + "order": "CA-2017-151799", + "row": 7698, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 7698, + "date": null, + "order": null, + "row": 7698, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-10-12T00:00:00.000Z, - "orderId": "CA-2017-150091", - "rowId": 8425, + "date": 2020-10-12T00:00:00.000Z, + "order": "CA-2017-150091", + "row": 8425, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-150091", - "rowId": 8425, + "date": null, + "order": "CA-2017-150091", + "row": 8425, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8425, + "date": null, + "order": null, + "row": 8425, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-06T00:00:00.000Z, - "orderId": "US-2017-119319", - "rowId": 8621, + "date": 2020-11-06T00:00:00.000Z, + "order": "US-2017-119319", + "row": 8621, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "US-2017-119319", - "rowId": 8621, + "date": null, + "order": "US-2017-119319", + "row": 8621, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8621, + "date": null, + "order": null, + "row": 8621, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-02-16T00:00:00.000Z, - "orderId": "CA-2017-163265", - "rowId": 8673, + "date": 2020-02-16T00:00:00.000Z, + "order": "CA-2017-163265", + "row": 8673, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-163265", - "rowId": 8673, + "date": null, + "order": "CA-2017-163265", + "row": 8673, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8673, + "date": null, + "order": null, + "row": 8673, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-06-15T00:00:00.000Z, - "orderId": "CA-2017-119284", - "rowId": 8697, + "date": 2020-06-15T00:00:00.000Z, + "order": "CA-2017-119284", + "row": 8697, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-119284", - "rowId": 8697, + "date": null, + "order": "CA-2017-119284", + "row": 8697, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8697, + "date": null, + "order": null, + "row": 8697, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-09-17T00:00:00.000Z, - "orderId": "CA-2017-126928", - "rowId": 8878, + "date": 2020-09-17T00:00:00.000Z, + "order": "CA-2017-126928", + "row": 8878, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-126928", - "rowId": 8878, + "date": null, + "order": "CA-2017-126928", + "row": 8878, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8878, + "date": null, + "order": null, + "row": 8878, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-12-25T00:00:00.000Z, - "orderId": "CA-2017-105620", - "rowId": 8958, + "date": 2020-12-25T00:00:00.000Z, + "order": "CA-2017-105620", + "row": 8958, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-105620", - "rowId": 8958, + "date": null, + "order": "CA-2017-105620", + "row": 8958, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8958, + "date": null, + "order": null, + "row": 8958, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-05T00:00:00.000Z, - "orderId": "CA-2017-102925", - "rowId": 9473, + "date": 2020-11-05T00:00:00.000Z, + "order": "CA-2017-102925", + "row": 9473, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-102925", - "rowId": 9473, + "date": null, + "order": "CA-2017-102925", + "row": 9473, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 9473, + "date": null, + "order": null, + "row": 9473, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-06-25T00:00:00.000Z, - "orderId": "CA-2017-116127", - "rowId": 9584, + "date": 2020-06-25T00:00:00.000Z, + "order": "CA-2017-116127", + "row": 9584, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-116127", - "rowId": 9584, + "date": null, + "order": "CA-2017-116127", + "row": 9584, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 9584, + "date": null, + "order": null, + "row": 9584, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-16T00:00:00.000Z, - "orderId": "CA-2017-160633", - "rowId": 9618, + "date": 2020-11-16T00:00:00.000Z, + "order": "CA-2017-160633", + "row": 9618, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-160633", - "rowId": 9618, + "date": null, + "order": "CA-2017-160633", + "row": 9618, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 9618, + "date": null, + "order": null, + "row": 9618, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-16T00:00:00.000Z, - "orderId": "CA-2017-160633", - "rowId": 9619, + "date": 2020-11-16T00:00:00.000Z, + "order": "CA-2017-160633", + "row": 9619, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-160633", - "rowId": 9619, + "date": null, + "order": "CA-2017-160633", + "row": 9619, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 9619, + "date": null, + "order": null, + "row": 9619, }, Object { "SUM(a.cnt)": "44", - "orderDate": null, - "orderId": null, - "rowId": null, + "date": null, + "order": null, + "row": null, }, ] `; @@ -13336,6 +13336,71 @@ Array [ ] `; +exports[`Queries with the @cubejs-backend/postgres-driver querying BigECommerce: time series in rolling window 1`] = ` +Array [ + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "5", + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "7", + "BigECommerce.orderDate": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "6", + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "4", + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "9", + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + }, +] +`; + exports[`Queries with the @cubejs-backend/postgres-driver querying BigECommerce: totalProfitYearAgo 1`] = `Array []`; exports[`Queries with the @cubejs-backend/postgres-driver querying Customers: dimensions + limit 1`] = ` From c1b215652f1e444b9cea15752b2a546e8fe55a14 Mon Sep 17 00:00:00 2001 From: Konstantin Burkalev Date: Thu, 26 Jun 2025 18:55:13 +0300 Subject: [PATCH 09/13] fix snapshots --- ...ks-jdbc-export-bucket-azure-full.test.ts.snap | 16 ---------------- ...-export-bucket-azure-prefix-full.test.ts.snap | 16 ---------------- ...icks-jdbc-export-bucket-gcs-full.test.ts.snap | 16 ---------------- ...bc-export-bucket-gcs-prefix-full.test.ts.snap | 16 ---------------- ...ricks-jdbc-export-bucket-s3-full.test.ts.snap | 16 ---------------- ...dbc-export-bucket-s3-prefix-full.test.ts.snap | 16 ---------------- .../databricks-jdbc-full.test.ts.snap | 16 ---------------- .../test/__snapshots__/mysql-full.test.ts.snap | 8 -------- 8 files changed, 120 deletions(-) diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-azure-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-azure-full.test.ts.snap index 73343010b278c..93f0b8947bd6e 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-azure-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-azure-full.test.ts.snap @@ -15980,19 +15980,3 @@ Array [ }, ] `; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-azure SQL API: Date/time comparison with SQL push down 1`] = ` -Array [ - Object { - "measure(BigECommerce.rollingCountBy2Day)": "12", - }, -] -`; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-azure SQL API: Date/time comparison with date_trunc with SQL push down 1`] = ` -Array [ - Object { - "measure(BigECommerce.rollingCountBy2Week)": "12", - }, -] -`; diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-azure-prefix-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-azure-prefix-full.test.ts.snap index b78b3a22a5838..9404cc99a659d 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-azure-prefix-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-azure-prefix-full.test.ts.snap @@ -15785,19 +15785,3 @@ Array [ }, ] `; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-azure-prefix SQL API: Date/time comparison with SQL push down 1`] = ` -Array [ - Object { - "measure(BigECommerce.rollingCountBy2Day)": "12", - }, -] -`; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-azure-prefix SQL API: Date/time comparison with date_trunc with SQL push down 1`] = ` -Array [ - Object { - "measure(BigECommerce.rollingCountBy2Week)": "12", - }, -] -`; diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-gcs-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-gcs-full.test.ts.snap index 345ab312d86ca..30cd7abf839d3 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-gcs-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-gcs-full.test.ts.snap @@ -15980,19 +15980,3 @@ Array [ }, ] `; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-gcs SQL API: Date/time comparison with SQL push down 1`] = ` -Array [ - Object { - "measure(BigECommerce.rollingCountBy2Day)": "12", - }, -] -`; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-gcs SQL API: Date/time comparison with date_trunc with SQL push down 1`] = ` -Array [ - Object { - "measure(BigECommerce.rollingCountBy2Week)": "12", - }, -] -`; diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-gcs-prefix-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-gcs-prefix-full.test.ts.snap index 0d277c1506bc4..3cdb9d1d6d7b2 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-gcs-prefix-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-gcs-prefix-full.test.ts.snap @@ -15785,19 +15785,3 @@ Array [ }, ] `; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-gcs-prefix SQL API: Date/time comparison with SQL push down 1`] = ` -Array [ - Object { - "measure(BigECommerce.rollingCountBy2Day)": "12", - }, -] -`; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-gcs-prefix SQL API: Date/time comparison with date_trunc with SQL push down 1`] = ` -Array [ - Object { - "measure(BigECommerce.rollingCountBy2Week)": "12", - }, -] -`; diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-s3-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-s3-full.test.ts.snap index e0dab0cbeb9e1..fd79d3fdb390a 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-s3-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-s3-full.test.ts.snap @@ -15980,19 +15980,3 @@ Array [ }, ] `; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-s3 SQL API: Date/time comparison with SQL push down 1`] = ` -Array [ - Object { - "measure(BigECommerce.rollingCountBy2Day)": "12", - }, -] -`; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-s3 SQL API: Date/time comparison with date_trunc with SQL push down 1`] = ` -Array [ - Object { - "measure(BigECommerce.rollingCountBy2Week)": "12", - }, -] -`; diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-s3-prefix-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-s3-prefix-full.test.ts.snap index 96004fe15b108..cdee6574e540b 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-s3-prefix-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-export-bucket-s3-prefix-full.test.ts.snap @@ -15785,19 +15785,3 @@ Array [ }, ] `; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-s3-prefix SQL API: Date/time comparison with SQL push down 1`] = ` -Array [ - Object { - "measure(BigECommerce.rollingCountBy2Day)": "12", - }, -] -`; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver export-bucket-s3-prefix SQL API: Date/time comparison with date_trunc with SQL push down 1`] = ` -Array [ - Object { - "measure(BigECommerce.rollingCountBy2Week)": "12", - }, -] -`; diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-full.test.ts.snap index 2ac5a7d128594..db831a5e961c3 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-full.test.ts.snap @@ -15980,19 +15980,3 @@ Array [ }, ] `; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver SQL API: Date/time comparison with SQL push down 1`] = ` -Array [ - Object { - "measure(BigECommerce.rollingCountBy2Day)": "12", - }, -] -`; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver SQL API: Date/time comparison with date_trunc with SQL push down 1`] = ` -Array [ - Object { - "measure(BigECommerce.rollingCountBy2Week)": "12", - }, -] -`; diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/mysql-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/mysql-full.test.ts.snap index d0f021c802fc3..6d72f205bbadd 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/mysql-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/mysql-full.test.ts.snap @@ -8559,11 +8559,3 @@ Array [ }, ] `; - -exports[`Queries with the @cubejs-backend/mysql-driver SQL API: Date/time comparison with SQL push down 1`] = ` -Array [ - Object { - "measure(BigECommerce.rollingCountBy2Day)": "12", - }, -] -`; From 1d705ccab50cee5d585140df38d91925b96eda46 Mon Sep 17 00:00:00 2001 From: Konstantin Burkalev Date: Thu, 26 Jun 2025 18:56:01 +0300 Subject: [PATCH 10/13] upd redshift snapshots --- ...edshift-export-bucket-s3-full.test.ts.snap | 2221 +++++++++-------- .../__snapshots__/redshift-full.test.ts.snap | 2221 +++++++++-------- 2 files changed, 2270 insertions(+), 2172 deletions(-) diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/redshift-export-bucket-s3-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/redshift-export-bucket-s3-full.test.ts.snap index f35e41c98223b..939defa12fadb 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/redshift-export-bucket-s3-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/redshift-export-bucket-s3-full.test.ts.snap @@ -2277,1605 +2277,1605 @@ Array [ ] `; -exports[`Queries with the @cubejs-backend/redshift-driver export-bucket-s3 SQL API: Nested Rollup over asterisk 1`] = ` +exports[`Queries with the @cubejs-backend/redshift-driver export-bucket-s3 SQL API: Nested Rollup 1`] = ` Array [ Object { - "SUM(a.count)": "1", - "date": 2020-01-23T00:00:00.000Z, - "order": "CA-2017-145142", - "row": 523, - }, - Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-145142", - "row": 523, + "SUM(a.cnt)": "1", + "orderDate": 2020-01-23T00:00:00.000Z, + "orderId": "CA-2017-145142", + "rowId": 523, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 523, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-145142", + "rowId": 523, }, Object { - "SUM(a.count)": "1", - "date": 2020-01-01T00:00:00.000Z, - "order": "CA-2017-107503", - "row": 849, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 523, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-107503", - "row": 849, + "SUM(a.cnt)": "1", + "orderDate": 2020-01-01T00:00:00.000Z, + "orderId": "CA-2017-107503", + "rowId": 849, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 849, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-107503", + "rowId": 849, }, Object { - "SUM(a.count)": "1", - "date": 2020-06-17T00:00:00.000Z, - "order": "CA-2017-118437", - "row": 1013, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 849, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-118437", - "row": 1013, + "SUM(a.cnt)": "1", + "orderDate": 2020-06-17T00:00:00.000Z, + "orderId": "CA-2017-118437", + "rowId": 1013, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 1013, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-118437", + "rowId": 1013, }, Object { - "SUM(a.count)": "1", - "date": 2020-10-30T00:00:00.000Z, - "order": "CA-2017-139661", - "row": 1494, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 1013, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-139661", - "row": 1494, + "SUM(a.cnt)": "1", + "orderDate": 2020-10-30T00:00:00.000Z, + "orderId": "CA-2017-139661", + "rowId": 1494, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 1494, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-139661", + "rowId": 1494, }, Object { - "SUM(a.count)": "1", - "date": 2020-06-25T00:00:00.000Z, - "order": "CA-2017-133648", - "row": 1995, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 1494, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-133648", - "row": 1995, + "SUM(a.cnt)": "1", + "orderDate": 2020-06-25T00:00:00.000Z, + "orderId": "CA-2017-133648", + "rowId": 1995, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 1995, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-133648", + "rowId": 1995, }, Object { - "SUM(a.count)": "1", - "date": 2020-09-23T00:00:00.000Z, - "order": "CA-2017-138422", - "row": 2329, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 1995, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-138422", - "row": 2329, + "SUM(a.cnt)": "1", + "orderDate": 2020-09-23T00:00:00.000Z, + "orderId": "CA-2017-138422", + "rowId": 2329, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 2329, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-138422", + "rowId": 2329, }, Object { - "SUM(a.count)": "1", - "date": 2020-03-17T00:00:00.000Z, - "order": "CA-2017-140949", - "row": 2455, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2329, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-140949", - "row": 2455, + "SUM(a.cnt)": "1", + "orderDate": 2020-03-17T00:00:00.000Z, + "orderId": "CA-2017-140949", + "rowId": 2455, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 2455, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-140949", + "rowId": 2455, }, Object { - "SUM(a.count)": "1", - "date": 2020-05-13T00:00:00.000Z, - "order": "CA-2017-149048", - "row": 2595, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2455, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-149048", - "row": 2595, + "SUM(a.cnt)": "1", + "orderDate": 2020-05-13T00:00:00.000Z, + "orderId": "CA-2017-149048", + "rowId": 2595, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 2595, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-149048", + "rowId": 2595, }, Object { - "SUM(a.count)": "1", - "date": 2020-09-17T00:00:00.000Z, - "order": "CA-2017-112515", - "row": 2655, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2595, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-112515", - "row": 2655, + "SUM(a.cnt)": "1", + "orderDate": 2020-09-17T00:00:00.000Z, + "orderId": "CA-2017-112515", + "rowId": 2655, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 2655, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-112515", + "rowId": 2655, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-28T00:00:00.000Z, - "order": "CA-2017-123372", - "row": 2661, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2655, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-123372", - "row": 2661, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-28T00:00:00.000Z, + "orderId": "CA-2017-123372", + "rowId": 2661, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 2661, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-123372", + "rowId": 2661, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-12T00:00:00.000Z, - "order": "CA-2017-134915", - "row": 2952, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2661, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-134915", - "row": 2952, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-12T00:00:00.000Z, + "orderId": "CA-2017-134915", + "rowId": 2952, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 2952, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-134915", + "rowId": 2952, }, Object { - "SUM(a.count)": "1", - "date": 2020-10-19T00:00:00.000Z, - "order": "CA-2017-131492", - "row": 3059, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2952, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-131492", - "row": 3059, + "SUM(a.cnt)": "1", + "orderDate": 2020-10-19T00:00:00.000Z, + "orderId": "CA-2017-131492", + "rowId": 3059, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 3059, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-131492", + "rowId": 3059, }, Object { - "SUM(a.count)": "1", - "date": 2020-10-19T00:00:00.000Z, - "order": "CA-2017-131492", - "row": 3060, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3059, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-131492", - "row": 3060, + "SUM(a.cnt)": "1", + "orderDate": 2020-10-19T00:00:00.000Z, + "orderId": "CA-2017-131492", + "rowId": 3060, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 3060, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-131492", + "rowId": 3060, }, Object { - "SUM(a.count)": "1", - "date": 2020-05-27T00:00:00.000Z, - "order": "US-2017-132297", - "row": 3083, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3060, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "US-2017-132297", - "row": 3083, + "SUM(a.cnt)": "1", + "orderDate": 2020-05-27T00:00:00.000Z, + "orderId": "US-2017-132297", + "rowId": 3083, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 3083, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "US-2017-132297", + "rowId": 3083, }, Object { - "SUM(a.count)": "1", - "date": 2020-06-11T00:00:00.000Z, - "order": "CA-2017-102554", - "row": 3448, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3083, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-102554", - "row": 3448, + "SUM(a.cnt)": "1", + "orderDate": 2020-06-11T00:00:00.000Z, + "orderId": "CA-2017-102554", + "rowId": 3448, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 3448, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-102554", + "rowId": 3448, }, Object { - "SUM(a.count)": "1", - "date": 2020-05-29T00:00:00.000Z, - "order": "CA-2017-144568", - "row": 3717, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3448, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-144568", - "row": 3717, + "SUM(a.cnt)": "1", + "orderDate": 2020-05-29T00:00:00.000Z, + "orderId": "CA-2017-144568", + "rowId": 3717, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 3717, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-144568", + "rowId": 3717, }, Object { - "SUM(a.count)": "1", - "date": 2020-09-02T00:00:00.000Z, - "order": "CA-2017-123001", - "row": 3934, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3717, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-123001", - "row": 3934, + "SUM(a.cnt)": "1", + "orderDate": 2020-09-02T00:00:00.000Z, + "orderId": "CA-2017-123001", + "rowId": 3934, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 3934, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-123001", + "rowId": 3934, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-21T00:00:00.000Z, - "order": "CA-2017-100811", - "row": 4012, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3934, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-100811", - "row": 4012, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-21T00:00:00.000Z, + "orderId": "CA-2017-100811", + "rowId": 4012, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 4012, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-100811", + "rowId": 4012, }, Object { - "SUM(a.count)": "1", - "date": 2020-12-24T00:00:00.000Z, - "order": "CA-2017-124296", - "row": 4031, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 4012, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-124296", - "row": 4031, + "SUM(a.cnt)": "1", + "orderDate": 2020-12-24T00:00:00.000Z, + "orderId": "CA-2017-124296", + "rowId": 4031, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 4031, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-124296", + "rowId": 4031, }, Object { - "SUM(a.count)": "1", - "date": 2020-05-14T00:00:00.000Z, - "order": "CA-2017-115546", - "row": 4161, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 4031, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-115546", - "row": 4161, + "SUM(a.cnt)": "1", + "orderDate": 2020-05-14T00:00:00.000Z, + "orderId": "CA-2017-115546", + "rowId": 4161, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 4161, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-115546", + "rowId": 4161, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-11T00:00:00.000Z, - "order": "CA-2017-120327", - "row": 4227, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 4161, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-120327", - "row": 4227, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-11T00:00:00.000Z, + "orderId": "CA-2017-120327", + "rowId": 4227, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 4227, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-120327", + "rowId": 4227, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-02T00:00:00.000Z, - "order": "CA-2017-143567", - "row": 4882, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 4227, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-143567", - "row": 4882, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-02T00:00:00.000Z, + "orderId": "CA-2017-143567", + "rowId": 4882, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 4882, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-143567", + "rowId": 4882, }, Object { - "SUM(a.count)": "1", - "date": 2020-09-01T00:00:00.000Z, - "order": "CA-2017-145653", - "row": 5220, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 4882, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-145653", - "row": 5220, + "SUM(a.cnt)": "1", + "orderDate": 2020-09-01T00:00:00.000Z, + "orderId": "CA-2017-145653", + "rowId": 5220, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 5220, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-145653", + "rowId": 5220, }, Object { - "SUM(a.count)": "1", - "date": 2020-12-14T00:00:00.000Z, - "order": "CA-2017-147333", - "row": 5277, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 5220, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-147333", - "row": 5277, + "SUM(a.cnt)": "1", + "orderDate": 2020-12-14T00:00:00.000Z, + "orderId": "CA-2017-147333", + "rowId": 5277, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 5277, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-147333", + "rowId": 5277, }, Object { - "SUM(a.count)": "1", - "date": 2020-06-03T00:00:00.000Z, - "order": "CA-2017-145772", - "row": 6125, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 5277, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-145772", - "row": 6125, + "SUM(a.cnt)": "1", + "orderDate": 2020-06-03T00:00:00.000Z, + "orderId": "CA-2017-145772", + "rowId": 6125, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 6125, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-145772", + "rowId": 6125, }, Object { - "SUM(a.count)": "1", - "date": 2020-12-01T00:00:00.000Z, - "order": "CA-2017-145660", - "row": 6205, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 6125, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-145660", - "row": 6205, + "SUM(a.cnt)": "1", + "orderDate": 2020-12-01T00:00:00.000Z, + "orderId": "CA-2017-145660", + "rowId": 6205, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 6205, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-145660", + "rowId": 6205, }, Object { - "SUM(a.count)": "1", - "date": 2020-12-02T00:00:00.000Z, - "order": "CA-2017-102379", - "row": 6272, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 6205, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-102379", - "row": 6272, + "SUM(a.cnt)": "1", + "orderDate": 2020-12-02T00:00:00.000Z, + "orderId": "CA-2017-102379", + "rowId": 6272, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 6272, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-102379", + "rowId": 6272, }, Object { - "SUM(a.count)": "1", - "date": 2020-05-14T00:00:00.000Z, - "order": "US-2017-133361", - "row": 6459, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 6272, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "US-2017-133361", - "row": 6459, + "SUM(a.cnt)": "1", + "orderDate": 2020-05-14T00:00:00.000Z, + "orderId": "US-2017-133361", + "rowId": 6459, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 6459, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "US-2017-133361", + "rowId": 6459, }, Object { - "SUM(a.count)": "1", - "date": 2020-09-08T00:00:00.000Z, - "order": "US-2017-124779", - "row": 6651, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 6459, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "US-2017-124779", - "row": 6651, + "SUM(a.cnt)": "1", + "orderDate": 2020-09-08T00:00:00.000Z, + "orderId": "US-2017-124779", + "rowId": 6651, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 6651, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "US-2017-124779", + "rowId": 6651, }, Object { - "SUM(a.count)": "1", - "date": 2020-03-26T00:00:00.000Z, - "order": "US-2017-141677", - "row": 7174, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 6651, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "US-2017-141677", - "row": 7174, + "SUM(a.cnt)": "1", + "orderDate": 2020-03-26T00:00:00.000Z, + "orderId": "US-2017-141677", + "rowId": 7174, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 7174, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "US-2017-141677", + "rowId": 7174, }, Object { - "SUM(a.count)": "1", - "date": 2020-12-04T00:00:00.000Z, - "order": "CA-2017-109183", - "row": 7293, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 7174, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-109183", - "row": 7293, + "SUM(a.cnt)": "1", + "orderDate": 2020-12-04T00:00:00.000Z, + "orderId": "CA-2017-109183", + "rowId": 7293, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 7293, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-109183", + "rowId": 7293, }, Object { - "SUM(a.count)": "1", - "date": 2020-06-10T00:00:00.000Z, - "order": "CA-2017-112172", - "row": 7310, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 7293, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-112172", - "row": 7310, + "SUM(a.cnt)": "1", + "orderDate": 2020-06-10T00:00:00.000Z, + "orderId": "CA-2017-112172", + "rowId": 7310, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 7310, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-112172", + "rowId": 7310, }, Object { - "SUM(a.count)": "1", - "date": 2020-04-10T00:00:00.000Z, - "order": "CA-2017-135069", - "row": 7425, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 7310, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-135069", - "row": 7425, + "SUM(a.cnt)": "1", + "orderDate": 2020-04-10T00:00:00.000Z, + "orderId": "CA-2017-135069", + "rowId": 7425, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 7425, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-135069", + "rowId": 7425, }, Object { - "SUM(a.count)": "1", - "date": 2020-12-14T00:00:00.000Z, - "order": "CA-2017-151799", - "row": 7698, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 7425, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-151799", - "row": 7698, + "SUM(a.cnt)": "1", + "orderDate": 2020-12-14T00:00:00.000Z, + "orderId": "CA-2017-151799", + "rowId": 7698, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 7698, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-151799", + "rowId": 7698, }, Object { - "SUM(a.count)": "1", - "date": 2020-10-12T00:00:00.000Z, - "order": "CA-2017-150091", - "row": 8425, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 7698, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-150091", - "row": 8425, + "SUM(a.cnt)": "1", + "orderDate": 2020-10-12T00:00:00.000Z, + "orderId": "CA-2017-150091", + "rowId": 8425, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 8425, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-150091", + "rowId": 8425, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-06T00:00:00.000Z, - "order": "US-2017-119319", - "row": 8621, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8425, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "US-2017-119319", - "row": 8621, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-06T00:00:00.000Z, + "orderId": "US-2017-119319", + "rowId": 8621, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 8621, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "US-2017-119319", + "rowId": 8621, }, Object { - "SUM(a.count)": "1", - "date": 2020-02-16T00:00:00.000Z, - "order": "CA-2017-163265", - "row": 8673, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8621, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-163265", - "row": 8673, + "SUM(a.cnt)": "1", + "orderDate": 2020-02-16T00:00:00.000Z, + "orderId": "CA-2017-163265", + "rowId": 8673, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 8673, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-163265", + "rowId": 8673, }, Object { - "SUM(a.count)": "1", - "date": 2020-06-15T00:00:00.000Z, - "order": "CA-2017-119284", - "row": 8697, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8673, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-119284", - "row": 8697, + "SUM(a.cnt)": "1", + "orderDate": 2020-06-15T00:00:00.000Z, + "orderId": "CA-2017-119284", + "rowId": 8697, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 8697, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-119284", + "rowId": 8697, }, Object { - "SUM(a.count)": "1", - "date": 2020-09-17T00:00:00.000Z, - "order": "CA-2017-126928", - "row": 8878, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8697, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-126928", - "row": 8878, + "SUM(a.cnt)": "1", + "orderDate": 2020-09-17T00:00:00.000Z, + "orderId": "CA-2017-126928", + "rowId": 8878, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 8878, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-126928", + "rowId": 8878, }, Object { - "SUM(a.count)": "1", - "date": 2020-12-25T00:00:00.000Z, - "order": "CA-2017-105620", - "row": 8958, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8878, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-105620", - "row": 8958, + "SUM(a.cnt)": "1", + "orderDate": 2020-12-25T00:00:00.000Z, + "orderId": "CA-2017-105620", + "rowId": 8958, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 8958, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-105620", + "rowId": 8958, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-05T00:00:00.000Z, - "order": "CA-2017-102925", - "row": 9473, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8958, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-102925", - "row": 9473, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-05T00:00:00.000Z, + "orderId": "CA-2017-102925", + "rowId": 9473, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 9473, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-102925", + "rowId": 9473, }, Object { - "SUM(a.count)": "1", - "date": 2020-06-25T00:00:00.000Z, - "order": "CA-2017-116127", - "row": 9584, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 9473, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-116127", - "row": 9584, + "SUM(a.cnt)": "1", + "orderDate": 2020-06-25T00:00:00.000Z, + "orderId": "CA-2017-116127", + "rowId": 9584, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 9584, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-116127", + "rowId": 9584, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-16T00:00:00.000Z, - "order": "CA-2017-160633", - "row": 9618, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 9584, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-160633", - "row": 9618, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-16T00:00:00.000Z, + "orderId": "CA-2017-160633", + "rowId": 9618, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 9618, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-160633", + "rowId": 9618, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-16T00:00:00.000Z, - "order": "CA-2017-160633", - "row": 9619, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 9618, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-160633", - "row": 9619, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-16T00:00:00.000Z, + "orderId": "CA-2017-160633", + "rowId": 9619, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 9619, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-160633", + "rowId": 9619, }, Object { - "SUM(a.count)": "44", - "date": null, - "order": null, - "row": null, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 9619, + }, + Object { + "SUM(a.cnt)": "44", + "orderDate": null, + "orderId": null, + "rowId": null, }, ] `; -exports[`Queries with the @cubejs-backend/redshift-driver export-bucket-s3 SQL API: Nested Rollup with aliases 1`] = ` +exports[`Queries with the @cubejs-backend/redshift-driver export-bucket-s3 SQL API: Nested Rollup over asterisk 1`] = ` Array [ Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-01-23T00:00:00.000Z, "order": "CA-2017-145142", "row": 523, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-145142", "row": 523, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 523, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-01-01T00:00:00.000Z, "order": "CA-2017-107503", "row": 849, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-107503", "row": 849, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 849, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-06-17T00:00:00.000Z, "order": "CA-2017-118437", "row": 1013, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-118437", "row": 1013, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 1013, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-10-30T00:00:00.000Z, "order": "CA-2017-139661", "row": 1494, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-139661", "row": 1494, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 1494, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-06-25T00:00:00.000Z, "order": "CA-2017-133648", "row": 1995, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-133648", "row": 1995, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 1995, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-09-23T00:00:00.000Z, "order": "CA-2017-138422", "row": 2329, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-138422", "row": 2329, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 2329, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-03-17T00:00:00.000Z, "order": "CA-2017-140949", "row": 2455, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-140949", "row": 2455, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 2455, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-05-13T00:00:00.000Z, "order": "CA-2017-149048", "row": 2595, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-149048", "row": 2595, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 2595, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-09-17T00:00:00.000Z, "order": "CA-2017-112515", "row": 2655, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-112515", "row": 2655, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 2655, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-28T00:00:00.000Z, "order": "CA-2017-123372", "row": 2661, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-123372", "row": 2661, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 2661, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-12T00:00:00.000Z, "order": "CA-2017-134915", "row": 2952, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-134915", "row": 2952, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 2952, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-10-19T00:00:00.000Z, "order": "CA-2017-131492", "row": 3059, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-131492", "row": 3059, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 3059, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-10-19T00:00:00.000Z, "order": "CA-2017-131492", "row": 3060, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-131492", "row": 3060, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 3060, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-05-27T00:00:00.000Z, "order": "US-2017-132297", "row": 3083, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "US-2017-132297", "row": 3083, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 3083, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-06-11T00:00:00.000Z, "order": "CA-2017-102554", "row": 3448, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-102554", "row": 3448, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 3448, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-05-29T00:00:00.000Z, "order": "CA-2017-144568", "row": 3717, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-144568", "row": 3717, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 3717, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-09-02T00:00:00.000Z, "order": "CA-2017-123001", "row": 3934, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-123001", "row": 3934, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 3934, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-21T00:00:00.000Z, "order": "CA-2017-100811", "row": 4012, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-100811", "row": 4012, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 4012, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-12-24T00:00:00.000Z, "order": "CA-2017-124296", "row": 4031, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-124296", "row": 4031, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 4031, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-05-14T00:00:00.000Z, "order": "CA-2017-115546", "row": 4161, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-115546", "row": 4161, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 4161, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-11T00:00:00.000Z, "order": "CA-2017-120327", "row": 4227, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-120327", "row": 4227, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 4227, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-02T00:00:00.000Z, "order": "CA-2017-143567", "row": 4882, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-143567", "row": 4882, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 4882, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-09-01T00:00:00.000Z, "order": "CA-2017-145653", "row": 5220, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-145653", "row": 5220, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 5220, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-12-14T00:00:00.000Z, "order": "CA-2017-147333", "row": 5277, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-147333", "row": 5277, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 5277, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-06-03T00:00:00.000Z, "order": "CA-2017-145772", "row": 6125, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-145772", "row": 6125, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 6125, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-12-01T00:00:00.000Z, "order": "CA-2017-145660", "row": 6205, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-145660", "row": 6205, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 6205, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-12-02T00:00:00.000Z, "order": "CA-2017-102379", "row": 6272, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-102379", "row": 6272, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 6272, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-05-14T00:00:00.000Z, "order": "US-2017-133361", "row": 6459, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "US-2017-133361", "row": 6459, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 6459, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-09-08T00:00:00.000Z, "order": "US-2017-124779", "row": 6651, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "US-2017-124779", "row": 6651, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 6651, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-03-26T00:00:00.000Z, "order": "US-2017-141677", "row": 7174, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "US-2017-141677", "row": 7174, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 7174, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-12-04T00:00:00.000Z, "order": "CA-2017-109183", "row": 7293, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-109183", "row": 7293, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 7293, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-06-10T00:00:00.000Z, "order": "CA-2017-112172", "row": 7310, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-112172", "row": 7310, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 7310, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-04-10T00:00:00.000Z, "order": "CA-2017-135069", "row": 7425, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-135069", "row": 7425, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 7425, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-12-14T00:00:00.000Z, "order": "CA-2017-151799", "row": 7698, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-151799", "row": 7698, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 7698, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-10-12T00:00:00.000Z, "order": "CA-2017-150091", "row": 8425, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-150091", "row": 8425, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 8425, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-06T00:00:00.000Z, "order": "US-2017-119319", "row": 8621, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "US-2017-119319", "row": 8621, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 8621, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-02-16T00:00:00.000Z, "order": "CA-2017-163265", "row": 8673, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-163265", "row": 8673, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 8673, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-06-15T00:00:00.000Z, "order": "CA-2017-119284", "row": 8697, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-119284", "row": 8697, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 8697, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-09-17T00:00:00.000Z, "order": "CA-2017-126928", "row": 8878, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-126928", "row": 8878, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 8878, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-12-25T00:00:00.000Z, "order": "CA-2017-105620", "row": 8958, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-105620", "row": 8958, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 8958, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-05T00:00:00.000Z, "order": "CA-2017-102925", "row": 9473, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-102925", "row": 9473, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 9473, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-06-25T00:00:00.000Z, "order": "CA-2017-116127", "row": 9584, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-116127", "row": 9584, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 9584, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-16T00:00:00.000Z, "order": "CA-2017-160633", "row": 9618, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-160633", "row": 9618, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 9618, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-16T00:00:00.000Z, "order": "CA-2017-160633", "row": 9619, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-160633", "row": 9619, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 9619, }, Object { - "SUM(a.cnt)": "44", + "SUM(a.count)": "44", "date": null, "order": null, "row": null, @@ -3883,805 +3883,805 @@ Array [ ] `; -exports[`Queries with the @cubejs-backend/redshift-driver export-bucket-s3 SQL API: Nested Rollup 1`] = ` +exports[`Queries with the @cubejs-backend/redshift-driver export-bucket-s3 SQL API: Nested Rollup with aliases 1`] = ` Array [ Object { "SUM(a.cnt)": "1", - "orderDate": 2020-01-23T00:00:00.000Z, - "orderId": "CA-2017-145142", - "rowId": 523, + "date": 2020-01-23T00:00:00.000Z, + "order": "CA-2017-145142", + "row": 523, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-145142", - "rowId": 523, + "date": null, + "order": "CA-2017-145142", + "row": 523, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 523, + "date": null, + "order": null, + "row": 523, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-01-01T00:00:00.000Z, - "orderId": "CA-2017-107503", - "rowId": 849, + "date": 2020-01-01T00:00:00.000Z, + "order": "CA-2017-107503", + "row": 849, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-107503", - "rowId": 849, + "date": null, + "order": "CA-2017-107503", + "row": 849, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 849, + "date": null, + "order": null, + "row": 849, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-06-17T00:00:00.000Z, - "orderId": "CA-2017-118437", - "rowId": 1013, + "date": 2020-06-17T00:00:00.000Z, + "order": "CA-2017-118437", + "row": 1013, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-118437", - "rowId": 1013, + "date": null, + "order": "CA-2017-118437", + "row": 1013, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 1013, + "date": null, + "order": null, + "row": 1013, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-10-30T00:00:00.000Z, - "orderId": "CA-2017-139661", - "rowId": 1494, + "date": 2020-10-30T00:00:00.000Z, + "order": "CA-2017-139661", + "row": 1494, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-139661", - "rowId": 1494, + "date": null, + "order": "CA-2017-139661", + "row": 1494, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 1494, + "date": null, + "order": null, + "row": 1494, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-06-25T00:00:00.000Z, - "orderId": "CA-2017-133648", - "rowId": 1995, + "date": 2020-06-25T00:00:00.000Z, + "order": "CA-2017-133648", + "row": 1995, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-133648", - "rowId": 1995, + "date": null, + "order": "CA-2017-133648", + "row": 1995, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 1995, + "date": null, + "order": null, + "row": 1995, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-09-23T00:00:00.000Z, - "orderId": "CA-2017-138422", - "rowId": 2329, + "date": 2020-09-23T00:00:00.000Z, + "order": "CA-2017-138422", + "row": 2329, }, Object { - "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-138422", - "rowId": 2329, + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-138422", + "row": 2329, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2329, + "date": null, + "order": null, + "row": 2329, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-03-17T00:00:00.000Z, - "orderId": "CA-2017-140949", - "rowId": 2455, + "date": 2020-03-17T00:00:00.000Z, + "order": "CA-2017-140949", + "row": 2455, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-140949", - "rowId": 2455, + "date": null, + "order": "CA-2017-140949", + "row": 2455, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2455, + "date": null, + "order": null, + "row": 2455, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-05-13T00:00:00.000Z, - "orderId": "CA-2017-149048", - "rowId": 2595, + "date": 2020-05-13T00:00:00.000Z, + "order": "CA-2017-149048", + "row": 2595, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-149048", - "rowId": 2595, + "date": null, + "order": "CA-2017-149048", + "row": 2595, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2595, + "date": null, + "order": null, + "row": 2595, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-09-17T00:00:00.000Z, - "orderId": "CA-2017-112515", - "rowId": 2655, + "date": 2020-09-17T00:00:00.000Z, + "order": "CA-2017-112515", + "row": 2655, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-112515", - "rowId": 2655, + "date": null, + "order": "CA-2017-112515", + "row": 2655, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2655, + "date": null, + "order": null, + "row": 2655, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-28T00:00:00.000Z, - "orderId": "CA-2017-123372", - "rowId": 2661, + "date": 2020-11-28T00:00:00.000Z, + "order": "CA-2017-123372", + "row": 2661, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-123372", - "rowId": 2661, + "date": null, + "order": "CA-2017-123372", + "row": 2661, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2661, + "date": null, + "order": null, + "row": 2661, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-12T00:00:00.000Z, - "orderId": "CA-2017-134915", - "rowId": 2952, + "date": 2020-11-12T00:00:00.000Z, + "order": "CA-2017-134915", + "row": 2952, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-134915", - "rowId": 2952, + "date": null, + "order": "CA-2017-134915", + "row": 2952, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2952, + "date": null, + "order": null, + "row": 2952, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-10-19T00:00:00.000Z, - "orderId": "CA-2017-131492", - "rowId": 3059, + "date": 2020-10-19T00:00:00.000Z, + "order": "CA-2017-131492", + "row": 3059, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-131492", - "rowId": 3059, + "date": null, + "order": "CA-2017-131492", + "row": 3059, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3059, + "date": null, + "order": null, + "row": 3059, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-10-19T00:00:00.000Z, - "orderId": "CA-2017-131492", - "rowId": 3060, + "date": 2020-10-19T00:00:00.000Z, + "order": "CA-2017-131492", + "row": 3060, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-131492", - "rowId": 3060, + "date": null, + "order": "CA-2017-131492", + "row": 3060, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3060, + "date": null, + "order": null, + "row": 3060, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-05-27T00:00:00.000Z, - "orderId": "US-2017-132297", - "rowId": 3083, + "date": 2020-05-27T00:00:00.000Z, + "order": "US-2017-132297", + "row": 3083, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "US-2017-132297", - "rowId": 3083, + "date": null, + "order": "US-2017-132297", + "row": 3083, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3083, + "date": null, + "order": null, + "row": 3083, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-06-11T00:00:00.000Z, - "orderId": "CA-2017-102554", - "rowId": 3448, + "date": 2020-06-11T00:00:00.000Z, + "order": "CA-2017-102554", + "row": 3448, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-102554", - "rowId": 3448, + "date": null, + "order": "CA-2017-102554", + "row": 3448, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3448, + "date": null, + "order": null, + "row": 3448, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-05-29T00:00:00.000Z, - "orderId": "CA-2017-144568", - "rowId": 3717, + "date": 2020-05-29T00:00:00.000Z, + "order": "CA-2017-144568", + "row": 3717, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-144568", - "rowId": 3717, + "date": null, + "order": "CA-2017-144568", + "row": 3717, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3717, + "date": null, + "order": null, + "row": 3717, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-09-02T00:00:00.000Z, - "orderId": "CA-2017-123001", - "rowId": 3934, + "date": 2020-09-02T00:00:00.000Z, + "order": "CA-2017-123001", + "row": 3934, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-123001", - "rowId": 3934, + "date": null, + "order": "CA-2017-123001", + "row": 3934, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3934, + "date": null, + "order": null, + "row": 3934, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-21T00:00:00.000Z, - "orderId": "CA-2017-100811", - "rowId": 4012, + "date": 2020-11-21T00:00:00.000Z, + "order": "CA-2017-100811", + "row": 4012, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-100811", - "rowId": 4012, + "date": null, + "order": "CA-2017-100811", + "row": 4012, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 4012, + "date": null, + "order": null, + "row": 4012, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-12-24T00:00:00.000Z, - "orderId": "CA-2017-124296", - "rowId": 4031, + "date": 2020-12-24T00:00:00.000Z, + "order": "CA-2017-124296", + "row": 4031, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-124296", - "rowId": 4031, + "date": null, + "order": "CA-2017-124296", + "row": 4031, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 4031, + "date": null, + "order": null, + "row": 4031, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-05-14T00:00:00.000Z, - "orderId": "CA-2017-115546", - "rowId": 4161, + "date": 2020-05-14T00:00:00.000Z, + "order": "CA-2017-115546", + "row": 4161, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-115546", - "rowId": 4161, + "date": null, + "order": "CA-2017-115546", + "row": 4161, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 4161, + "date": null, + "order": null, + "row": 4161, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-11T00:00:00.000Z, - "orderId": "CA-2017-120327", - "rowId": 4227, + "date": 2020-11-11T00:00:00.000Z, + "order": "CA-2017-120327", + "row": 4227, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-120327", - "rowId": 4227, + "date": null, + "order": "CA-2017-120327", + "row": 4227, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 4227, + "date": null, + "order": null, + "row": 4227, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-02T00:00:00.000Z, - "orderId": "CA-2017-143567", - "rowId": 4882, + "date": 2020-11-02T00:00:00.000Z, + "order": "CA-2017-143567", + "row": 4882, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-143567", - "rowId": 4882, + "date": null, + "order": "CA-2017-143567", + "row": 4882, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 4882, + "date": null, + "order": null, + "row": 4882, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-09-01T00:00:00.000Z, - "orderId": "CA-2017-145653", - "rowId": 5220, + "date": 2020-09-01T00:00:00.000Z, + "order": "CA-2017-145653", + "row": 5220, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-145653", - "rowId": 5220, + "date": null, + "order": "CA-2017-145653", + "row": 5220, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 5220, + "date": null, + "order": null, + "row": 5220, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-12-14T00:00:00.000Z, - "orderId": "CA-2017-147333", - "rowId": 5277, + "date": 2020-12-14T00:00:00.000Z, + "order": "CA-2017-147333", + "row": 5277, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-147333", - "rowId": 5277, + "date": null, + "order": "CA-2017-147333", + "row": 5277, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 5277, + "date": null, + "order": null, + "row": 5277, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-06-03T00:00:00.000Z, - "orderId": "CA-2017-145772", - "rowId": 6125, + "date": 2020-06-03T00:00:00.000Z, + "order": "CA-2017-145772", + "row": 6125, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-145772", - "rowId": 6125, + "date": null, + "order": "CA-2017-145772", + "row": 6125, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 6125, + "date": null, + "order": null, + "row": 6125, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-12-01T00:00:00.000Z, - "orderId": "CA-2017-145660", - "rowId": 6205, + "date": 2020-12-01T00:00:00.000Z, + "order": "CA-2017-145660", + "row": 6205, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-145660", - "rowId": 6205, + "date": null, + "order": "CA-2017-145660", + "row": 6205, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 6205, + "date": null, + "order": null, + "row": 6205, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-12-02T00:00:00.000Z, - "orderId": "CA-2017-102379", - "rowId": 6272, + "date": 2020-12-02T00:00:00.000Z, + "order": "CA-2017-102379", + "row": 6272, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-102379", - "rowId": 6272, + "date": null, + "order": "CA-2017-102379", + "row": 6272, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 6272, + "date": null, + "order": null, + "row": 6272, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-05-14T00:00:00.000Z, - "orderId": "US-2017-133361", - "rowId": 6459, + "date": 2020-05-14T00:00:00.000Z, + "order": "US-2017-133361", + "row": 6459, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "US-2017-133361", - "rowId": 6459, + "date": null, + "order": "US-2017-133361", + "row": 6459, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 6459, + "date": null, + "order": null, + "row": 6459, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-09-08T00:00:00.000Z, - "orderId": "US-2017-124779", - "rowId": 6651, + "date": 2020-09-08T00:00:00.000Z, + "order": "US-2017-124779", + "row": 6651, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "US-2017-124779", - "rowId": 6651, + "date": null, + "order": "US-2017-124779", + "row": 6651, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 6651, + "date": null, + "order": null, + "row": 6651, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-03-26T00:00:00.000Z, - "orderId": "US-2017-141677", - "rowId": 7174, + "date": 2020-03-26T00:00:00.000Z, + "order": "US-2017-141677", + "row": 7174, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "US-2017-141677", - "rowId": 7174, + "date": null, + "order": "US-2017-141677", + "row": 7174, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 7174, + "date": null, + "order": null, + "row": 7174, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-12-04T00:00:00.000Z, - "orderId": "CA-2017-109183", - "rowId": 7293, + "date": 2020-12-04T00:00:00.000Z, + "order": "CA-2017-109183", + "row": 7293, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-109183", - "rowId": 7293, + "date": null, + "order": "CA-2017-109183", + "row": 7293, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 7293, + "date": null, + "order": null, + "row": 7293, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-06-10T00:00:00.000Z, - "orderId": "CA-2017-112172", - "rowId": 7310, + "date": 2020-06-10T00:00:00.000Z, + "order": "CA-2017-112172", + "row": 7310, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-112172", - "rowId": 7310, + "date": null, + "order": "CA-2017-112172", + "row": 7310, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 7310, + "date": null, + "order": null, + "row": 7310, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-04-10T00:00:00.000Z, - "orderId": "CA-2017-135069", - "rowId": 7425, + "date": 2020-04-10T00:00:00.000Z, + "order": "CA-2017-135069", + "row": 7425, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-135069", - "rowId": 7425, + "date": null, + "order": "CA-2017-135069", + "row": 7425, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 7425, + "date": null, + "order": null, + "row": 7425, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-12-14T00:00:00.000Z, - "orderId": "CA-2017-151799", - "rowId": 7698, + "date": 2020-12-14T00:00:00.000Z, + "order": "CA-2017-151799", + "row": 7698, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-151799", - "rowId": 7698, + "date": null, + "order": "CA-2017-151799", + "row": 7698, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 7698, + "date": null, + "order": null, + "row": 7698, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-10-12T00:00:00.000Z, - "orderId": "CA-2017-150091", - "rowId": 8425, + "date": 2020-10-12T00:00:00.000Z, + "order": "CA-2017-150091", + "row": 8425, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-150091", - "rowId": 8425, + "date": null, + "order": "CA-2017-150091", + "row": 8425, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8425, + "date": null, + "order": null, + "row": 8425, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-06T00:00:00.000Z, - "orderId": "US-2017-119319", - "rowId": 8621, + "date": 2020-11-06T00:00:00.000Z, + "order": "US-2017-119319", + "row": 8621, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "US-2017-119319", - "rowId": 8621, + "date": null, + "order": "US-2017-119319", + "row": 8621, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8621, + "date": null, + "order": null, + "row": 8621, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-02-16T00:00:00.000Z, - "orderId": "CA-2017-163265", - "rowId": 8673, + "date": 2020-02-16T00:00:00.000Z, + "order": "CA-2017-163265", + "row": 8673, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-163265", - "rowId": 8673, + "date": null, + "order": "CA-2017-163265", + "row": 8673, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8673, + "date": null, + "order": null, + "row": 8673, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-06-15T00:00:00.000Z, - "orderId": "CA-2017-119284", - "rowId": 8697, + "date": 2020-06-15T00:00:00.000Z, + "order": "CA-2017-119284", + "row": 8697, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-119284", - "rowId": 8697, + "date": null, + "order": "CA-2017-119284", + "row": 8697, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8697, + "date": null, + "order": null, + "row": 8697, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-09-17T00:00:00.000Z, - "orderId": "CA-2017-126928", - "rowId": 8878, + "date": 2020-09-17T00:00:00.000Z, + "order": "CA-2017-126928", + "row": 8878, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-126928", - "rowId": 8878, + "date": null, + "order": "CA-2017-126928", + "row": 8878, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8878, + "date": null, + "order": null, + "row": 8878, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-12-25T00:00:00.000Z, - "orderId": "CA-2017-105620", - "rowId": 8958, + "date": 2020-12-25T00:00:00.000Z, + "order": "CA-2017-105620", + "row": 8958, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-105620", - "rowId": 8958, + "date": null, + "order": "CA-2017-105620", + "row": 8958, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8958, + "date": null, + "order": null, + "row": 8958, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-05T00:00:00.000Z, - "orderId": "CA-2017-102925", - "rowId": 9473, + "date": 2020-11-05T00:00:00.000Z, + "order": "CA-2017-102925", + "row": 9473, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-102925", - "rowId": 9473, + "date": null, + "order": "CA-2017-102925", + "row": 9473, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 9473, + "date": null, + "order": null, + "row": 9473, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-06-25T00:00:00.000Z, - "orderId": "CA-2017-116127", - "rowId": 9584, + "date": 2020-06-25T00:00:00.000Z, + "order": "CA-2017-116127", + "row": 9584, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-116127", - "rowId": 9584, + "date": null, + "order": "CA-2017-116127", + "row": 9584, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 9584, + "date": null, + "order": null, + "row": 9584, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-16T00:00:00.000Z, - "orderId": "CA-2017-160633", - "rowId": 9618, + "date": 2020-11-16T00:00:00.000Z, + "order": "CA-2017-160633", + "row": 9618, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-160633", - "rowId": 9618, + "date": null, + "order": "CA-2017-160633", + "row": 9618, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 9618, + "date": null, + "order": null, + "row": 9618, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-16T00:00:00.000Z, - "orderId": "CA-2017-160633", - "rowId": 9619, + "date": 2020-11-16T00:00:00.000Z, + "order": "CA-2017-160633", + "row": 9619, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-160633", - "rowId": 9619, + "date": null, + "order": "CA-2017-160633", + "row": 9619, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 9619, + "date": null, + "order": null, + "row": 9619, }, Object { "SUM(a.cnt)": "44", - "orderDate": null, - "orderId": null, - "rowId": null, + "date": null, + "order": null, + "row": null, }, ] `; @@ -12938,6 +12938,71 @@ Array [ ] `; +exports[`Queries with the @cubejs-backend/redshift-driver export-bucket-s3 querying BigECommerce: time series in rolling window 1`] = ` +Array [ + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "5", + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "7", + "BigECommerce.orderDate": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "6", + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "4", + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "9", + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + }, +] +`; + exports[`Queries with the @cubejs-backend/redshift-driver export-bucket-s3 querying BigECommerce: totalProfitYearAgo 1`] = `Array []`; exports[`Queries with the @cubejs-backend/redshift-driver export-bucket-s3 querying Customers: dimensions + limit 1`] = ` @@ -17833,19 +17898,3 @@ Array [ }, ] `; - -exports[`Queries with the @cubejs-backend/redshift-driver export-bucket-s3 SQL API: Date/time comparison with SQL push down 1`] = ` -Array [ - Object { - "measure(BigECommerce.rollingCountBy2Day)": "12", - }, -] -`; - -exports[`Queries with the @cubejs-backend/redshift-driver export-bucket-s3 SQL API: Date/time comparison with date_trunc with SQL push down 1`] = ` -Array [ - Object { - "measure(BigECommerce.rollingCountBy2Week)": "12", - }, -] -`; diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/redshift-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/redshift-full.test.ts.snap index d16eb079573a0..86c910d39eddc 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/redshift-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/redshift-full.test.ts.snap @@ -2277,1605 +2277,1605 @@ Array [ ] `; -exports[`Queries with the @cubejs-backend/redshift-driver SQL API: Nested Rollup over asterisk 1`] = ` +exports[`Queries with the @cubejs-backend/redshift-driver SQL API: Nested Rollup 1`] = ` Array [ Object { - "SUM(a.count)": "1", - "date": 2020-01-23T00:00:00.000Z, - "order": "CA-2017-145142", - "row": 523, - }, - Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-145142", - "row": 523, + "SUM(a.cnt)": "1", + "orderDate": 2020-01-23T00:00:00.000Z, + "orderId": "CA-2017-145142", + "rowId": 523, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 523, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-145142", + "rowId": 523, }, Object { - "SUM(a.count)": "1", - "date": 2020-01-01T00:00:00.000Z, - "order": "CA-2017-107503", - "row": 849, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 523, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-107503", - "row": 849, + "SUM(a.cnt)": "1", + "orderDate": 2020-01-01T00:00:00.000Z, + "orderId": "CA-2017-107503", + "rowId": 849, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 849, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-107503", + "rowId": 849, }, Object { - "SUM(a.count)": "1", - "date": 2020-06-17T00:00:00.000Z, - "order": "CA-2017-118437", - "row": 1013, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 849, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-118437", - "row": 1013, + "SUM(a.cnt)": "1", + "orderDate": 2020-06-17T00:00:00.000Z, + "orderId": "CA-2017-118437", + "rowId": 1013, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 1013, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-118437", + "rowId": 1013, }, Object { - "SUM(a.count)": "1", - "date": 2020-10-30T00:00:00.000Z, - "order": "CA-2017-139661", - "row": 1494, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 1013, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-139661", - "row": 1494, + "SUM(a.cnt)": "1", + "orderDate": 2020-10-30T00:00:00.000Z, + "orderId": "CA-2017-139661", + "rowId": 1494, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 1494, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-139661", + "rowId": 1494, }, Object { - "SUM(a.count)": "1", - "date": 2020-06-25T00:00:00.000Z, - "order": "CA-2017-133648", - "row": 1995, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 1494, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-133648", - "row": 1995, + "SUM(a.cnt)": "1", + "orderDate": 2020-06-25T00:00:00.000Z, + "orderId": "CA-2017-133648", + "rowId": 1995, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 1995, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-133648", + "rowId": 1995, }, Object { - "SUM(a.count)": "1", - "date": 2020-09-23T00:00:00.000Z, - "order": "CA-2017-138422", - "row": 2329, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 1995, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-138422", - "row": 2329, + "SUM(a.cnt)": "1", + "orderDate": 2020-09-23T00:00:00.000Z, + "orderId": "CA-2017-138422", + "rowId": 2329, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 2329, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-138422", + "rowId": 2329, }, Object { - "SUM(a.count)": "1", - "date": 2020-03-17T00:00:00.000Z, - "order": "CA-2017-140949", - "row": 2455, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2329, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-140949", - "row": 2455, + "SUM(a.cnt)": "1", + "orderDate": 2020-03-17T00:00:00.000Z, + "orderId": "CA-2017-140949", + "rowId": 2455, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 2455, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-140949", + "rowId": 2455, }, Object { - "SUM(a.count)": "1", - "date": 2020-05-13T00:00:00.000Z, - "order": "CA-2017-149048", - "row": 2595, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2455, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-149048", - "row": 2595, + "SUM(a.cnt)": "1", + "orderDate": 2020-05-13T00:00:00.000Z, + "orderId": "CA-2017-149048", + "rowId": 2595, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 2595, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-149048", + "rowId": 2595, }, Object { - "SUM(a.count)": "1", - "date": 2020-09-17T00:00:00.000Z, - "order": "CA-2017-112515", - "row": 2655, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2595, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-112515", - "row": 2655, + "SUM(a.cnt)": "1", + "orderDate": 2020-09-17T00:00:00.000Z, + "orderId": "CA-2017-112515", + "rowId": 2655, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 2655, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-112515", + "rowId": 2655, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-28T00:00:00.000Z, - "order": "CA-2017-123372", - "row": 2661, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2655, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-123372", - "row": 2661, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-28T00:00:00.000Z, + "orderId": "CA-2017-123372", + "rowId": 2661, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 2661, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-123372", + "rowId": 2661, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-12T00:00:00.000Z, - "order": "CA-2017-134915", - "row": 2952, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2661, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-134915", - "row": 2952, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-12T00:00:00.000Z, + "orderId": "CA-2017-134915", + "rowId": 2952, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 2952, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-134915", + "rowId": 2952, }, Object { - "SUM(a.count)": "1", - "date": 2020-10-19T00:00:00.000Z, - "order": "CA-2017-131492", - "row": 3059, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2952, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-131492", - "row": 3059, + "SUM(a.cnt)": "1", + "orderDate": 2020-10-19T00:00:00.000Z, + "orderId": "CA-2017-131492", + "rowId": 3059, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 3059, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-131492", + "rowId": 3059, }, Object { - "SUM(a.count)": "1", - "date": 2020-10-19T00:00:00.000Z, - "order": "CA-2017-131492", - "row": 3060, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3059, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-131492", - "row": 3060, + "SUM(a.cnt)": "1", + "orderDate": 2020-10-19T00:00:00.000Z, + "orderId": "CA-2017-131492", + "rowId": 3060, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 3060, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-131492", + "rowId": 3060, }, Object { - "SUM(a.count)": "1", - "date": 2020-05-27T00:00:00.000Z, - "order": "US-2017-132297", - "row": 3083, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3060, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "US-2017-132297", - "row": 3083, + "SUM(a.cnt)": "1", + "orderDate": 2020-05-27T00:00:00.000Z, + "orderId": "US-2017-132297", + "rowId": 3083, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 3083, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "US-2017-132297", + "rowId": 3083, }, Object { - "SUM(a.count)": "1", - "date": 2020-06-11T00:00:00.000Z, - "order": "CA-2017-102554", - "row": 3448, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3083, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-102554", - "row": 3448, + "SUM(a.cnt)": "1", + "orderDate": 2020-06-11T00:00:00.000Z, + "orderId": "CA-2017-102554", + "rowId": 3448, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 3448, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-102554", + "rowId": 3448, }, Object { - "SUM(a.count)": "1", - "date": 2020-05-29T00:00:00.000Z, - "order": "CA-2017-144568", - "row": 3717, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3448, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-144568", - "row": 3717, + "SUM(a.cnt)": "1", + "orderDate": 2020-05-29T00:00:00.000Z, + "orderId": "CA-2017-144568", + "rowId": 3717, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 3717, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-144568", + "rowId": 3717, }, Object { - "SUM(a.count)": "1", - "date": 2020-09-02T00:00:00.000Z, - "order": "CA-2017-123001", - "row": 3934, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3717, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-123001", - "row": 3934, + "SUM(a.cnt)": "1", + "orderDate": 2020-09-02T00:00:00.000Z, + "orderId": "CA-2017-123001", + "rowId": 3934, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 3934, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-123001", + "rowId": 3934, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-21T00:00:00.000Z, - "order": "CA-2017-100811", - "row": 4012, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3934, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-100811", - "row": 4012, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-21T00:00:00.000Z, + "orderId": "CA-2017-100811", + "rowId": 4012, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 4012, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-100811", + "rowId": 4012, }, Object { - "SUM(a.count)": "1", - "date": 2020-12-24T00:00:00.000Z, - "order": "CA-2017-124296", - "row": 4031, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 4012, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-124296", - "row": 4031, + "SUM(a.cnt)": "1", + "orderDate": 2020-12-24T00:00:00.000Z, + "orderId": "CA-2017-124296", + "rowId": 4031, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 4031, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-124296", + "rowId": 4031, }, Object { - "SUM(a.count)": "1", - "date": 2020-05-14T00:00:00.000Z, - "order": "CA-2017-115546", - "row": 4161, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 4031, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-115546", - "row": 4161, + "SUM(a.cnt)": "1", + "orderDate": 2020-05-14T00:00:00.000Z, + "orderId": "CA-2017-115546", + "rowId": 4161, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 4161, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-115546", + "rowId": 4161, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-11T00:00:00.000Z, - "order": "CA-2017-120327", - "row": 4227, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 4161, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-120327", - "row": 4227, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-11T00:00:00.000Z, + "orderId": "CA-2017-120327", + "rowId": 4227, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 4227, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-120327", + "rowId": 4227, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-02T00:00:00.000Z, - "order": "CA-2017-143567", - "row": 4882, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 4227, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-143567", - "row": 4882, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-02T00:00:00.000Z, + "orderId": "CA-2017-143567", + "rowId": 4882, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 4882, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-143567", + "rowId": 4882, }, Object { - "SUM(a.count)": "1", - "date": 2020-09-01T00:00:00.000Z, - "order": "CA-2017-145653", - "row": 5220, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 4882, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-145653", - "row": 5220, + "SUM(a.cnt)": "1", + "orderDate": 2020-09-01T00:00:00.000Z, + "orderId": "CA-2017-145653", + "rowId": 5220, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 5220, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-145653", + "rowId": 5220, }, Object { - "SUM(a.count)": "1", - "date": 2020-12-14T00:00:00.000Z, - "order": "CA-2017-147333", - "row": 5277, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 5220, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-147333", - "row": 5277, + "SUM(a.cnt)": "1", + "orderDate": 2020-12-14T00:00:00.000Z, + "orderId": "CA-2017-147333", + "rowId": 5277, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 5277, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-147333", + "rowId": 5277, }, Object { - "SUM(a.count)": "1", - "date": 2020-06-03T00:00:00.000Z, - "order": "CA-2017-145772", - "row": 6125, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 5277, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-145772", - "row": 6125, + "SUM(a.cnt)": "1", + "orderDate": 2020-06-03T00:00:00.000Z, + "orderId": "CA-2017-145772", + "rowId": 6125, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 6125, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-145772", + "rowId": 6125, }, Object { - "SUM(a.count)": "1", - "date": 2020-12-01T00:00:00.000Z, - "order": "CA-2017-145660", - "row": 6205, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 6125, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-145660", - "row": 6205, + "SUM(a.cnt)": "1", + "orderDate": 2020-12-01T00:00:00.000Z, + "orderId": "CA-2017-145660", + "rowId": 6205, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 6205, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-145660", + "rowId": 6205, }, Object { - "SUM(a.count)": "1", - "date": 2020-12-02T00:00:00.000Z, - "order": "CA-2017-102379", - "row": 6272, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 6205, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-102379", - "row": 6272, + "SUM(a.cnt)": "1", + "orderDate": 2020-12-02T00:00:00.000Z, + "orderId": "CA-2017-102379", + "rowId": 6272, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 6272, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-102379", + "rowId": 6272, }, Object { - "SUM(a.count)": "1", - "date": 2020-05-14T00:00:00.000Z, - "order": "US-2017-133361", - "row": 6459, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 6272, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "US-2017-133361", - "row": 6459, + "SUM(a.cnt)": "1", + "orderDate": 2020-05-14T00:00:00.000Z, + "orderId": "US-2017-133361", + "rowId": 6459, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 6459, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "US-2017-133361", + "rowId": 6459, }, Object { - "SUM(a.count)": "1", - "date": 2020-09-08T00:00:00.000Z, - "order": "US-2017-124779", - "row": 6651, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 6459, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "US-2017-124779", - "row": 6651, + "SUM(a.cnt)": "1", + "orderDate": 2020-09-08T00:00:00.000Z, + "orderId": "US-2017-124779", + "rowId": 6651, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 6651, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "US-2017-124779", + "rowId": 6651, }, Object { - "SUM(a.count)": "1", - "date": 2020-03-26T00:00:00.000Z, - "order": "US-2017-141677", - "row": 7174, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 6651, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "US-2017-141677", - "row": 7174, + "SUM(a.cnt)": "1", + "orderDate": 2020-03-26T00:00:00.000Z, + "orderId": "US-2017-141677", + "rowId": 7174, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 7174, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "US-2017-141677", + "rowId": 7174, }, Object { - "SUM(a.count)": "1", - "date": 2020-12-04T00:00:00.000Z, - "order": "CA-2017-109183", - "row": 7293, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 7174, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-109183", - "row": 7293, + "SUM(a.cnt)": "1", + "orderDate": 2020-12-04T00:00:00.000Z, + "orderId": "CA-2017-109183", + "rowId": 7293, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 7293, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-109183", + "rowId": 7293, }, Object { - "SUM(a.count)": "1", - "date": 2020-06-10T00:00:00.000Z, - "order": "CA-2017-112172", - "row": 7310, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 7293, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-112172", - "row": 7310, + "SUM(a.cnt)": "1", + "orderDate": 2020-06-10T00:00:00.000Z, + "orderId": "CA-2017-112172", + "rowId": 7310, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 7310, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-112172", + "rowId": 7310, }, Object { - "SUM(a.count)": "1", - "date": 2020-04-10T00:00:00.000Z, - "order": "CA-2017-135069", - "row": 7425, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 7310, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-135069", - "row": 7425, + "SUM(a.cnt)": "1", + "orderDate": 2020-04-10T00:00:00.000Z, + "orderId": "CA-2017-135069", + "rowId": 7425, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 7425, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-135069", + "rowId": 7425, }, Object { - "SUM(a.count)": "1", - "date": 2020-12-14T00:00:00.000Z, - "order": "CA-2017-151799", - "row": 7698, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 7425, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-151799", - "row": 7698, + "SUM(a.cnt)": "1", + "orderDate": 2020-12-14T00:00:00.000Z, + "orderId": "CA-2017-151799", + "rowId": 7698, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 7698, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-151799", + "rowId": 7698, }, Object { - "SUM(a.count)": "1", - "date": 2020-10-12T00:00:00.000Z, - "order": "CA-2017-150091", - "row": 8425, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 7698, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-150091", - "row": 8425, + "SUM(a.cnt)": "1", + "orderDate": 2020-10-12T00:00:00.000Z, + "orderId": "CA-2017-150091", + "rowId": 8425, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 8425, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-150091", + "rowId": 8425, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-06T00:00:00.000Z, - "order": "US-2017-119319", - "row": 8621, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8425, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "US-2017-119319", - "row": 8621, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-06T00:00:00.000Z, + "orderId": "US-2017-119319", + "rowId": 8621, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 8621, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "US-2017-119319", + "rowId": 8621, }, Object { - "SUM(a.count)": "1", - "date": 2020-02-16T00:00:00.000Z, - "order": "CA-2017-163265", - "row": 8673, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8621, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-163265", - "row": 8673, + "SUM(a.cnt)": "1", + "orderDate": 2020-02-16T00:00:00.000Z, + "orderId": "CA-2017-163265", + "rowId": 8673, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 8673, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-163265", + "rowId": 8673, }, Object { - "SUM(a.count)": "1", - "date": 2020-06-15T00:00:00.000Z, - "order": "CA-2017-119284", - "row": 8697, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8673, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-119284", - "row": 8697, + "SUM(a.cnt)": "1", + "orderDate": 2020-06-15T00:00:00.000Z, + "orderId": "CA-2017-119284", + "rowId": 8697, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 8697, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-119284", + "rowId": 8697, }, Object { - "SUM(a.count)": "1", - "date": 2020-09-17T00:00:00.000Z, - "order": "CA-2017-126928", - "row": 8878, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8697, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-126928", - "row": 8878, + "SUM(a.cnt)": "1", + "orderDate": 2020-09-17T00:00:00.000Z, + "orderId": "CA-2017-126928", + "rowId": 8878, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 8878, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-126928", + "rowId": 8878, }, Object { - "SUM(a.count)": "1", - "date": 2020-12-25T00:00:00.000Z, - "order": "CA-2017-105620", - "row": 8958, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8878, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-105620", - "row": 8958, + "SUM(a.cnt)": "1", + "orderDate": 2020-12-25T00:00:00.000Z, + "orderId": "CA-2017-105620", + "rowId": 8958, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 8958, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-105620", + "rowId": 8958, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-05T00:00:00.000Z, - "order": "CA-2017-102925", - "row": 9473, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8958, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-102925", - "row": 9473, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-05T00:00:00.000Z, + "orderId": "CA-2017-102925", + "rowId": 9473, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 9473, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-102925", + "rowId": 9473, }, Object { - "SUM(a.count)": "1", - "date": 2020-06-25T00:00:00.000Z, - "order": "CA-2017-116127", - "row": 9584, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 9473, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-116127", - "row": 9584, + "SUM(a.cnt)": "1", + "orderDate": 2020-06-25T00:00:00.000Z, + "orderId": "CA-2017-116127", + "rowId": 9584, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 9584, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-116127", + "rowId": 9584, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-16T00:00:00.000Z, - "order": "CA-2017-160633", - "row": 9618, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 9584, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-160633", - "row": 9618, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-16T00:00:00.000Z, + "orderId": "CA-2017-160633", + "rowId": 9618, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 9618, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-160633", + "rowId": 9618, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-16T00:00:00.000Z, - "order": "CA-2017-160633", - "row": 9619, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 9618, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-160633", - "row": 9619, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-16T00:00:00.000Z, + "orderId": "CA-2017-160633", + "rowId": 9619, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 9619, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-160633", + "rowId": 9619, }, Object { - "SUM(a.count)": "44", - "date": null, - "order": null, - "row": null, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 9619, + }, + Object { + "SUM(a.cnt)": "44", + "orderDate": null, + "orderId": null, + "rowId": null, }, ] `; -exports[`Queries with the @cubejs-backend/redshift-driver SQL API: Nested Rollup with aliases 1`] = ` +exports[`Queries with the @cubejs-backend/redshift-driver SQL API: Nested Rollup over asterisk 1`] = ` Array [ Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-01-23T00:00:00.000Z, "order": "CA-2017-145142", "row": 523, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-145142", "row": 523, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 523, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-01-01T00:00:00.000Z, "order": "CA-2017-107503", "row": 849, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-107503", "row": 849, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 849, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-06-17T00:00:00.000Z, "order": "CA-2017-118437", "row": 1013, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-118437", "row": 1013, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 1013, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-10-30T00:00:00.000Z, "order": "CA-2017-139661", "row": 1494, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-139661", "row": 1494, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 1494, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-06-25T00:00:00.000Z, "order": "CA-2017-133648", "row": 1995, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-133648", "row": 1995, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 1995, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-09-23T00:00:00.000Z, "order": "CA-2017-138422", "row": 2329, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-138422", "row": 2329, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 2329, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-03-17T00:00:00.000Z, "order": "CA-2017-140949", "row": 2455, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-140949", "row": 2455, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 2455, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-05-13T00:00:00.000Z, "order": "CA-2017-149048", "row": 2595, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-149048", "row": 2595, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 2595, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-09-17T00:00:00.000Z, "order": "CA-2017-112515", "row": 2655, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-112515", "row": 2655, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 2655, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-28T00:00:00.000Z, "order": "CA-2017-123372", "row": 2661, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-123372", "row": 2661, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 2661, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-12T00:00:00.000Z, "order": "CA-2017-134915", "row": 2952, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-134915", "row": 2952, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 2952, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-10-19T00:00:00.000Z, "order": "CA-2017-131492", "row": 3059, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-131492", "row": 3059, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 3059, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-10-19T00:00:00.000Z, "order": "CA-2017-131492", "row": 3060, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-131492", "row": 3060, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 3060, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-05-27T00:00:00.000Z, "order": "US-2017-132297", "row": 3083, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "US-2017-132297", "row": 3083, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 3083, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-06-11T00:00:00.000Z, "order": "CA-2017-102554", "row": 3448, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-102554", "row": 3448, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 3448, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-05-29T00:00:00.000Z, "order": "CA-2017-144568", "row": 3717, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-144568", "row": 3717, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 3717, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-09-02T00:00:00.000Z, "order": "CA-2017-123001", "row": 3934, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-123001", "row": 3934, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 3934, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-21T00:00:00.000Z, "order": "CA-2017-100811", "row": 4012, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-100811", "row": 4012, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 4012, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-12-24T00:00:00.000Z, "order": "CA-2017-124296", "row": 4031, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-124296", "row": 4031, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 4031, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-05-14T00:00:00.000Z, "order": "CA-2017-115546", "row": 4161, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-115546", "row": 4161, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 4161, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-11T00:00:00.000Z, "order": "CA-2017-120327", "row": 4227, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-120327", "row": 4227, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 4227, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-02T00:00:00.000Z, "order": "CA-2017-143567", "row": 4882, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-143567", "row": 4882, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 4882, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-09-01T00:00:00.000Z, "order": "CA-2017-145653", "row": 5220, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-145653", "row": 5220, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 5220, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-12-14T00:00:00.000Z, "order": "CA-2017-147333", "row": 5277, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-147333", "row": 5277, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 5277, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-06-03T00:00:00.000Z, "order": "CA-2017-145772", "row": 6125, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-145772", "row": 6125, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 6125, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-12-01T00:00:00.000Z, "order": "CA-2017-145660", "row": 6205, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-145660", "row": 6205, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 6205, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-12-02T00:00:00.000Z, "order": "CA-2017-102379", "row": 6272, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-102379", "row": 6272, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 6272, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-05-14T00:00:00.000Z, "order": "US-2017-133361", "row": 6459, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "US-2017-133361", "row": 6459, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 6459, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-09-08T00:00:00.000Z, "order": "US-2017-124779", "row": 6651, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "US-2017-124779", "row": 6651, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 6651, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-03-26T00:00:00.000Z, "order": "US-2017-141677", "row": 7174, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "US-2017-141677", "row": 7174, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 7174, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-12-04T00:00:00.000Z, "order": "CA-2017-109183", "row": 7293, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-109183", "row": 7293, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 7293, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-06-10T00:00:00.000Z, "order": "CA-2017-112172", "row": 7310, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-112172", "row": 7310, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 7310, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-04-10T00:00:00.000Z, "order": "CA-2017-135069", "row": 7425, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-135069", "row": 7425, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 7425, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-12-14T00:00:00.000Z, "order": "CA-2017-151799", "row": 7698, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-151799", "row": 7698, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 7698, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-10-12T00:00:00.000Z, "order": "CA-2017-150091", "row": 8425, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-150091", "row": 8425, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 8425, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-06T00:00:00.000Z, "order": "US-2017-119319", "row": 8621, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "US-2017-119319", "row": 8621, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 8621, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-02-16T00:00:00.000Z, "order": "CA-2017-163265", "row": 8673, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-163265", "row": 8673, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 8673, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-06-15T00:00:00.000Z, "order": "CA-2017-119284", "row": 8697, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-119284", "row": 8697, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 8697, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-09-17T00:00:00.000Z, "order": "CA-2017-126928", "row": 8878, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-126928", "row": 8878, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 8878, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-12-25T00:00:00.000Z, "order": "CA-2017-105620", "row": 8958, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-105620", "row": 8958, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 8958, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-05T00:00:00.000Z, "order": "CA-2017-102925", "row": 9473, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-102925", "row": 9473, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 9473, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-06-25T00:00:00.000Z, "order": "CA-2017-116127", "row": 9584, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-116127", "row": 9584, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 9584, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-16T00:00:00.000Z, "order": "CA-2017-160633", "row": 9618, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-160633", "row": 9618, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 9618, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-16T00:00:00.000Z, "order": "CA-2017-160633", "row": 9619, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-160633", "row": 9619, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 9619, }, Object { - "SUM(a.cnt)": "44", + "SUM(a.count)": "44", "date": null, "order": null, "row": null, @@ -3883,805 +3883,805 @@ Array [ ] `; -exports[`Queries with the @cubejs-backend/redshift-driver SQL API: Nested Rollup 1`] = ` +exports[`Queries with the @cubejs-backend/redshift-driver SQL API: Nested Rollup with aliases 1`] = ` Array [ Object { "SUM(a.cnt)": "1", - "orderDate": 2020-01-23T00:00:00.000Z, - "orderId": "CA-2017-145142", - "rowId": 523, + "date": 2020-01-23T00:00:00.000Z, + "order": "CA-2017-145142", + "row": 523, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-145142", - "rowId": 523, + "date": null, + "order": "CA-2017-145142", + "row": 523, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 523, + "date": null, + "order": null, + "row": 523, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-01-01T00:00:00.000Z, - "orderId": "CA-2017-107503", - "rowId": 849, + "date": 2020-01-01T00:00:00.000Z, + "order": "CA-2017-107503", + "row": 849, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-107503", - "rowId": 849, + "date": null, + "order": "CA-2017-107503", + "row": 849, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 849, + "date": null, + "order": null, + "row": 849, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-06-17T00:00:00.000Z, - "orderId": "CA-2017-118437", - "rowId": 1013, + "date": 2020-06-17T00:00:00.000Z, + "order": "CA-2017-118437", + "row": 1013, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-118437", - "rowId": 1013, + "date": null, + "order": "CA-2017-118437", + "row": 1013, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 1013, + "date": null, + "order": null, + "row": 1013, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-10-30T00:00:00.000Z, - "orderId": "CA-2017-139661", - "rowId": 1494, + "date": 2020-10-30T00:00:00.000Z, + "order": "CA-2017-139661", + "row": 1494, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-139661", - "rowId": 1494, + "date": null, + "order": "CA-2017-139661", + "row": 1494, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 1494, + "date": null, + "order": null, + "row": 1494, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-06-25T00:00:00.000Z, - "orderId": "CA-2017-133648", - "rowId": 1995, + "date": 2020-06-25T00:00:00.000Z, + "order": "CA-2017-133648", + "row": 1995, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-133648", - "rowId": 1995, + "date": null, + "order": "CA-2017-133648", + "row": 1995, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 1995, + "date": null, + "order": null, + "row": 1995, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-09-23T00:00:00.000Z, - "orderId": "CA-2017-138422", - "rowId": 2329, + "date": 2020-09-23T00:00:00.000Z, + "order": "CA-2017-138422", + "row": 2329, }, Object { - "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-138422", - "rowId": 2329, + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-138422", + "row": 2329, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2329, + "date": null, + "order": null, + "row": 2329, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-03-17T00:00:00.000Z, - "orderId": "CA-2017-140949", - "rowId": 2455, + "date": 2020-03-17T00:00:00.000Z, + "order": "CA-2017-140949", + "row": 2455, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-140949", - "rowId": 2455, + "date": null, + "order": "CA-2017-140949", + "row": 2455, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2455, + "date": null, + "order": null, + "row": 2455, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-05-13T00:00:00.000Z, - "orderId": "CA-2017-149048", - "rowId": 2595, + "date": 2020-05-13T00:00:00.000Z, + "order": "CA-2017-149048", + "row": 2595, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-149048", - "rowId": 2595, + "date": null, + "order": "CA-2017-149048", + "row": 2595, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2595, + "date": null, + "order": null, + "row": 2595, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-09-17T00:00:00.000Z, - "orderId": "CA-2017-112515", - "rowId": 2655, + "date": 2020-09-17T00:00:00.000Z, + "order": "CA-2017-112515", + "row": 2655, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-112515", - "rowId": 2655, + "date": null, + "order": "CA-2017-112515", + "row": 2655, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2655, + "date": null, + "order": null, + "row": 2655, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-28T00:00:00.000Z, - "orderId": "CA-2017-123372", - "rowId": 2661, + "date": 2020-11-28T00:00:00.000Z, + "order": "CA-2017-123372", + "row": 2661, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-123372", - "rowId": 2661, + "date": null, + "order": "CA-2017-123372", + "row": 2661, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2661, + "date": null, + "order": null, + "row": 2661, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-12T00:00:00.000Z, - "orderId": "CA-2017-134915", - "rowId": 2952, + "date": 2020-11-12T00:00:00.000Z, + "order": "CA-2017-134915", + "row": 2952, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-134915", - "rowId": 2952, + "date": null, + "order": "CA-2017-134915", + "row": 2952, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2952, + "date": null, + "order": null, + "row": 2952, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-10-19T00:00:00.000Z, - "orderId": "CA-2017-131492", - "rowId": 3059, + "date": 2020-10-19T00:00:00.000Z, + "order": "CA-2017-131492", + "row": 3059, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-131492", - "rowId": 3059, + "date": null, + "order": "CA-2017-131492", + "row": 3059, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3059, + "date": null, + "order": null, + "row": 3059, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-10-19T00:00:00.000Z, - "orderId": "CA-2017-131492", - "rowId": 3060, + "date": 2020-10-19T00:00:00.000Z, + "order": "CA-2017-131492", + "row": 3060, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-131492", - "rowId": 3060, + "date": null, + "order": "CA-2017-131492", + "row": 3060, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3060, + "date": null, + "order": null, + "row": 3060, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-05-27T00:00:00.000Z, - "orderId": "US-2017-132297", - "rowId": 3083, + "date": 2020-05-27T00:00:00.000Z, + "order": "US-2017-132297", + "row": 3083, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "US-2017-132297", - "rowId": 3083, + "date": null, + "order": "US-2017-132297", + "row": 3083, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3083, + "date": null, + "order": null, + "row": 3083, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-06-11T00:00:00.000Z, - "orderId": "CA-2017-102554", - "rowId": 3448, + "date": 2020-06-11T00:00:00.000Z, + "order": "CA-2017-102554", + "row": 3448, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-102554", - "rowId": 3448, + "date": null, + "order": "CA-2017-102554", + "row": 3448, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3448, + "date": null, + "order": null, + "row": 3448, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-05-29T00:00:00.000Z, - "orderId": "CA-2017-144568", - "rowId": 3717, + "date": 2020-05-29T00:00:00.000Z, + "order": "CA-2017-144568", + "row": 3717, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-144568", - "rowId": 3717, + "date": null, + "order": "CA-2017-144568", + "row": 3717, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3717, + "date": null, + "order": null, + "row": 3717, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-09-02T00:00:00.000Z, - "orderId": "CA-2017-123001", - "rowId": 3934, + "date": 2020-09-02T00:00:00.000Z, + "order": "CA-2017-123001", + "row": 3934, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-123001", - "rowId": 3934, + "date": null, + "order": "CA-2017-123001", + "row": 3934, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3934, + "date": null, + "order": null, + "row": 3934, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-21T00:00:00.000Z, - "orderId": "CA-2017-100811", - "rowId": 4012, + "date": 2020-11-21T00:00:00.000Z, + "order": "CA-2017-100811", + "row": 4012, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-100811", - "rowId": 4012, + "date": null, + "order": "CA-2017-100811", + "row": 4012, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 4012, + "date": null, + "order": null, + "row": 4012, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-12-24T00:00:00.000Z, - "orderId": "CA-2017-124296", - "rowId": 4031, + "date": 2020-12-24T00:00:00.000Z, + "order": "CA-2017-124296", + "row": 4031, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-124296", - "rowId": 4031, + "date": null, + "order": "CA-2017-124296", + "row": 4031, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 4031, + "date": null, + "order": null, + "row": 4031, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-05-14T00:00:00.000Z, - "orderId": "CA-2017-115546", - "rowId": 4161, + "date": 2020-05-14T00:00:00.000Z, + "order": "CA-2017-115546", + "row": 4161, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-115546", - "rowId": 4161, + "date": null, + "order": "CA-2017-115546", + "row": 4161, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 4161, + "date": null, + "order": null, + "row": 4161, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-11T00:00:00.000Z, - "orderId": "CA-2017-120327", - "rowId": 4227, + "date": 2020-11-11T00:00:00.000Z, + "order": "CA-2017-120327", + "row": 4227, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-120327", - "rowId": 4227, + "date": null, + "order": "CA-2017-120327", + "row": 4227, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 4227, + "date": null, + "order": null, + "row": 4227, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-02T00:00:00.000Z, - "orderId": "CA-2017-143567", - "rowId": 4882, + "date": 2020-11-02T00:00:00.000Z, + "order": "CA-2017-143567", + "row": 4882, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-143567", - "rowId": 4882, + "date": null, + "order": "CA-2017-143567", + "row": 4882, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 4882, + "date": null, + "order": null, + "row": 4882, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-09-01T00:00:00.000Z, - "orderId": "CA-2017-145653", - "rowId": 5220, + "date": 2020-09-01T00:00:00.000Z, + "order": "CA-2017-145653", + "row": 5220, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-145653", - "rowId": 5220, + "date": null, + "order": "CA-2017-145653", + "row": 5220, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 5220, + "date": null, + "order": null, + "row": 5220, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-12-14T00:00:00.000Z, - "orderId": "CA-2017-147333", - "rowId": 5277, + "date": 2020-12-14T00:00:00.000Z, + "order": "CA-2017-147333", + "row": 5277, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-147333", - "rowId": 5277, + "date": null, + "order": "CA-2017-147333", + "row": 5277, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 5277, + "date": null, + "order": null, + "row": 5277, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-06-03T00:00:00.000Z, - "orderId": "CA-2017-145772", - "rowId": 6125, + "date": 2020-06-03T00:00:00.000Z, + "order": "CA-2017-145772", + "row": 6125, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-145772", - "rowId": 6125, + "date": null, + "order": "CA-2017-145772", + "row": 6125, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 6125, + "date": null, + "order": null, + "row": 6125, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-12-01T00:00:00.000Z, - "orderId": "CA-2017-145660", - "rowId": 6205, + "date": 2020-12-01T00:00:00.000Z, + "order": "CA-2017-145660", + "row": 6205, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-145660", - "rowId": 6205, + "date": null, + "order": "CA-2017-145660", + "row": 6205, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 6205, + "date": null, + "order": null, + "row": 6205, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-12-02T00:00:00.000Z, - "orderId": "CA-2017-102379", - "rowId": 6272, + "date": 2020-12-02T00:00:00.000Z, + "order": "CA-2017-102379", + "row": 6272, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-102379", - "rowId": 6272, + "date": null, + "order": "CA-2017-102379", + "row": 6272, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 6272, + "date": null, + "order": null, + "row": 6272, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-05-14T00:00:00.000Z, - "orderId": "US-2017-133361", - "rowId": 6459, + "date": 2020-05-14T00:00:00.000Z, + "order": "US-2017-133361", + "row": 6459, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "US-2017-133361", - "rowId": 6459, + "date": null, + "order": "US-2017-133361", + "row": 6459, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 6459, + "date": null, + "order": null, + "row": 6459, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-09-08T00:00:00.000Z, - "orderId": "US-2017-124779", - "rowId": 6651, + "date": 2020-09-08T00:00:00.000Z, + "order": "US-2017-124779", + "row": 6651, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "US-2017-124779", - "rowId": 6651, + "date": null, + "order": "US-2017-124779", + "row": 6651, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 6651, + "date": null, + "order": null, + "row": 6651, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-03-26T00:00:00.000Z, - "orderId": "US-2017-141677", - "rowId": 7174, + "date": 2020-03-26T00:00:00.000Z, + "order": "US-2017-141677", + "row": 7174, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "US-2017-141677", - "rowId": 7174, + "date": null, + "order": "US-2017-141677", + "row": 7174, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 7174, + "date": null, + "order": null, + "row": 7174, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-12-04T00:00:00.000Z, - "orderId": "CA-2017-109183", - "rowId": 7293, + "date": 2020-12-04T00:00:00.000Z, + "order": "CA-2017-109183", + "row": 7293, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-109183", - "rowId": 7293, + "date": null, + "order": "CA-2017-109183", + "row": 7293, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 7293, + "date": null, + "order": null, + "row": 7293, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-06-10T00:00:00.000Z, - "orderId": "CA-2017-112172", - "rowId": 7310, + "date": 2020-06-10T00:00:00.000Z, + "order": "CA-2017-112172", + "row": 7310, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-112172", - "rowId": 7310, + "date": null, + "order": "CA-2017-112172", + "row": 7310, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 7310, + "date": null, + "order": null, + "row": 7310, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-04-10T00:00:00.000Z, - "orderId": "CA-2017-135069", - "rowId": 7425, + "date": 2020-04-10T00:00:00.000Z, + "order": "CA-2017-135069", + "row": 7425, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-135069", - "rowId": 7425, + "date": null, + "order": "CA-2017-135069", + "row": 7425, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 7425, + "date": null, + "order": null, + "row": 7425, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-12-14T00:00:00.000Z, - "orderId": "CA-2017-151799", - "rowId": 7698, + "date": 2020-12-14T00:00:00.000Z, + "order": "CA-2017-151799", + "row": 7698, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-151799", - "rowId": 7698, + "date": null, + "order": "CA-2017-151799", + "row": 7698, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 7698, + "date": null, + "order": null, + "row": 7698, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-10-12T00:00:00.000Z, - "orderId": "CA-2017-150091", - "rowId": 8425, + "date": 2020-10-12T00:00:00.000Z, + "order": "CA-2017-150091", + "row": 8425, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-150091", - "rowId": 8425, + "date": null, + "order": "CA-2017-150091", + "row": 8425, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8425, + "date": null, + "order": null, + "row": 8425, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-06T00:00:00.000Z, - "orderId": "US-2017-119319", - "rowId": 8621, + "date": 2020-11-06T00:00:00.000Z, + "order": "US-2017-119319", + "row": 8621, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "US-2017-119319", - "rowId": 8621, + "date": null, + "order": "US-2017-119319", + "row": 8621, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8621, + "date": null, + "order": null, + "row": 8621, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-02-16T00:00:00.000Z, - "orderId": "CA-2017-163265", - "rowId": 8673, + "date": 2020-02-16T00:00:00.000Z, + "order": "CA-2017-163265", + "row": 8673, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-163265", - "rowId": 8673, + "date": null, + "order": "CA-2017-163265", + "row": 8673, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8673, + "date": null, + "order": null, + "row": 8673, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-06-15T00:00:00.000Z, - "orderId": "CA-2017-119284", - "rowId": 8697, + "date": 2020-06-15T00:00:00.000Z, + "order": "CA-2017-119284", + "row": 8697, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-119284", - "rowId": 8697, + "date": null, + "order": "CA-2017-119284", + "row": 8697, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8697, + "date": null, + "order": null, + "row": 8697, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-09-17T00:00:00.000Z, - "orderId": "CA-2017-126928", - "rowId": 8878, + "date": 2020-09-17T00:00:00.000Z, + "order": "CA-2017-126928", + "row": 8878, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-126928", - "rowId": 8878, + "date": null, + "order": "CA-2017-126928", + "row": 8878, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8878, + "date": null, + "order": null, + "row": 8878, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-12-25T00:00:00.000Z, - "orderId": "CA-2017-105620", - "rowId": 8958, + "date": 2020-12-25T00:00:00.000Z, + "order": "CA-2017-105620", + "row": 8958, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-105620", - "rowId": 8958, + "date": null, + "order": "CA-2017-105620", + "row": 8958, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8958, + "date": null, + "order": null, + "row": 8958, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-05T00:00:00.000Z, - "orderId": "CA-2017-102925", - "rowId": 9473, + "date": 2020-11-05T00:00:00.000Z, + "order": "CA-2017-102925", + "row": 9473, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-102925", - "rowId": 9473, + "date": null, + "order": "CA-2017-102925", + "row": 9473, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 9473, + "date": null, + "order": null, + "row": 9473, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-06-25T00:00:00.000Z, - "orderId": "CA-2017-116127", - "rowId": 9584, + "date": 2020-06-25T00:00:00.000Z, + "order": "CA-2017-116127", + "row": 9584, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-116127", - "rowId": 9584, + "date": null, + "order": "CA-2017-116127", + "row": 9584, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 9584, + "date": null, + "order": null, + "row": 9584, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-16T00:00:00.000Z, - "orderId": "CA-2017-160633", - "rowId": 9618, + "date": 2020-11-16T00:00:00.000Z, + "order": "CA-2017-160633", + "row": 9618, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-160633", - "rowId": 9618, + "date": null, + "order": "CA-2017-160633", + "row": 9618, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 9618, + "date": null, + "order": null, + "row": 9618, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-16T00:00:00.000Z, - "orderId": "CA-2017-160633", - "rowId": 9619, + "date": 2020-11-16T00:00:00.000Z, + "order": "CA-2017-160633", + "row": 9619, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-160633", - "rowId": 9619, + "date": null, + "order": "CA-2017-160633", + "row": 9619, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 9619, + "date": null, + "order": null, + "row": 9619, }, Object { "SUM(a.cnt)": "44", - "orderDate": null, - "orderId": null, - "rowId": null, + "date": null, + "order": null, + "row": null, }, ] `; @@ -12938,6 +12938,71 @@ Array [ ] `; +exports[`Queries with the @cubejs-backend/redshift-driver querying BigECommerce: time series in rolling window 1`] = ` +Array [ + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "5", + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "7", + "BigECommerce.orderDate": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "6", + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "4", + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "9", + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + }, +] +`; + exports[`Queries with the @cubejs-backend/redshift-driver querying BigECommerce: totalProfitYearAgo 1`] = `Array []`; exports[`Queries with the @cubejs-backend/redshift-driver querying Customers: dimensions + limit 1`] = ` @@ -17833,19 +17898,3 @@ Array [ }, ] `; - -exports[`Queries with the @cubejs-backend/redshift-driver SQL API: Date/time comparison with SQL push down 1`] = ` -Array [ - Object { - "measure(BigECommerce.rollingCountBy2Day)": "12", - }, -] -`; - -exports[`Queries with the @cubejs-backend/redshift-driver SQL API: Date/time comparison with date_trunc with SQL push down 1`] = ` -Array [ - Object { - "measure(BigECommerce.rollingCountBy2Week)": "12", - }, -] -`; From 77b73f2f57c2ad93b46f217187e9a128ba322b98 Mon Sep 17 00:00:00 2001 From: Konstantin Burkalev Date: Thu, 26 Jun 2025 19:14:04 +0300 Subject: [PATCH 11/13] update snowflake snapshots --- .../snowflake-encrypted-pk-full.test.ts.snap | 65 + ...lake-export-bucket-azure-full.test.ts.snap | 65 +- ...port-bucket-azure-prefix-full.test.ts.snap | 65 +- ...-via-storage-integration-full.test.ts.snap | 65 +- ...wflake-export-bucket-gcs-full.test.ts.snap | 65 +- ...export-bucket-gcs-prefix-full.test.ts.snap | 65 +- ...owflake-export-bucket-s3-full.test.ts.snap | 65 +- ...-export-bucket-s3-prefix-full.test.ts.snap | 65 +- .../__snapshots__/snowflake-full.test.ts.snap | 2221 +++++++++-------- 9 files changed, 1599 insertions(+), 1142 deletions(-) diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-encrypted-pk-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-encrypted-pk-full.test.ts.snap index db910b2e108bc..42f9c850c502f 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-encrypted-pk-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-encrypted-pk-full.test.ts.snap @@ -18213,3 +18213,68 @@ Array [ }, ] `; + +exports[`Queries with the @cubejs-backend/snowflake-driver querying BigECommerce: time series in rolling window 1`] = ` +Array [ + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "5", + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "7", + "BigECommerce.orderDate": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "6", + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "4", + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "9", + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + }, +] +`; diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-export-bucket-azure-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-export-bucket-azure-full.test.ts.snap index 1e7b55bf046fd..12c2ef109a8a4 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-export-bucket-azure-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-export-bucket-azure-full.test.ts.snap @@ -18184,18 +18184,67 @@ Array [ ] `; -exports[`Queries with the @cubejs-backend/snowflake-driver export-bucket-azure SQL API: Date/time comparison with SQL push down 1`] = ` +exports[`Queries with the @cubejs-backend/snowflake-driver export-bucket-azure querying BigECommerce: time series in rolling window 1`] = ` Array [ Object { - "measure(BigECommerce.rollingCountBy2Day)": "12", + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver export-bucket-azure SQL API: Date/time comparison with date_trunc with SQL push down 1`] = ` -Array [ Object { - "measure(BigECommerce.rollingCountBy2Week)": "12", + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "5", + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "7", + "BigECommerce.orderDate": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "6", + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "4", + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "9", + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", }, ] `; diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-export-bucket-azure-prefix-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-export-bucket-azure-prefix-full.test.ts.snap index c601223d534d0..2c1dd4c1ba09e 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-export-bucket-azure-prefix-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-export-bucket-azure-prefix-full.test.ts.snap @@ -17989,18 +17989,67 @@ Array [ ] `; -exports[`Queries with the @cubejs-backend/snowflake-driver export-bucket-azure-prefix SQL API: Date/time comparison with SQL push down 1`] = ` +exports[`Queries with the @cubejs-backend/snowflake-driver export-bucket-azure-prefix querying BigECommerce: time series in rolling window 1`] = ` Array [ Object { - "measure(BigECommerce.rollingCountBy2Day)": "12", + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver export-bucket-azure-prefix SQL API: Date/time comparison with date_trunc with SQL push down 1`] = ` -Array [ Object { - "measure(BigECommerce.rollingCountBy2Week)": "12", + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "5", + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "7", + "BigECommerce.orderDate": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "6", + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "4", + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "9", + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", }, ] `; diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-export-bucket-azure-via-storage-integration-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-export-bucket-azure-via-storage-integration-full.test.ts.snap index 131414cd573bc..0d7c257788284 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-export-bucket-azure-via-storage-integration-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-export-bucket-azure-via-storage-integration-full.test.ts.snap @@ -18184,18 +18184,67 @@ Array [ ] `; -exports[`Queries with the @cubejs-backend/snowflake-driver export-bucket-azure-via-storage-integration SQL API: Date/time comparison with SQL push down 1`] = ` +exports[`Queries with the @cubejs-backend/snowflake-driver export-bucket-azure-via-storage-integration querying BigECommerce: time series in rolling window 1`] = ` Array [ Object { - "measure(BigECommerce.rollingCountBy2Day)": "12", + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver export-bucket-azure-via-storage-integration SQL API: Date/time comparison with date_trunc with SQL push down 1`] = ` -Array [ Object { - "measure(BigECommerce.rollingCountBy2Week)": "12", + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "5", + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "7", + "BigECommerce.orderDate": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "6", + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "4", + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "9", + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", }, ] `; diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-export-bucket-gcs-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-export-bucket-gcs-full.test.ts.snap index 6b1b8cf93ed21..40b8d5b8b97a9 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-export-bucket-gcs-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-export-bucket-gcs-full.test.ts.snap @@ -18184,18 +18184,67 @@ Array [ ] `; -exports[`Queries with the @cubejs-backend/snowflake-driver export-bucket-gcs SQL API: Date/time comparison with SQL push down 1`] = ` +exports[`Queries with the @cubejs-backend/snowflake-driver export-bucket-gcs querying BigECommerce: time series in rolling window 1`] = ` Array [ Object { - "measure(BigECommerce.rollingCountBy2Day)": "12", + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver export-bucket-gcs SQL API: Date/time comparison with date_trunc with SQL push down 1`] = ` -Array [ Object { - "measure(BigECommerce.rollingCountBy2Week)": "12", + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "5", + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "7", + "BigECommerce.orderDate": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "6", + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "4", + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "9", + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", }, ] `; diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-export-bucket-gcs-prefix-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-export-bucket-gcs-prefix-full.test.ts.snap index 4fe17d4d92320..7f3e833242138 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-export-bucket-gcs-prefix-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-export-bucket-gcs-prefix-full.test.ts.snap @@ -17989,18 +17989,67 @@ Array [ ] `; -exports[`Queries with the @cubejs-backend/snowflake-driver export-bucket-gcs-prefix SQL API: Date/time comparison with SQL push down 1`] = ` +exports[`Queries with the @cubejs-backend/snowflake-driver export-bucket-gcs-prefix querying BigECommerce: time series in rolling window 1`] = ` Array [ Object { - "measure(BigECommerce.rollingCountBy2Day)": "12", + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver export-bucket-gcs-prefix SQL API: Date/time comparison with date_trunc with SQL push down 1`] = ` -Array [ Object { - "measure(BigECommerce.rollingCountBy2Week)": "12", + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "5", + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "7", + "BigECommerce.orderDate": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "6", + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "4", + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "9", + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", }, ] `; diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-export-bucket-s3-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-export-bucket-s3-full.test.ts.snap index daad6660e0ef1..bb3b364093ca0 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-export-bucket-s3-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-export-bucket-s3-full.test.ts.snap @@ -18184,18 +18184,67 @@ Array [ ] `; -exports[`Queries with the @cubejs-backend/snowflake-driver export-bucket-s3 SQL API: Date/time comparison with SQL push down 1`] = ` +exports[`Queries with the @cubejs-backend/snowflake-driver export-bucket-s3 querying BigECommerce: time series in rolling window 1`] = ` Array [ Object { - "measure(BigECommerce.rollingCountBy2Day)": "12", + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver export-bucket-s3 SQL API: Date/time comparison with date_trunc with SQL push down 1`] = ` -Array [ Object { - "measure(BigECommerce.rollingCountBy2Week)": "12", + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "5", + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "7", + "BigECommerce.orderDate": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "6", + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "4", + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "9", + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", }, ] `; diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-export-bucket-s3-prefix-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-export-bucket-s3-prefix-full.test.ts.snap index 7eea26421f45a..e2c65f138d546 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-export-bucket-s3-prefix-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-export-bucket-s3-prefix-full.test.ts.snap @@ -17989,18 +17989,67 @@ Array [ ] `; -exports[`Queries with the @cubejs-backend/snowflake-driver export-bucket-s3-prefix SQL API: Date/time comparison with SQL push down 1`] = ` +exports[`Queries with the @cubejs-backend/snowflake-driver export-bucket-s3-prefix querying BigECommerce: time series in rolling window 1`] = ` Array [ Object { - "measure(BigECommerce.rollingCountBy2Day)": "12", + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver export-bucket-s3-prefix SQL API: Date/time comparison with date_trunc with SQL push down 1`] = ` -Array [ Object { - "measure(BigECommerce.rollingCountBy2Week)": "12", + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "5", + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "7", + "BigECommerce.orderDate": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "6", + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "4", + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "9", + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", }, ] `; diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-full.test.ts.snap index 209a50a198457..4a2bd4109b4e6 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-full.test.ts.snap @@ -2277,1605 +2277,1605 @@ Array [ ] `; -exports[`Queries with the @cubejs-backend/snowflake-driver SQL API: Nested Rollup over asterisk 1`] = ` +exports[`Queries with the @cubejs-backend/snowflake-driver SQL API: Nested Rollup 1`] = ` Array [ Object { - "SUM(a.count)": "1", - "date": 2020-01-23T00:00:00.000Z, - "order": "CA-2017-145142", - "row": 523, - }, - Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-145142", - "row": 523, + "SUM(a.cnt)": "1", + "orderDate": 2020-01-23T00:00:00.000Z, + "orderId": "CA-2017-145142", + "rowId": 523, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 523, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-145142", + "rowId": 523, }, Object { - "SUM(a.count)": "1", - "date": 2020-01-01T00:00:00.000Z, - "order": "CA-2017-107503", - "row": 849, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 523, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-107503", - "row": 849, + "SUM(a.cnt)": "1", + "orderDate": 2020-01-01T00:00:00.000Z, + "orderId": "CA-2017-107503", + "rowId": 849, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 849, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-107503", + "rowId": 849, }, Object { - "SUM(a.count)": "1", - "date": 2020-06-17T00:00:00.000Z, - "order": "CA-2017-118437", - "row": 1013, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 849, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-118437", - "row": 1013, + "SUM(a.cnt)": "1", + "orderDate": 2020-06-17T00:00:00.000Z, + "orderId": "CA-2017-118437", + "rowId": 1013, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 1013, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-118437", + "rowId": 1013, }, Object { - "SUM(a.count)": "1", - "date": 2020-10-30T00:00:00.000Z, - "order": "CA-2017-139661", - "row": 1494, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 1013, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-139661", - "row": 1494, + "SUM(a.cnt)": "1", + "orderDate": 2020-10-30T00:00:00.000Z, + "orderId": "CA-2017-139661", + "rowId": 1494, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 1494, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-139661", + "rowId": 1494, }, Object { - "SUM(a.count)": "1", - "date": 2020-06-25T00:00:00.000Z, - "order": "CA-2017-133648", - "row": 1995, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 1494, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-133648", - "row": 1995, + "SUM(a.cnt)": "1", + "orderDate": 2020-06-25T00:00:00.000Z, + "orderId": "CA-2017-133648", + "rowId": 1995, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 1995, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-133648", + "rowId": 1995, }, Object { - "SUM(a.count)": "1", - "date": 2020-09-23T00:00:00.000Z, - "order": "CA-2017-138422", - "row": 2329, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 1995, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-138422", - "row": 2329, + "SUM(a.cnt)": "1", + "orderDate": 2020-09-23T00:00:00.000Z, + "orderId": "CA-2017-138422", + "rowId": 2329, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 2329, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-138422", + "rowId": 2329, }, Object { - "SUM(a.count)": "1", - "date": 2020-03-17T00:00:00.000Z, - "order": "CA-2017-140949", - "row": 2455, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2329, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-140949", - "row": 2455, + "SUM(a.cnt)": "1", + "orderDate": 2020-03-17T00:00:00.000Z, + "orderId": "CA-2017-140949", + "rowId": 2455, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 2455, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-140949", + "rowId": 2455, }, Object { - "SUM(a.count)": "1", - "date": 2020-05-13T00:00:00.000Z, - "order": "CA-2017-149048", - "row": 2595, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2455, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-149048", - "row": 2595, + "SUM(a.cnt)": "1", + "orderDate": 2020-05-13T00:00:00.000Z, + "orderId": "CA-2017-149048", + "rowId": 2595, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 2595, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-149048", + "rowId": 2595, }, Object { - "SUM(a.count)": "1", - "date": 2020-09-17T00:00:00.000Z, - "order": "CA-2017-112515", - "row": 2655, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2595, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-112515", - "row": 2655, + "SUM(a.cnt)": "1", + "orderDate": 2020-09-17T00:00:00.000Z, + "orderId": "CA-2017-112515", + "rowId": 2655, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 2655, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-112515", + "rowId": 2655, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-28T00:00:00.000Z, - "order": "CA-2017-123372", - "row": 2661, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2655, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-123372", - "row": 2661, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-28T00:00:00.000Z, + "orderId": "CA-2017-123372", + "rowId": 2661, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 2661, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-123372", + "rowId": 2661, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-12T00:00:00.000Z, - "order": "CA-2017-134915", - "row": 2952, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2661, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-134915", - "row": 2952, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-12T00:00:00.000Z, + "orderId": "CA-2017-134915", + "rowId": 2952, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 2952, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-134915", + "rowId": 2952, }, Object { - "SUM(a.count)": "1", - "date": 2020-10-19T00:00:00.000Z, - "order": "CA-2017-131492", - "row": 3059, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2952, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-131492", - "row": 3059, + "SUM(a.cnt)": "1", + "orderDate": 2020-10-19T00:00:00.000Z, + "orderId": "CA-2017-131492", + "rowId": 3059, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 3059, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-131492", + "rowId": 3059, }, Object { - "SUM(a.count)": "1", - "date": 2020-10-19T00:00:00.000Z, - "order": "CA-2017-131492", - "row": 3060, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3059, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-131492", - "row": 3060, + "SUM(a.cnt)": "1", + "orderDate": 2020-10-19T00:00:00.000Z, + "orderId": "CA-2017-131492", + "rowId": 3060, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 3060, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-131492", + "rowId": 3060, }, Object { - "SUM(a.count)": "1", - "date": 2020-05-27T00:00:00.000Z, - "order": "US-2017-132297", - "row": 3083, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3060, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "US-2017-132297", - "row": 3083, + "SUM(a.cnt)": "1", + "orderDate": 2020-05-27T00:00:00.000Z, + "orderId": "US-2017-132297", + "rowId": 3083, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 3083, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "US-2017-132297", + "rowId": 3083, }, Object { - "SUM(a.count)": "1", - "date": 2020-06-11T00:00:00.000Z, - "order": "CA-2017-102554", - "row": 3448, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3083, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-102554", - "row": 3448, + "SUM(a.cnt)": "1", + "orderDate": 2020-06-11T00:00:00.000Z, + "orderId": "CA-2017-102554", + "rowId": 3448, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 3448, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-102554", + "rowId": 3448, }, Object { - "SUM(a.count)": "1", - "date": 2020-05-29T00:00:00.000Z, - "order": "CA-2017-144568", - "row": 3717, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3448, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-144568", - "row": 3717, + "SUM(a.cnt)": "1", + "orderDate": 2020-05-29T00:00:00.000Z, + "orderId": "CA-2017-144568", + "rowId": 3717, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 3717, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-144568", + "rowId": 3717, }, Object { - "SUM(a.count)": "1", - "date": 2020-09-02T00:00:00.000Z, - "order": "CA-2017-123001", - "row": 3934, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3717, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-123001", - "row": 3934, + "SUM(a.cnt)": "1", + "orderDate": 2020-09-02T00:00:00.000Z, + "orderId": "CA-2017-123001", + "rowId": 3934, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 3934, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-123001", + "rowId": 3934, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-21T00:00:00.000Z, - "order": "CA-2017-100811", - "row": 4012, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3934, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-100811", - "row": 4012, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-21T00:00:00.000Z, + "orderId": "CA-2017-100811", + "rowId": 4012, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 4012, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-100811", + "rowId": 4012, }, Object { - "SUM(a.count)": "1", - "date": 2020-12-24T00:00:00.000Z, - "order": "CA-2017-124296", - "row": 4031, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 4012, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-124296", - "row": 4031, + "SUM(a.cnt)": "1", + "orderDate": 2020-12-24T00:00:00.000Z, + "orderId": "CA-2017-124296", + "rowId": 4031, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 4031, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-124296", + "rowId": 4031, }, Object { - "SUM(a.count)": "1", - "date": 2020-05-14T00:00:00.000Z, - "order": "CA-2017-115546", - "row": 4161, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 4031, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-115546", - "row": 4161, + "SUM(a.cnt)": "1", + "orderDate": 2020-05-14T00:00:00.000Z, + "orderId": "CA-2017-115546", + "rowId": 4161, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 4161, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-115546", + "rowId": 4161, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-11T00:00:00.000Z, - "order": "CA-2017-120327", - "row": 4227, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 4161, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-120327", - "row": 4227, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-11T00:00:00.000Z, + "orderId": "CA-2017-120327", + "rowId": 4227, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 4227, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-120327", + "rowId": 4227, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-02T00:00:00.000Z, - "order": "CA-2017-143567", - "row": 4882, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 4227, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-143567", - "row": 4882, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-02T00:00:00.000Z, + "orderId": "CA-2017-143567", + "rowId": 4882, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 4882, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-143567", + "rowId": 4882, }, Object { - "SUM(a.count)": "1", - "date": 2020-09-01T00:00:00.000Z, - "order": "CA-2017-145653", - "row": 5220, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 4882, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-145653", - "row": 5220, + "SUM(a.cnt)": "1", + "orderDate": 2020-09-01T00:00:00.000Z, + "orderId": "CA-2017-145653", + "rowId": 5220, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 5220, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-145653", + "rowId": 5220, }, Object { - "SUM(a.count)": "1", - "date": 2020-12-14T00:00:00.000Z, - "order": "CA-2017-147333", - "row": 5277, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 5220, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-147333", - "row": 5277, + "SUM(a.cnt)": "1", + "orderDate": 2020-12-14T00:00:00.000Z, + "orderId": "CA-2017-147333", + "rowId": 5277, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 5277, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-147333", + "rowId": 5277, }, Object { - "SUM(a.count)": "1", - "date": 2020-06-03T00:00:00.000Z, - "order": "CA-2017-145772", - "row": 6125, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 5277, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-145772", - "row": 6125, + "SUM(a.cnt)": "1", + "orderDate": 2020-06-03T00:00:00.000Z, + "orderId": "CA-2017-145772", + "rowId": 6125, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 6125, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-145772", + "rowId": 6125, }, Object { - "SUM(a.count)": "1", - "date": 2020-12-01T00:00:00.000Z, - "order": "CA-2017-145660", - "row": 6205, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 6125, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-145660", - "row": 6205, + "SUM(a.cnt)": "1", + "orderDate": 2020-12-01T00:00:00.000Z, + "orderId": "CA-2017-145660", + "rowId": 6205, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 6205, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-145660", + "rowId": 6205, }, Object { - "SUM(a.count)": "1", - "date": 2020-12-02T00:00:00.000Z, - "order": "CA-2017-102379", - "row": 6272, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 6205, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-102379", - "row": 6272, + "SUM(a.cnt)": "1", + "orderDate": 2020-12-02T00:00:00.000Z, + "orderId": "CA-2017-102379", + "rowId": 6272, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 6272, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-102379", + "rowId": 6272, }, Object { - "SUM(a.count)": "1", - "date": 2020-05-14T00:00:00.000Z, - "order": "US-2017-133361", - "row": 6459, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 6272, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "US-2017-133361", - "row": 6459, + "SUM(a.cnt)": "1", + "orderDate": 2020-05-14T00:00:00.000Z, + "orderId": "US-2017-133361", + "rowId": 6459, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 6459, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "US-2017-133361", + "rowId": 6459, }, Object { - "SUM(a.count)": "1", - "date": 2020-09-08T00:00:00.000Z, - "order": "US-2017-124779", - "row": 6651, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 6459, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "US-2017-124779", - "row": 6651, + "SUM(a.cnt)": "1", + "orderDate": 2020-09-08T00:00:00.000Z, + "orderId": "US-2017-124779", + "rowId": 6651, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 6651, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "US-2017-124779", + "rowId": 6651, }, Object { - "SUM(a.count)": "1", - "date": 2020-03-26T00:00:00.000Z, - "order": "US-2017-141677", - "row": 7174, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 6651, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "US-2017-141677", - "row": 7174, + "SUM(a.cnt)": "1", + "orderDate": 2020-03-26T00:00:00.000Z, + "orderId": "US-2017-141677", + "rowId": 7174, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 7174, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "US-2017-141677", + "rowId": 7174, }, Object { - "SUM(a.count)": "1", - "date": 2020-12-04T00:00:00.000Z, - "order": "CA-2017-109183", - "row": 7293, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 7174, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-109183", - "row": 7293, + "SUM(a.cnt)": "1", + "orderDate": 2020-12-04T00:00:00.000Z, + "orderId": "CA-2017-109183", + "rowId": 7293, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 7293, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-109183", + "rowId": 7293, }, Object { - "SUM(a.count)": "1", - "date": 2020-06-10T00:00:00.000Z, - "order": "CA-2017-112172", - "row": 7310, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 7293, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-112172", - "row": 7310, + "SUM(a.cnt)": "1", + "orderDate": 2020-06-10T00:00:00.000Z, + "orderId": "CA-2017-112172", + "rowId": 7310, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 7310, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-112172", + "rowId": 7310, }, Object { - "SUM(a.count)": "1", - "date": 2020-04-10T00:00:00.000Z, - "order": "CA-2017-135069", - "row": 7425, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 7310, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-135069", - "row": 7425, + "SUM(a.cnt)": "1", + "orderDate": 2020-04-10T00:00:00.000Z, + "orderId": "CA-2017-135069", + "rowId": 7425, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 7425, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-135069", + "rowId": 7425, }, Object { - "SUM(a.count)": "1", - "date": 2020-12-14T00:00:00.000Z, - "order": "CA-2017-151799", - "row": 7698, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 7425, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-151799", - "row": 7698, + "SUM(a.cnt)": "1", + "orderDate": 2020-12-14T00:00:00.000Z, + "orderId": "CA-2017-151799", + "rowId": 7698, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 7698, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-151799", + "rowId": 7698, }, Object { - "SUM(a.count)": "1", - "date": 2020-10-12T00:00:00.000Z, - "order": "CA-2017-150091", - "row": 8425, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 7698, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-150091", - "row": 8425, + "SUM(a.cnt)": "1", + "orderDate": 2020-10-12T00:00:00.000Z, + "orderId": "CA-2017-150091", + "rowId": 8425, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 8425, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-150091", + "rowId": 8425, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-06T00:00:00.000Z, - "order": "US-2017-119319", - "row": 8621, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8425, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "US-2017-119319", - "row": 8621, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-06T00:00:00.000Z, + "orderId": "US-2017-119319", + "rowId": 8621, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 8621, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "US-2017-119319", + "rowId": 8621, }, Object { - "SUM(a.count)": "1", - "date": 2020-02-16T00:00:00.000Z, - "order": "CA-2017-163265", - "row": 8673, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8621, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-163265", - "row": 8673, + "SUM(a.cnt)": "1", + "orderDate": 2020-02-16T00:00:00.000Z, + "orderId": "CA-2017-163265", + "rowId": 8673, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 8673, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-163265", + "rowId": 8673, }, Object { - "SUM(a.count)": "1", - "date": 2020-06-15T00:00:00.000Z, - "order": "CA-2017-119284", - "row": 8697, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8673, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-119284", - "row": 8697, + "SUM(a.cnt)": "1", + "orderDate": 2020-06-15T00:00:00.000Z, + "orderId": "CA-2017-119284", + "rowId": 8697, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 8697, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-119284", + "rowId": 8697, }, Object { - "SUM(a.count)": "1", - "date": 2020-09-17T00:00:00.000Z, - "order": "CA-2017-126928", - "row": 8878, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8697, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-126928", - "row": 8878, + "SUM(a.cnt)": "1", + "orderDate": 2020-09-17T00:00:00.000Z, + "orderId": "CA-2017-126928", + "rowId": 8878, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 8878, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-126928", + "rowId": 8878, }, Object { - "SUM(a.count)": "1", - "date": 2020-12-25T00:00:00.000Z, - "order": "CA-2017-105620", - "row": 8958, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8878, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-105620", - "row": 8958, + "SUM(a.cnt)": "1", + "orderDate": 2020-12-25T00:00:00.000Z, + "orderId": "CA-2017-105620", + "rowId": 8958, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 8958, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-105620", + "rowId": 8958, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-05T00:00:00.000Z, - "order": "CA-2017-102925", - "row": 9473, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8958, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-102925", - "row": 9473, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-05T00:00:00.000Z, + "orderId": "CA-2017-102925", + "rowId": 9473, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 9473, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-102925", + "rowId": 9473, }, Object { - "SUM(a.count)": "1", - "date": 2020-06-25T00:00:00.000Z, - "order": "CA-2017-116127", - "row": 9584, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 9473, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-116127", - "row": 9584, + "SUM(a.cnt)": "1", + "orderDate": 2020-06-25T00:00:00.000Z, + "orderId": "CA-2017-116127", + "rowId": 9584, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 9584, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-116127", + "rowId": 9584, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-16T00:00:00.000Z, - "order": "CA-2017-160633", - "row": 9618, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 9584, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-160633", - "row": 9618, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-16T00:00:00.000Z, + "orderId": "CA-2017-160633", + "rowId": 9618, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 9618, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-160633", + "rowId": 9618, }, Object { - "SUM(a.count)": "1", - "date": 2020-11-16T00:00:00.000Z, - "order": "CA-2017-160633", - "row": 9619, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 9618, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": "CA-2017-160633", - "row": 9619, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-16T00:00:00.000Z, + "orderId": "CA-2017-160633", + "rowId": 9619, }, Object { - "SUM(a.count)": "1", - "date": null, - "order": null, - "row": 9619, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-160633", + "rowId": 9619, }, Object { - "SUM(a.count)": "44", - "date": null, - "order": null, - "row": null, + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 9619, + }, + Object { + "SUM(a.cnt)": "44", + "orderDate": null, + "orderId": null, + "rowId": null, }, ] `; -exports[`Queries with the @cubejs-backend/snowflake-driver SQL API: Nested Rollup with aliases 1`] = ` +exports[`Queries with the @cubejs-backend/snowflake-driver SQL API: Nested Rollup over asterisk 1`] = ` Array [ Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-01-23T00:00:00.000Z, "order": "CA-2017-145142", "row": 523, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-145142", "row": 523, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 523, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-01-01T00:00:00.000Z, "order": "CA-2017-107503", "row": 849, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-107503", "row": 849, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 849, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-06-17T00:00:00.000Z, "order": "CA-2017-118437", "row": 1013, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-118437", "row": 1013, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 1013, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-10-30T00:00:00.000Z, "order": "CA-2017-139661", "row": 1494, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-139661", "row": 1494, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 1494, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-06-25T00:00:00.000Z, "order": "CA-2017-133648", "row": 1995, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-133648", "row": 1995, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 1995, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-09-23T00:00:00.000Z, "order": "CA-2017-138422", "row": 2329, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-138422", "row": 2329, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 2329, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-03-17T00:00:00.000Z, "order": "CA-2017-140949", "row": 2455, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-140949", "row": 2455, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 2455, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-05-13T00:00:00.000Z, "order": "CA-2017-149048", "row": 2595, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-149048", "row": 2595, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 2595, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-09-17T00:00:00.000Z, "order": "CA-2017-112515", "row": 2655, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-112515", "row": 2655, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 2655, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-28T00:00:00.000Z, "order": "CA-2017-123372", "row": 2661, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-123372", "row": 2661, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 2661, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-12T00:00:00.000Z, "order": "CA-2017-134915", "row": 2952, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-134915", "row": 2952, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 2952, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-10-19T00:00:00.000Z, "order": "CA-2017-131492", "row": 3059, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-131492", "row": 3059, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 3059, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-10-19T00:00:00.000Z, "order": "CA-2017-131492", "row": 3060, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-131492", "row": 3060, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 3060, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-05-27T00:00:00.000Z, "order": "US-2017-132297", "row": 3083, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "US-2017-132297", "row": 3083, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 3083, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-06-11T00:00:00.000Z, "order": "CA-2017-102554", "row": 3448, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-102554", "row": 3448, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 3448, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-05-29T00:00:00.000Z, "order": "CA-2017-144568", "row": 3717, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-144568", "row": 3717, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 3717, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-09-02T00:00:00.000Z, "order": "CA-2017-123001", "row": 3934, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-123001", "row": 3934, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 3934, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-21T00:00:00.000Z, "order": "CA-2017-100811", "row": 4012, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-100811", "row": 4012, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 4012, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-12-24T00:00:00.000Z, "order": "CA-2017-124296", "row": 4031, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-124296", "row": 4031, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 4031, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-05-14T00:00:00.000Z, "order": "CA-2017-115546", "row": 4161, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-115546", "row": 4161, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 4161, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-11T00:00:00.000Z, "order": "CA-2017-120327", "row": 4227, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-120327", "row": 4227, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 4227, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-02T00:00:00.000Z, "order": "CA-2017-143567", "row": 4882, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-143567", "row": 4882, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 4882, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-09-01T00:00:00.000Z, "order": "CA-2017-145653", "row": 5220, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-145653", "row": 5220, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 5220, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-12-14T00:00:00.000Z, "order": "CA-2017-147333", "row": 5277, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-147333", "row": 5277, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 5277, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-06-03T00:00:00.000Z, "order": "CA-2017-145772", "row": 6125, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-145772", "row": 6125, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 6125, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-12-01T00:00:00.000Z, "order": "CA-2017-145660", "row": 6205, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-145660", "row": 6205, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 6205, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-12-02T00:00:00.000Z, "order": "CA-2017-102379", "row": 6272, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-102379", "row": 6272, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 6272, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-05-14T00:00:00.000Z, "order": "US-2017-133361", "row": 6459, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "US-2017-133361", "row": 6459, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 6459, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-09-08T00:00:00.000Z, "order": "US-2017-124779", "row": 6651, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "US-2017-124779", "row": 6651, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 6651, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-03-26T00:00:00.000Z, "order": "US-2017-141677", "row": 7174, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "US-2017-141677", "row": 7174, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 7174, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-12-04T00:00:00.000Z, "order": "CA-2017-109183", "row": 7293, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-109183", "row": 7293, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 7293, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-06-10T00:00:00.000Z, "order": "CA-2017-112172", "row": 7310, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-112172", "row": 7310, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 7310, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-04-10T00:00:00.000Z, "order": "CA-2017-135069", "row": 7425, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-135069", "row": 7425, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 7425, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-12-14T00:00:00.000Z, "order": "CA-2017-151799", "row": 7698, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-151799", "row": 7698, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 7698, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-10-12T00:00:00.000Z, "order": "CA-2017-150091", "row": 8425, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-150091", "row": 8425, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 8425, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-06T00:00:00.000Z, "order": "US-2017-119319", "row": 8621, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "US-2017-119319", "row": 8621, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 8621, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-02-16T00:00:00.000Z, "order": "CA-2017-163265", "row": 8673, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-163265", "row": 8673, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 8673, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-06-15T00:00:00.000Z, "order": "CA-2017-119284", "row": 8697, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-119284", "row": 8697, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 8697, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-09-17T00:00:00.000Z, "order": "CA-2017-126928", "row": 8878, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-126928", "row": 8878, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 8878, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-12-25T00:00:00.000Z, "order": "CA-2017-105620", "row": 8958, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-105620", "row": 8958, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 8958, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-05T00:00:00.000Z, "order": "CA-2017-102925", "row": 9473, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-102925", "row": 9473, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 9473, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-06-25T00:00:00.000Z, "order": "CA-2017-116127", "row": 9584, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-116127", "row": 9584, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 9584, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-16T00:00:00.000Z, "order": "CA-2017-160633", "row": 9618, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-160633", "row": 9618, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 9618, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": 2020-11-16T00:00:00.000Z, "order": "CA-2017-160633", "row": 9619, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": "CA-2017-160633", "row": 9619, }, Object { - "SUM(a.cnt)": "1", + "SUM(a.count)": "1", "date": null, "order": null, "row": 9619, }, Object { - "SUM(a.cnt)": "44", + "SUM(a.count)": "44", "date": null, "order": null, "row": null, @@ -3883,805 +3883,805 @@ Array [ ] `; -exports[`Queries with the @cubejs-backend/snowflake-driver SQL API: Nested Rollup 1`] = ` +exports[`Queries with the @cubejs-backend/snowflake-driver SQL API: Nested Rollup with aliases 1`] = ` Array [ Object { "SUM(a.cnt)": "1", - "orderDate": 2020-01-23T00:00:00.000Z, - "orderId": "CA-2017-145142", - "rowId": 523, + "date": 2020-01-23T00:00:00.000Z, + "order": "CA-2017-145142", + "row": 523, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-145142", - "rowId": 523, + "date": null, + "order": "CA-2017-145142", + "row": 523, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 523, + "date": null, + "order": null, + "row": 523, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-01-01T00:00:00.000Z, - "orderId": "CA-2017-107503", - "rowId": 849, + "date": 2020-01-01T00:00:00.000Z, + "order": "CA-2017-107503", + "row": 849, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-107503", - "rowId": 849, + "date": null, + "order": "CA-2017-107503", + "row": 849, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 849, + "date": null, + "order": null, + "row": 849, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-06-17T00:00:00.000Z, - "orderId": "CA-2017-118437", - "rowId": 1013, + "date": 2020-06-17T00:00:00.000Z, + "order": "CA-2017-118437", + "row": 1013, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-118437", - "rowId": 1013, + "date": null, + "order": "CA-2017-118437", + "row": 1013, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 1013, + "date": null, + "order": null, + "row": 1013, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-10-30T00:00:00.000Z, - "orderId": "CA-2017-139661", - "rowId": 1494, + "date": 2020-10-30T00:00:00.000Z, + "order": "CA-2017-139661", + "row": 1494, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-139661", - "rowId": 1494, + "date": null, + "order": "CA-2017-139661", + "row": 1494, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 1494, + "date": null, + "order": null, + "row": 1494, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-06-25T00:00:00.000Z, - "orderId": "CA-2017-133648", - "rowId": 1995, + "date": 2020-06-25T00:00:00.000Z, + "order": "CA-2017-133648", + "row": 1995, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-133648", - "rowId": 1995, + "date": null, + "order": "CA-2017-133648", + "row": 1995, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 1995, + "date": null, + "order": null, + "row": 1995, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-09-23T00:00:00.000Z, - "orderId": "CA-2017-138422", - "rowId": 2329, + "date": 2020-09-23T00:00:00.000Z, + "order": "CA-2017-138422", + "row": 2329, }, Object { - "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-138422", - "rowId": 2329, + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-138422", + "row": 2329, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2329, + "date": null, + "order": null, + "row": 2329, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-03-17T00:00:00.000Z, - "orderId": "CA-2017-140949", - "rowId": 2455, + "date": 2020-03-17T00:00:00.000Z, + "order": "CA-2017-140949", + "row": 2455, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-140949", - "rowId": 2455, + "date": null, + "order": "CA-2017-140949", + "row": 2455, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2455, + "date": null, + "order": null, + "row": 2455, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-05-13T00:00:00.000Z, - "orderId": "CA-2017-149048", - "rowId": 2595, + "date": 2020-05-13T00:00:00.000Z, + "order": "CA-2017-149048", + "row": 2595, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-149048", - "rowId": 2595, + "date": null, + "order": "CA-2017-149048", + "row": 2595, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2595, + "date": null, + "order": null, + "row": 2595, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-09-17T00:00:00.000Z, - "orderId": "CA-2017-112515", - "rowId": 2655, + "date": 2020-09-17T00:00:00.000Z, + "order": "CA-2017-112515", + "row": 2655, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-112515", - "rowId": 2655, + "date": null, + "order": "CA-2017-112515", + "row": 2655, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2655, + "date": null, + "order": null, + "row": 2655, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-28T00:00:00.000Z, - "orderId": "CA-2017-123372", - "rowId": 2661, + "date": 2020-11-28T00:00:00.000Z, + "order": "CA-2017-123372", + "row": 2661, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-123372", - "rowId": 2661, + "date": null, + "order": "CA-2017-123372", + "row": 2661, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2661, + "date": null, + "order": null, + "row": 2661, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-12T00:00:00.000Z, - "orderId": "CA-2017-134915", - "rowId": 2952, + "date": 2020-11-12T00:00:00.000Z, + "order": "CA-2017-134915", + "row": 2952, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-134915", - "rowId": 2952, + "date": null, + "order": "CA-2017-134915", + "row": 2952, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2952, + "date": null, + "order": null, + "row": 2952, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-10-19T00:00:00.000Z, - "orderId": "CA-2017-131492", - "rowId": 3059, + "date": 2020-10-19T00:00:00.000Z, + "order": "CA-2017-131492", + "row": 3059, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-131492", - "rowId": 3059, + "date": null, + "order": "CA-2017-131492", + "row": 3059, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3059, + "date": null, + "order": null, + "row": 3059, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-10-19T00:00:00.000Z, - "orderId": "CA-2017-131492", - "rowId": 3060, + "date": 2020-10-19T00:00:00.000Z, + "order": "CA-2017-131492", + "row": 3060, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-131492", - "rowId": 3060, + "date": null, + "order": "CA-2017-131492", + "row": 3060, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3060, + "date": null, + "order": null, + "row": 3060, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-05-27T00:00:00.000Z, - "orderId": "US-2017-132297", - "rowId": 3083, + "date": 2020-05-27T00:00:00.000Z, + "order": "US-2017-132297", + "row": 3083, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "US-2017-132297", - "rowId": 3083, + "date": null, + "order": "US-2017-132297", + "row": 3083, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3083, + "date": null, + "order": null, + "row": 3083, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-06-11T00:00:00.000Z, - "orderId": "CA-2017-102554", - "rowId": 3448, + "date": 2020-06-11T00:00:00.000Z, + "order": "CA-2017-102554", + "row": 3448, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-102554", - "rowId": 3448, + "date": null, + "order": "CA-2017-102554", + "row": 3448, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3448, + "date": null, + "order": null, + "row": 3448, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-05-29T00:00:00.000Z, - "orderId": "CA-2017-144568", - "rowId": 3717, + "date": 2020-05-29T00:00:00.000Z, + "order": "CA-2017-144568", + "row": 3717, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-144568", - "rowId": 3717, + "date": null, + "order": "CA-2017-144568", + "row": 3717, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3717, + "date": null, + "order": null, + "row": 3717, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-09-02T00:00:00.000Z, - "orderId": "CA-2017-123001", - "rowId": 3934, + "date": 2020-09-02T00:00:00.000Z, + "order": "CA-2017-123001", + "row": 3934, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-123001", - "rowId": 3934, + "date": null, + "order": "CA-2017-123001", + "row": 3934, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3934, + "date": null, + "order": null, + "row": 3934, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-21T00:00:00.000Z, - "orderId": "CA-2017-100811", - "rowId": 4012, + "date": 2020-11-21T00:00:00.000Z, + "order": "CA-2017-100811", + "row": 4012, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-100811", - "rowId": 4012, + "date": null, + "order": "CA-2017-100811", + "row": 4012, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 4012, + "date": null, + "order": null, + "row": 4012, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-12-24T00:00:00.000Z, - "orderId": "CA-2017-124296", - "rowId": 4031, + "date": 2020-12-24T00:00:00.000Z, + "order": "CA-2017-124296", + "row": 4031, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-124296", - "rowId": 4031, + "date": null, + "order": "CA-2017-124296", + "row": 4031, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 4031, + "date": null, + "order": null, + "row": 4031, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-05-14T00:00:00.000Z, - "orderId": "CA-2017-115546", - "rowId": 4161, + "date": 2020-05-14T00:00:00.000Z, + "order": "CA-2017-115546", + "row": 4161, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-115546", - "rowId": 4161, + "date": null, + "order": "CA-2017-115546", + "row": 4161, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 4161, + "date": null, + "order": null, + "row": 4161, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-11T00:00:00.000Z, - "orderId": "CA-2017-120327", - "rowId": 4227, + "date": 2020-11-11T00:00:00.000Z, + "order": "CA-2017-120327", + "row": 4227, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-120327", - "rowId": 4227, + "date": null, + "order": "CA-2017-120327", + "row": 4227, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 4227, + "date": null, + "order": null, + "row": 4227, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-02T00:00:00.000Z, - "orderId": "CA-2017-143567", - "rowId": 4882, + "date": 2020-11-02T00:00:00.000Z, + "order": "CA-2017-143567", + "row": 4882, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-143567", - "rowId": 4882, + "date": null, + "order": "CA-2017-143567", + "row": 4882, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 4882, + "date": null, + "order": null, + "row": 4882, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-09-01T00:00:00.000Z, - "orderId": "CA-2017-145653", - "rowId": 5220, + "date": 2020-09-01T00:00:00.000Z, + "order": "CA-2017-145653", + "row": 5220, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-145653", - "rowId": 5220, + "date": null, + "order": "CA-2017-145653", + "row": 5220, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 5220, + "date": null, + "order": null, + "row": 5220, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-12-14T00:00:00.000Z, - "orderId": "CA-2017-147333", - "rowId": 5277, + "date": 2020-12-14T00:00:00.000Z, + "order": "CA-2017-147333", + "row": 5277, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-147333", - "rowId": 5277, + "date": null, + "order": "CA-2017-147333", + "row": 5277, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 5277, + "date": null, + "order": null, + "row": 5277, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-06-03T00:00:00.000Z, - "orderId": "CA-2017-145772", - "rowId": 6125, + "date": 2020-06-03T00:00:00.000Z, + "order": "CA-2017-145772", + "row": 6125, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-145772", - "rowId": 6125, + "date": null, + "order": "CA-2017-145772", + "row": 6125, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 6125, + "date": null, + "order": null, + "row": 6125, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-12-01T00:00:00.000Z, - "orderId": "CA-2017-145660", - "rowId": 6205, + "date": 2020-12-01T00:00:00.000Z, + "order": "CA-2017-145660", + "row": 6205, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-145660", - "rowId": 6205, + "date": null, + "order": "CA-2017-145660", + "row": 6205, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 6205, + "date": null, + "order": null, + "row": 6205, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-12-02T00:00:00.000Z, - "orderId": "CA-2017-102379", - "rowId": 6272, + "date": 2020-12-02T00:00:00.000Z, + "order": "CA-2017-102379", + "row": 6272, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-102379", - "rowId": 6272, + "date": null, + "order": "CA-2017-102379", + "row": 6272, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 6272, + "date": null, + "order": null, + "row": 6272, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-05-14T00:00:00.000Z, - "orderId": "US-2017-133361", - "rowId": 6459, + "date": 2020-05-14T00:00:00.000Z, + "order": "US-2017-133361", + "row": 6459, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "US-2017-133361", - "rowId": 6459, + "date": null, + "order": "US-2017-133361", + "row": 6459, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 6459, + "date": null, + "order": null, + "row": 6459, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-09-08T00:00:00.000Z, - "orderId": "US-2017-124779", - "rowId": 6651, + "date": 2020-09-08T00:00:00.000Z, + "order": "US-2017-124779", + "row": 6651, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "US-2017-124779", - "rowId": 6651, + "date": null, + "order": "US-2017-124779", + "row": 6651, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 6651, + "date": null, + "order": null, + "row": 6651, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-03-26T00:00:00.000Z, - "orderId": "US-2017-141677", - "rowId": 7174, + "date": 2020-03-26T00:00:00.000Z, + "order": "US-2017-141677", + "row": 7174, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "US-2017-141677", - "rowId": 7174, + "date": null, + "order": "US-2017-141677", + "row": 7174, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 7174, + "date": null, + "order": null, + "row": 7174, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-12-04T00:00:00.000Z, - "orderId": "CA-2017-109183", - "rowId": 7293, + "date": 2020-12-04T00:00:00.000Z, + "order": "CA-2017-109183", + "row": 7293, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-109183", - "rowId": 7293, + "date": null, + "order": "CA-2017-109183", + "row": 7293, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 7293, + "date": null, + "order": null, + "row": 7293, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-06-10T00:00:00.000Z, - "orderId": "CA-2017-112172", - "rowId": 7310, + "date": 2020-06-10T00:00:00.000Z, + "order": "CA-2017-112172", + "row": 7310, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-112172", - "rowId": 7310, + "date": null, + "order": "CA-2017-112172", + "row": 7310, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 7310, + "date": null, + "order": null, + "row": 7310, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-04-10T00:00:00.000Z, - "orderId": "CA-2017-135069", - "rowId": 7425, + "date": 2020-04-10T00:00:00.000Z, + "order": "CA-2017-135069", + "row": 7425, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-135069", - "rowId": 7425, + "date": null, + "order": "CA-2017-135069", + "row": 7425, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 7425, + "date": null, + "order": null, + "row": 7425, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-12-14T00:00:00.000Z, - "orderId": "CA-2017-151799", - "rowId": 7698, + "date": 2020-12-14T00:00:00.000Z, + "order": "CA-2017-151799", + "row": 7698, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-151799", - "rowId": 7698, + "date": null, + "order": "CA-2017-151799", + "row": 7698, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 7698, + "date": null, + "order": null, + "row": 7698, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-10-12T00:00:00.000Z, - "orderId": "CA-2017-150091", - "rowId": 8425, + "date": 2020-10-12T00:00:00.000Z, + "order": "CA-2017-150091", + "row": 8425, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-150091", - "rowId": 8425, + "date": null, + "order": "CA-2017-150091", + "row": 8425, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8425, + "date": null, + "order": null, + "row": 8425, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-06T00:00:00.000Z, - "orderId": "US-2017-119319", - "rowId": 8621, + "date": 2020-11-06T00:00:00.000Z, + "order": "US-2017-119319", + "row": 8621, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "US-2017-119319", - "rowId": 8621, + "date": null, + "order": "US-2017-119319", + "row": 8621, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8621, + "date": null, + "order": null, + "row": 8621, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-02-16T00:00:00.000Z, - "orderId": "CA-2017-163265", - "rowId": 8673, + "date": 2020-02-16T00:00:00.000Z, + "order": "CA-2017-163265", + "row": 8673, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-163265", - "rowId": 8673, + "date": null, + "order": "CA-2017-163265", + "row": 8673, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8673, + "date": null, + "order": null, + "row": 8673, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-06-15T00:00:00.000Z, - "orderId": "CA-2017-119284", - "rowId": 8697, + "date": 2020-06-15T00:00:00.000Z, + "order": "CA-2017-119284", + "row": 8697, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-119284", - "rowId": 8697, + "date": null, + "order": "CA-2017-119284", + "row": 8697, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8697, + "date": null, + "order": null, + "row": 8697, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-09-17T00:00:00.000Z, - "orderId": "CA-2017-126928", - "rowId": 8878, + "date": 2020-09-17T00:00:00.000Z, + "order": "CA-2017-126928", + "row": 8878, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-126928", - "rowId": 8878, + "date": null, + "order": "CA-2017-126928", + "row": 8878, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8878, + "date": null, + "order": null, + "row": 8878, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-12-25T00:00:00.000Z, - "orderId": "CA-2017-105620", - "rowId": 8958, + "date": 2020-12-25T00:00:00.000Z, + "order": "CA-2017-105620", + "row": 8958, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-105620", - "rowId": 8958, + "date": null, + "order": "CA-2017-105620", + "row": 8958, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8958, + "date": null, + "order": null, + "row": 8958, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-05T00:00:00.000Z, - "orderId": "CA-2017-102925", - "rowId": 9473, + "date": 2020-11-05T00:00:00.000Z, + "order": "CA-2017-102925", + "row": 9473, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-102925", - "rowId": 9473, + "date": null, + "order": "CA-2017-102925", + "row": 9473, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 9473, + "date": null, + "order": null, + "row": 9473, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-06-25T00:00:00.000Z, - "orderId": "CA-2017-116127", - "rowId": 9584, + "date": 2020-06-25T00:00:00.000Z, + "order": "CA-2017-116127", + "row": 9584, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-116127", - "rowId": 9584, + "date": null, + "order": "CA-2017-116127", + "row": 9584, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 9584, + "date": null, + "order": null, + "row": 9584, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-16T00:00:00.000Z, - "orderId": "CA-2017-160633", - "rowId": 9618, + "date": 2020-11-16T00:00:00.000Z, + "order": "CA-2017-160633", + "row": 9618, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-160633", - "rowId": 9618, + "date": null, + "order": "CA-2017-160633", + "row": 9618, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 9618, + "date": null, + "order": null, + "row": 9618, }, Object { "SUM(a.cnt)": "1", - "orderDate": 2020-11-16T00:00:00.000Z, - "orderId": "CA-2017-160633", - "rowId": 9619, + "date": 2020-11-16T00:00:00.000Z, + "order": "CA-2017-160633", + "row": 9619, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": "CA-2017-160633", - "rowId": 9619, + "date": null, + "order": "CA-2017-160633", + "row": 9619, }, Object { "SUM(a.cnt)": "1", - "orderDate": null, - "orderId": null, - "rowId": 9619, + "date": null, + "order": null, + "row": 9619, }, Object { "SUM(a.cnt)": "44", - "orderDate": null, - "orderId": null, - "rowId": null, + "date": null, + "order": null, + "row": null, }, ] `; @@ -13125,6 +13125,71 @@ Array [ ] `; +exports[`Queries with the @cubejs-backend/snowflake-driver querying BigECommerce: time series in rolling window 1`] = ` +Array [ + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "5", + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "7", + "BigECommerce.orderDate": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "6", + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "4", + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "9", + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + }, +] +`; + exports[`Queries with the @cubejs-backend/snowflake-driver querying BigECommerce: totalProfitYearAgo 1`] = `Array []`; exports[`Queries with the @cubejs-backend/snowflake-driver querying Customers: dimensions + limit 1`] = ` @@ -18183,19 +18248,3 @@ Array [ }, ] `; - -exports[`Queries with the @cubejs-backend/snowflake-driver SQL API: Date/time comparison with SQL push down 1`] = ` -Array [ - Object { - "measure(BigECommerce.rollingCountBy2Day)": "12", - }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver SQL API: Date/time comparison with date_trunc with SQL push down 1`] = ` -Array [ - Object { - "measure(BigECommerce.rollingCountBy2Week)": "12", - }, -] -`; From 62cb31e0db84eb65752fcb56e903ef6bc6b4ad76 Mon Sep 17 00:00:00 2001 From: Konstantin Burkalev Date: Thu, 26 Jun 2025 19:34:44 +0300 Subject: [PATCH 12/13] fix snapshot name --- .../test/__snapshots__/snowflake-encrypted-pk-full.test.ts.snap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-encrypted-pk-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-encrypted-pk-full.test.ts.snap index 42f9c850c502f..bc32c91c21bad 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-encrypted-pk-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/snowflake-encrypted-pk-full.test.ts.snap @@ -18214,7 +18214,7 @@ Array [ ] `; -exports[`Queries with the @cubejs-backend/snowflake-driver querying BigECommerce: time series in rolling window 1`] = ` +exports[`Queries with the @cubejs-backend/snowflake-driver encrypted-pk querying BigECommerce: time series in rolling window 1`] = ` Array [ Object { "BigECommerce.customersCountPrev1Month": null, From cc619f520ea5b791564d9fb98745430556c53c15 Mon Sep 17 00:00:00 2001 From: Konstantin Burkalev Date: Thu, 26 Jun 2025 19:35:54 +0300 Subject: [PATCH 13/13] fix tests --- packages/cubejs-testing-drivers/fixtures/clickhouse.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/cubejs-testing-drivers/fixtures/clickhouse.json b/packages/cubejs-testing-drivers/fixtures/clickhouse.json index 0838cd9323a0f..fc036944005f5 100644 --- a/packages/cubejs-testing-drivers/fixtures/clickhouse.json +++ b/packages/cubejs-testing-drivers/fixtures/clickhouse.json @@ -191,6 +191,7 @@ "querying BigECommerce: rolling window YTD (month + week + no gran)", "querying BigECommerce: rolling window YTD (month + week + day)", "querying BigECommerce: rolling window YTD (month + week + day + no gran)", + "querying BigECommerce: time series in rolling window", "---------------------------------------", "Requires Tesseract. ",