diff --git a/packages/cubejs-snowflake-driver/package.json b/packages/cubejs-snowflake-driver/package.json index efce2551cf919..a66a0b8523ce4 100644 --- a/packages/cubejs-snowflake-driver/package.json +++ b/packages/cubejs-snowflake-driver/package.json @@ -29,7 +29,7 @@ "@cubejs-backend/shared": "^0.36.0", "@google-cloud/storage": "^5.8.5", "date-fns-timezone": "^0.1.4", - "snowflake-sdk": "^1.8.0" + "snowflake-sdk": "^1.13.1" }, "license": "Apache-2.0", "publishConfig": { @@ -40,7 +40,6 @@ }, "devDependencies": { "@cubejs-backend/linter": "^0.36.0", - "@types/snowflake-sdk": "^1.6.8", "typescript": "~5.2.2" } } diff --git a/packages/cubejs-snowflake-driver/src/SnowflakeDriver.ts b/packages/cubejs-snowflake-driver/src/SnowflakeDriver.ts index 97b11354fccc0..9a61e6f6540b0 100644 --- a/packages/cubejs-snowflake-driver/src/SnowflakeDriver.ts +++ b/packages/cubejs-snowflake-driver/src/SnowflakeDriver.ts @@ -8,7 +8,7 @@ import { getEnv, assertDataSource, } from '@cubejs-backend/shared'; -import snowflake, { Column, Connection, Statement } from 'snowflake-sdk'; +import snowflake, { Column, Connection, RowStatement } from 'snowflake-sdk'; import { BaseDriver, DownloadTableCSVData, @@ -22,7 +22,6 @@ import { DownloadQueryResultsResult, DownloadQueryResultsOptions, DriverCapabilities, - QueryTablesResult, } from '@cubejs-backend/base-driver'; import { formatToTimeZone } from 'date-fns-timezone'; import { Storage } from '@google-cloud/storage'; @@ -228,6 +227,11 @@ export class SnowflakeDriver extends BaseDriver implements DriverInterface { privateKey += '\n'; } + snowflake.configure({ + // TODO: Remove after release of https://github.com/snowflakedb/snowflake-connector-nodejs/pull/912 + logLevel: 'OFF' as any + }); + this.config = { readOnly: false, account: getEnv('snowflakeAccount', { dataSource }), @@ -700,7 +704,7 @@ export class SnowflakeDriver extends BaseDriver implements DriverInterface { _options: StreamOptions, ): Promise { const connection = await this.getConnection(); - const stmt = await new Promise((resolve, reject) => connection.execute({ + const stmt = await new Promise((resolve, reject) => connection.execute({ sqlText: query, binds: values, fetchAsString: [ @@ -742,7 +746,7 @@ export class SnowflakeDriver extends BaseDriver implements DriverInterface { }; } - private getTypes(stmt: Statement) { + private getTypes(stmt: RowStatement) { return stmt.getColumns().map((column) => { const type = { name: column.getName().toLowerCase(), diff --git a/packages/cubejs-testing-drivers/package.json b/packages/cubejs-testing-drivers/package.json index f743704fb5100..986661f81a4b1 100644 --- a/packages/cubejs-testing-drivers/package.json +++ b/packages/cubejs-testing-drivers/package.json @@ -89,7 +89,10 @@ "testMatch": [ "/dist/test/**/*.(test|spec).(ts|js)" ], - "snapshotResolver": "/test/snapshotResolver.js" + "snapshotResolver": "/test/snapshotResolver.js", + "moduleNameMapper": { + "^axios$": "axios/dist/node/axios.cjs" + } }, "eslintConfig": { "extends": "../cubejs-linter" 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 323b79fadeacd..ea1e0c33ccb4c 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 @@ -1,8561 +1,15785 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Queries with the @cubejs-backend/snowflake-driver SQL API: post-aggregate percentage of total: post_aggregate_percentage_of_total 1`] = ` +exports[`Queries with the @cubejs-backend/snowflake-driver SQL API: Complex Rollup: complex_rollup 1`] = ` Array [ Object { - "SUM(BigECommerce.percentageOfTotalForStatus)": 100, + "SUM(ECommerce.count)": "1", + "city": "Detroit", + "orderDate": 2020-01-23T00:00:00.000Z, + "orderId": "CA-2017-145142", + "rowId": 523, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver SQL API: powerbi min max push down: powerbi_min_max_push_down 1`] = ` -Array [ Object { - "a0": 2020-12-25T00:00:00.000Z, - "a1": 2020-01-01T00:00:00.000Z, + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-01-23T00:00:00.000Z, + "orderId": "CA-2017-145142", + "rowId": 523, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver SQL API: powerbi min max ungrouped flag: powerbi_min_max_ungrouped_flag 1`] = ` -Array [ Object { - "a0": "39", - "a1": 3.76, - "a2": 2399.96, + "SUM(ECommerce.count)": "1", + "city": "Detroit", + "orderDate": 2020-01-23T00:00:00.000Z, + "orderId": null, + "rowId": 523, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver SQL API: reuse params: reuse_params 1`] = ` -Array [ Object { - "c0": 2020-01-01T00:00:00.000Z, - "m0": 17372, + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-01-23T00:00:00.000Z, + "orderId": null, + "rowId": 523, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver SQL API: ungrouped pre-agg: ungrouped_pre_agg 1`] = ` -Array [ Object { - "productName": "Canon PC1080F Personal Copier", - "totalSales": 2399.96, + "SUM(ECommerce.count)": "1", + "city": "Lorain", + "orderDate": 2020-01-01T00:00:00.000Z, + "orderId": "CA-2017-107503", + "rowId": 849, }, Object { - "productName": "Logitech di_Novo Edge Keyboard", - "totalSales": 2249.91, + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-01-01T00:00:00.000Z, + "orderId": "CA-2017-107503", + "rowId": 849, }, Object { - "productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", - "totalSales": 2154.9, + "SUM(ECommerce.count)": "1", + "city": "Lorain", + "orderDate": 2020-01-01T00:00:00.000Z, + "orderId": null, + "rowId": 849, }, Object { - "productName": "Google Nexus 5", - "totalSales": 1979.89, + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-01-01T00:00:00.000Z, + "orderId": null, + "rowId": 849, }, Object { - "productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", - "totalSales": 1292.94, + "SUM(ECommerce.count)": "1", + "city": "Olympia", + "orderDate": 2020-06-17T00:00:00.000Z, + "orderId": "CA-2017-118437", + "rowId": 1013, }, Object { - "productName": "Canon PC1080F Personal Copier", - "totalSales": 1199.98, + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-06-17T00:00:00.000Z, + "orderId": "CA-2017-118437", + "rowId": 1013, }, Object { - "productName": "Hewlett Packard 610 Color Digital Copier / Printer", - "totalSales": 899.982, + "SUM(ECommerce.count)": "1", + "city": "Olympia", + "orderDate": 2020-06-17T00:00:00.000Z, + "orderId": null, + "rowId": 1013, }, Object { - "productName": "Okidata C610n Printer", - "totalSales": 649, + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-06-17T00:00:00.000Z, + "orderId": null, + "rowId": 1013, }, Object { - "productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", - "totalSales": 600, + "SUM(ECommerce.count)": "1", + "city": "Vancouver", + "orderDate": 2020-10-30T00:00:00.000Z, + "orderId": "CA-2017-139661", + "rowId": 1494, }, Object { - "productName": "Google Nexus 6", - "totalSales": 539.97, + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-10-30T00:00:00.000Z, + "orderId": "CA-2017-139661", + "rowId": 1494, }, Object { - "productName": "Google Nexus 7", - "totalSales": 539.97, + "SUM(ECommerce.count)": "1", + "city": "Vancouver", + "orderDate": 2020-10-30T00:00:00.000Z, + "orderId": null, + "rowId": 1494, }, Object { - "productName": "Harbour Creations 67200 Series Stacking Chairs", - "totalSales": 498.26, + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-10-30T00:00:00.000Z, + "orderId": null, + "rowId": 1494, }, Object { - "productName": "DMI Eclipse Executive Suite Bookcases", - "totalSales": 400.784, + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-06-25T00:00:00.000Z, + "orderId": "CA-2017-133648", + "rowId": 1995, }, Object { - "productName": "HTC One", - "totalSales": 239.976, + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-06-25T00:00:00.000Z, + "orderId": "CA-2017-133648", + "rowId": 1995, }, Object { - "productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", - "totalSales": 232.88, + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-06-25T00:00:00.000Z, + "orderId": null, + "rowId": 1995, }, Object { - "productName": "Balt Solid Wood Rectangular Table", - "totalSales": 210.98, + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-06-25T00:00:00.000Z, + "orderId": null, + "rowId": 1995, }, Object { - "productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", - "totalSales": 180.96, + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-09-23T00:00:00.000Z, + "orderId": "CA-2017-138422", + "rowId": 2329, }, Object { - "productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", - "totalSales": 179.9, + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-09-23T00:00:00.000Z, + "orderId": "CA-2017-138422", + "rowId": 2329, }, Object { - "productName": "Harbour Creations 67200 Series Stacking Chairs", - "totalSales": 128.124, + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-09-23T00:00:00.000Z, + "orderId": null, + "rowId": 2329, }, Object { - "productName": "Harbour Creations 67200 Series Stacking Chairs", - "totalSales": 113.888, + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-09-23T00:00:00.000Z, + "orderId": null, + "rowId": 2329, }, Object { - "productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", - "totalSales": 86.352, + "SUM(ECommerce.count)": "1", + "city": "New York City", + "orderDate": 2020-03-17T00:00:00.000Z, + "orderId": "CA-2017-140949", + "rowId": 2455, }, Object { - "productName": "Kingston Digital DataTraveler 16GB USB 2.2", - "totalSales": 71.6, + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-03-17T00:00:00.000Z, + "orderId": "CA-2017-140949", + "rowId": 2455, }, Object { - "productName": "Linden 10 Round Wall Clock, Black", - "totalSales": 48.896, + "SUM(ECommerce.count)": "1", + "city": "New York City", + "orderDate": 2020-03-17T00:00:00.000Z, + "orderId": null, + "rowId": 2455, }, Object { - "productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", - "totalSales": 45.92, + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-03-17T00:00:00.000Z, + "orderId": null, + "rowId": 2455, }, Object { - "productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", - "totalSales": 45.92, + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-05-13T00:00:00.000Z, + "orderId": "CA-2017-149048", + "rowId": 2595, }, Object { - "productName": "Kingston Digital DataTraveler 16GB USB 2.0", - "totalSales": 44.75, + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-05-13T00:00:00.000Z, + "orderId": "CA-2017-149048", + "rowId": 2595, }, Object { - "productName": "Kingston Digital DataTraveler 16GB USB 2.1", - "totalSales": 44.75, + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-05-13T00:00:00.000Z, + "orderId": null, + "rowId": 2595, }, Object { - "productName": "Recycled Eldon Regeneration Jumbo File", - "totalSales": 39.296, + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-05-13T00:00:00.000Z, + "orderId": null, + "rowId": 2595, }, Object { - "productName": "Linden 10 Round Wall Clock, Black", - "totalSales": 36.672, + "SUM(ECommerce.count)": "1", + "city": "Provo", + "orderDate": 2020-09-17T00:00:00.000Z, + "orderId": "CA-2017-112515", + "rowId": 2655, }, Object { - "productName": "Linden 10 Round Wall Clock, Black", - "totalSales": 30.56, + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-09-17T00:00:00.000Z, + "orderId": "CA-2017-112515", + "rowId": 2655, }, Object { - "productName": "Linden 10 Round Wall Clock, Black", - "totalSales": 30.56, + "SUM(ECommerce.count)": "1", + "city": "Provo", + "orderDate": 2020-09-17T00:00:00.000Z, + "orderId": null, + "rowId": 2655, }, Object { - "productName": "Anderson Hickey Conga Table Tops & Accessories", - "totalSales": 24.368, + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-09-17T00:00:00.000Z, + "orderId": null, + "rowId": 2655, }, Object { - "productName": "Plymouth Boxed Rubber Bands by Plymouth", - "totalSales": 23.55, + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-11-28T00:00:00.000Z, + "orderId": "CA-2017-123372", + "rowId": 2661, }, Object { - "productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", - "totalSales": 18.368, + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-11-28T00:00:00.000Z, + "orderId": "CA-2017-123372", + "rowId": 2661, }, Object { - "productName": "Wausau Papers Astrobrights Colored Envelopes", - "totalSales": 14.352, + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-11-28T00:00:00.000Z, + "orderId": null, + "rowId": 2661, }, Object { - "productName": "Plymouth Boxed Rubber Bands by Plymouth", - "totalSales": 14.13, + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-11-28T00:00:00.000Z, + "orderId": null, + "rowId": 2661, }, Object { - "productName": "Project Tote Personal File", - "totalSales": 14.03, + "SUM(ECommerce.count)": "1", + "city": "Glendale", + "orderDate": 2020-11-12T00:00:00.000Z, + "orderId": "CA-2017-134915", + "rowId": 2952, }, Object { - "productName": "Plymouth Boxed Rubber Bands by Plymouth", - "totalSales": 11.304, + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-11-12T00:00:00.000Z, + "orderId": "CA-2017-134915", + "rowId": 2952, }, Object { - "productName": "Magna Visual Magnetic Picture Hangers", - "totalSales": 9.64, + "SUM(ECommerce.count)": "1", + "city": "Glendale", + "orderDate": 2020-11-12T00:00:00.000Z, + "orderId": null, + "rowId": 2952, }, Object { - "productName": "OIC #2 Pencils, Medium Soft", - "totalSales": 9.4, + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-11-12T00:00:00.000Z, + "orderId": null, + "rowId": 2952, }, Object { - "productName": "Magna Visual Magnetic Picture Hangers", - "totalSales": 7.712, + "SUM(ECommerce.count)": "1", + "city": "San Francisco", + "orderDate": 2020-10-19T00:00:00.000Z, + "orderId": "CA-2017-131492", + "rowId": 3059, }, Object { - "productName": "OIC #2 Pencils, Medium Soft", - "totalSales": 3.76, + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-10-19T00:00:00.000Z, + "orderId": "CA-2017-131492", + "rowId": 3059, }, Object { - "productName": "OIC #2 Pencils, Medium Soft", - "totalSales": 3.76, + "SUM(ECommerce.count)": "1", + "city": "San Francisco", + "orderDate": 2020-10-19T00:00:00.000Z, + "orderId": null, + "rowId": 3059, }, Object { - "productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", - "totalSales": null, + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-10-19T00:00:00.000Z, + "orderId": null, + "rowId": 3059, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver filtering Customers: contains + dimensions, first 1`] = ` -Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "SUM(ECommerce.count)": "1", + "city": "San Francisco", + "orderDate": 2020-10-19T00:00:00.000Z, + "orderId": "CA-2017-131492", + "rowId": 3060, }, Object { - "Customers.customerId": "AJ-10780", - "Customers.customerName": "Customer 2", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-10-19T00:00:00.000Z, + "orderId": "CA-2017-131492", + "rowId": 3060, }, Object { - "Customers.customerId": "AS-10225", - "Customers.customerName": "Customer 3", + "SUM(ECommerce.count)": "1", + "city": "San Francisco", + "orderDate": 2020-10-19T00:00:00.000Z, + "orderId": null, + "rowId": 3060, }, Object { - "Customers.customerId": "AW-10840", - "Customers.customerName": "Customer 4", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-10-19T00:00:00.000Z, + "orderId": null, + "rowId": 3060, }, Object { - "Customers.customerId": "BB-11545", - "Customers.customerName": "Customer 5", + "SUM(ECommerce.count)": "1", + "city": "Louisville", + "orderDate": 2020-05-27T00:00:00.000Z, + "orderId": "US-2017-132297", + "rowId": 3083, }, Object { - "Customers.customerId": "BF-11020", - "Customers.customerName": "Customer 6", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-05-27T00:00:00.000Z, + "orderId": "US-2017-132297", + "rowId": 3083, }, Object { - "Customers.customerId": "BF-11170", - "Customers.customerName": "Customer 7", + "SUM(ECommerce.count)": "1", + "city": "Louisville", + "orderDate": 2020-05-27T00:00:00.000Z, + "orderId": null, + "rowId": 3083, }, Object { - "Customers.customerId": "BM-11650", - "Customers.customerName": "Customer 8", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-05-27T00:00:00.000Z, + "orderId": null, + "rowId": 3083, }, Object { - "Customers.customerId": "BS-11380", - "Customers.customerName": "Customer 9", + "SUM(ECommerce.count)": "1", + "city": "Auburn", + "orderDate": 2020-06-11T00:00:00.000Z, + "orderId": "CA-2017-102554", + "rowId": 3448, }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-06-11T00:00:00.000Z, + "orderId": "CA-2017-102554", + "rowId": 3448, }, Object { - "Customers.customerId": "CA-12775", - "Customers.customerName": "Customer 11", + "SUM(ECommerce.count)": "1", + "city": "Auburn", + "orderDate": 2020-06-11T00:00:00.000Z, + "orderId": null, + "rowId": 3448, }, Object { - "Customers.customerId": "CC-12475", - "Customers.customerName": "Customer 12", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-06-11T00:00:00.000Z, + "orderId": null, + "rowId": 3448, }, Object { - "Customers.customerId": "CD-12280", - "Customers.customerName": "Customer 13", + "SUM(ECommerce.count)": "1", + "city": "Omaha", + "orderDate": 2020-05-29T00:00:00.000Z, + "orderId": "CA-2017-144568", + "rowId": 3717, }, Object { - "Customers.customerId": "CS-12355", - "Customers.customerName": "Customer 14", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-05-29T00:00:00.000Z, + "orderId": "CA-2017-144568", + "rowId": 3717, }, Object { - "Customers.customerId": "DB-13405", - "Customers.customerName": "Customer 15", + "SUM(ECommerce.count)": "1", + "city": "Omaha", + "orderDate": 2020-05-29T00:00:00.000Z, + "orderId": null, + "rowId": 3717, }, Object { - "Customers.customerId": "DG-13300", - "Customers.customerName": "Customer 16", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-05-29T00:00:00.000Z, + "orderId": null, + "rowId": 3717, }, Object { - "Customers.customerId": "DW-13480", - "Customers.customerName": "Customer 17", + "SUM(ECommerce.count)": "1", + "city": "Bakersfield", + "orderDate": 2020-09-02T00:00:00.000Z, + "orderId": "CA-2017-123001", + "rowId": 3934, }, Object { - "Customers.customerId": "EM-14140", - "Customers.customerName": "Customer 18", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-09-02T00:00:00.000Z, + "orderId": "CA-2017-123001", + "rowId": 3934, }, Object { - "Customers.customerId": "GA-14725", - "Customers.customerName": "Customer 19", + "SUM(ECommerce.count)": "1", + "city": "Bakersfield", + "orderDate": 2020-09-02T00:00:00.000Z, + "orderId": null, + "rowId": 3934, }, Object { - "Customers.customerId": "GZ-14470", - "Customers.customerName": "Customer 20", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-09-02T00:00:00.000Z, + "orderId": null, + "rowId": 3934, }, Object { - "Customers.customerId": "HH-15010", - "Customers.customerName": "Customer 21", + "SUM(ECommerce.count)": "1", + "city": "Philadelphia", + "orderDate": 2020-11-21T00:00:00.000Z, + "orderId": "CA-2017-100811", + "rowId": 4012, }, Object { - "Customers.customerId": "HK-14890", - "Customers.customerName": "Customer 22", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-11-21T00:00:00.000Z, + "orderId": "CA-2017-100811", + "rowId": 4012, }, Object { - "Customers.customerId": "JH-15430", - "Customers.customerName": "Customer 23", + "SUM(ECommerce.count)": "1", + "city": "Philadelphia", + "orderDate": 2020-11-21T00:00:00.000Z, + "orderId": null, + "rowId": 4012, }, Object { - "Customers.customerId": "JO-15550", - "Customers.customerName": "Customer 24", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-11-21T00:00:00.000Z, + "orderId": null, + "rowId": 4012, }, Object { - "Customers.customerId": "JS-16030", - "Customers.customerName": "Customer 25", + "SUM(ECommerce.count)": "1", + "city": "Lafayette", + "orderDate": 2020-12-24T00:00:00.000Z, + "orderId": "CA-2017-124296", + "rowId": 4031, }, Object { - "Customers.customerId": "JW-15220", - "Customers.customerName": "Customer 26", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-12-24T00:00:00.000Z, + "orderId": "CA-2017-124296", + "rowId": 4031, }, Object { - "Customers.customerId": "KL-16555", - "Customers.customerName": "Customer 27", + "SUM(ECommerce.count)": "1", + "city": "Lafayette", + "orderDate": 2020-12-24T00:00:00.000Z, + "orderId": null, + "rowId": 4031, }, Object { - "Customers.customerId": "KN-16705", - "Customers.customerName": "Customer 28", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-12-24T00:00:00.000Z, + "orderId": null, + "rowId": 4031, }, Object { - "Customers.customerId": "LC-17050", - "Customers.customerName": "Customer 29", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "orderDate": 2020-05-14T00:00:00.000Z, + "orderId": "CA-2017-115546", + "rowId": 4161, }, Object { - "Customers.customerId": "LR-16915", - "Customers.customerName": "Customer 30", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-05-14T00:00:00.000Z, + "orderId": "CA-2017-115546", + "rowId": 4161, }, Object { - "Customers.customerId": "MC-17605", - "Customers.customerName": "Customer 31", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "orderDate": 2020-05-14T00:00:00.000Z, + "orderId": null, + "rowId": 4161, }, Object { - "Customers.customerId": "MG-17650", - "Customers.customerName": "Customer 32", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-05-14T00:00:00.000Z, + "orderId": null, + "rowId": 4161, }, Object { - "Customers.customerId": "ML-17755", - "Customers.customerName": "Customer 33", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-11-11T00:00:00.000Z, + "orderId": "CA-2017-120327", + "rowId": 4227, }, Object { - "Customers.customerId": "MM-18280", - "Customers.customerName": "Customer 34", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-11-11T00:00:00.000Z, + "orderId": "CA-2017-120327", + "rowId": 4227, }, Object { - "Customers.customerId": "NP-18670", - "Customers.customerName": "Customer 35", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-11-11T00:00:00.000Z, + "orderId": null, + "rowId": 4227, }, Object { - "Customers.customerId": "PF-19165", - "Customers.customerName": "Customer 36", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-11-11T00:00:00.000Z, + "orderId": null, + "rowId": 4227, }, Object { - "Customers.customerId": "SB-20185", - "Customers.customerName": "Customer 37", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-11-02T00:00:00.000Z, + "orderId": "CA-2017-143567", + "rowId": 4882, }, Object { - "Customers.customerId": "SS-20140", - "Customers.customerName": "Customer 38", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-11-02T00:00:00.000Z, + "orderId": "CA-2017-143567", + "rowId": 4882, }, Object { - "Customers.customerId": "TB-21175", - "Customers.customerName": "Customer 39", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-11-02T00:00:00.000Z, + "orderId": null, + "rowId": 4882, }, Object { - "Customers.customerId": "TS-21205", - "Customers.customerName": "Customer 40", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-11-02T00:00:00.000Z, + "orderId": null, + "rowId": 4882, }, Object { - "Customers.customerId": "WB-21850", - "Customers.customerName": "Customer 41", + "SUM(ECommerce.count)": "1", + "city": "Detroit", + "orderDate": 2020-09-01T00:00:00.000Z, + "orderId": "CA-2017-145653", + "rowId": 5220, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver filtering Customers: contains + dimensions, second 1`] = ` -Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-09-01T00:00:00.000Z, + "orderId": "CA-2017-145653", + "rowId": 5220, }, Object { - "Customers.customerId": "AJ-10780", - "Customers.customerName": "Customer 2", + "SUM(ECommerce.count)": "1", + "city": "Detroit", + "orderDate": 2020-09-01T00:00:00.000Z, + "orderId": null, + "rowId": 5220, }, Object { - "Customers.customerId": "AS-10225", - "Customers.customerName": "Customer 3", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-09-01T00:00:00.000Z, + "orderId": null, + "rowId": 5220, }, Object { - "Customers.customerId": "AW-10840", - "Customers.customerName": "Customer 4", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-12-14T00:00:00.000Z, + "orderId": "CA-2017-147333", + "rowId": 5277, }, Object { - "Customers.customerId": "BB-11545", - "Customers.customerName": "Customer 5", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-12-14T00:00:00.000Z, + "orderId": "CA-2017-147333", + "rowId": 5277, }, Object { - "Customers.customerId": "BF-11020", - "Customers.customerName": "Customer 6", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-12-14T00:00:00.000Z, + "orderId": null, + "rowId": 5277, }, Object { - "Customers.customerId": "BF-11170", - "Customers.customerName": "Customer 7", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-12-14T00:00:00.000Z, + "orderId": null, + "rowId": 5277, }, Object { - "Customers.customerId": "BM-11650", - "Customers.customerName": "Customer 8", + "SUM(ECommerce.count)": "1", + "city": "Los Angeles", + "orderDate": 2020-06-03T00:00:00.000Z, + "orderId": "CA-2017-145772", + "rowId": 6125, }, Object { - "Customers.customerId": "BS-11380", - "Customers.customerName": "Customer 9", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-06-03T00:00:00.000Z, + "orderId": "CA-2017-145772", + "rowId": 6125, }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "SUM(ECommerce.count)": "1", + "city": "Los Angeles", + "orderDate": 2020-06-03T00:00:00.000Z, + "orderId": null, + "rowId": 6125, }, Object { - "Customers.customerId": "CA-12775", - "Customers.customerName": "Customer 11", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-06-03T00:00:00.000Z, + "orderId": null, + "rowId": 6125, }, Object { - "Customers.customerId": "CC-12475", - "Customers.customerName": "Customer 12", + "SUM(ECommerce.count)": "1", + "city": "Marion", + "orderDate": 2020-12-01T00:00:00.000Z, + "orderId": "CA-2017-145660", + "rowId": 6205, }, Object { - "Customers.customerId": "CD-12280", - "Customers.customerName": "Customer 13", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-12-01T00:00:00.000Z, + "orderId": "CA-2017-145660", + "rowId": 6205, }, Object { - "Customers.customerId": "CS-12355", - "Customers.customerName": "Customer 14", + "SUM(ECommerce.count)": "1", + "city": "Marion", + "orderDate": 2020-12-01T00:00:00.000Z, + "orderId": null, + "rowId": 6205, }, Object { - "Customers.customerId": "DB-13405", - "Customers.customerName": "Customer 15", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-12-01T00:00:00.000Z, + "orderId": null, + "rowId": 6205, }, Object { - "Customers.customerId": "DG-13300", - "Customers.customerName": "Customer 16", + "SUM(ECommerce.count)": "1", + "city": "Oakland", + "orderDate": 2020-12-02T00:00:00.000Z, + "orderId": "CA-2017-102379", + "rowId": 6272, }, Object { - "Customers.customerId": "DW-13480", - "Customers.customerName": "Customer 17", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-12-02T00:00:00.000Z, + "orderId": "CA-2017-102379", + "rowId": 6272, }, Object { - "Customers.customerId": "EM-14140", - "Customers.customerName": "Customer 18", + "SUM(ECommerce.count)": "1", + "city": "Oakland", + "orderDate": 2020-12-02T00:00:00.000Z, + "orderId": null, + "rowId": 6272, }, Object { - "Customers.customerId": "GA-14725", - "Customers.customerName": "Customer 19", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-12-02T00:00:00.000Z, + "orderId": null, + "rowId": 6272, }, Object { - "Customers.customerId": "GZ-14470", - "Customers.customerName": "Customer 20", + "SUM(ECommerce.count)": "1", + "city": "Baltimore", + "orderDate": 2020-05-14T00:00:00.000Z, + "orderId": "US-2017-133361", + "rowId": 6459, }, Object { - "Customers.customerId": "HH-15010", - "Customers.customerName": "Customer 21", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-05-14T00:00:00.000Z, + "orderId": "US-2017-133361", + "rowId": 6459, }, Object { - "Customers.customerId": "HK-14890", - "Customers.customerName": "Customer 22", + "SUM(ECommerce.count)": "1", + "city": "Baltimore", + "orderDate": 2020-05-14T00:00:00.000Z, + "orderId": null, + "rowId": 6459, }, Object { - "Customers.customerId": "JH-15430", - "Customers.customerName": "Customer 23", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-05-14T00:00:00.000Z, + "orderId": null, + "rowId": 6459, }, Object { - "Customers.customerId": "JO-15550", - "Customers.customerName": "Customer 24", + "SUM(ECommerce.count)": "1", + "city": "Arlington", + "orderDate": 2020-09-08T00:00:00.000Z, + "orderId": "US-2017-124779", + "rowId": 6651, }, Object { - "Customers.customerId": "JS-16030", - "Customers.customerName": "Customer 25", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-09-08T00:00:00.000Z, + "orderId": "US-2017-124779", + "rowId": 6651, }, Object { - "Customers.customerId": "JW-15220", - "Customers.customerName": "Customer 26", + "SUM(ECommerce.count)": "1", + "city": "Arlington", + "orderDate": 2020-09-08T00:00:00.000Z, + "orderId": null, + "rowId": 6651, }, Object { - "Customers.customerId": "KL-16555", - "Customers.customerName": "Customer 27", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-09-08T00:00:00.000Z, + "orderId": null, + "rowId": 6651, }, Object { - "Customers.customerId": "KN-16705", - "Customers.customerName": "Customer 28", + "SUM(ECommerce.count)": "1", + "city": "Houston", + "orderDate": 2020-03-26T00:00:00.000Z, + "orderId": "US-2017-141677", + "rowId": 7174, }, Object { - "Customers.customerId": "LC-17050", - "Customers.customerName": "Customer 29", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-03-26T00:00:00.000Z, + "orderId": "US-2017-141677", + "rowId": 7174, }, Object { - "Customers.customerId": "LR-16915", - "Customers.customerName": "Customer 30", + "SUM(ECommerce.count)": "1", + "city": "Houston", + "orderDate": 2020-03-26T00:00:00.000Z, + "orderId": null, + "rowId": 7174, }, Object { - "Customers.customerId": "MC-17605", - "Customers.customerName": "Customer 31", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-03-26T00:00:00.000Z, + "orderId": null, + "rowId": 7174, }, Object { - "Customers.customerId": "MG-17650", - "Customers.customerName": "Customer 32", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-12-04T00:00:00.000Z, + "orderId": "CA-2017-109183", + "rowId": 7293, }, Object { - "Customers.customerId": "ML-17755", - "Customers.customerName": "Customer 33", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-12-04T00:00:00.000Z, + "orderId": "CA-2017-109183", + "rowId": 7293, }, Object { - "Customers.customerId": "MM-18280", - "Customers.customerName": "Customer 34", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-12-04T00:00:00.000Z, + "orderId": null, + "rowId": 7293, }, Object { - "Customers.customerId": "NP-18670", - "Customers.customerName": "Customer 35", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-12-04T00:00:00.000Z, + "orderId": null, + "rowId": 7293, }, Object { - "Customers.customerId": "PF-19165", - "Customers.customerName": "Customer 36", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "orderDate": 2020-06-10T00:00:00.000Z, + "orderId": "CA-2017-112172", + "rowId": 7310, }, Object { - "Customers.customerId": "SB-20185", - "Customers.customerName": "Customer 37", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-06-10T00:00:00.000Z, + "orderId": "CA-2017-112172", + "rowId": 7310, }, Object { - "Customers.customerId": "SS-20140", - "Customers.customerName": "Customer 38", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "orderDate": 2020-06-10T00:00:00.000Z, + "orderId": null, + "rowId": 7310, }, Object { - "Customers.customerId": "TB-21175", - "Customers.customerName": "Customer 39", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-06-10T00:00:00.000Z, + "orderId": null, + "rowId": 7310, }, Object { - "Customers.customerId": "TS-21205", - "Customers.customerName": "Customer 40", + "SUM(ECommerce.count)": "1", + "city": "Philadelphia", + "orderDate": 2020-04-10T00:00:00.000Z, + "orderId": "CA-2017-135069", + "rowId": 7425, }, Object { - "Customers.customerId": "WB-21850", - "Customers.customerName": "Customer 41", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-04-10T00:00:00.000Z, + "orderId": "CA-2017-135069", + "rowId": 7425, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver filtering Customers: contains + dimensions, third 1`] = `Array []`; - -exports[`Queries with the @cubejs-backend/snowflake-driver filtering Products: contains with special chars + dimensions 1`] = ` -Array [ Object { - "Products.productName": "Logitech di_Novo Edge Keyboard", + "SUM(ECommerce.count)": "1", + "city": "Philadelphia", + "orderDate": 2020-04-10T00:00:00.000Z, + "orderId": null, + "rowId": 7425, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver filtering Customers: endsWith filter + dimensions, first 1`] = ` -Array [ Object { - "Customers.customerId": "AJ-10780", - "Customers.customerName": "Customer 2", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-04-10T00:00:00.000Z, + "orderId": null, + "rowId": 7425, }, Object { - "Customers.customerId": "AW-10840", - "Customers.customerName": "Customer 4", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-12-14T00:00:00.000Z, + "orderId": "CA-2017-151799", + "rowId": 7698, }, Object { - "Customers.customerId": "BF-11020", - "Customers.customerName": "Customer 6", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-12-14T00:00:00.000Z, + "orderId": "CA-2017-151799", + "rowId": 7698, }, Object { - "Customers.customerId": "BF-11170", - "Customers.customerName": "Customer 7", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-12-14T00:00:00.000Z, + "orderId": null, + "rowId": 7698, }, Object { - "Customers.customerId": "BM-11650", - "Customers.customerName": "Customer 8", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-12-14T00:00:00.000Z, + "orderId": null, + "rowId": 7698, }, Object { - "Customers.customerId": "BS-11380", - "Customers.customerName": "Customer 9", + "SUM(ECommerce.count)": "1", + "city": "Lakewood", + "orderDate": 2020-10-12T00:00:00.000Z, + "orderId": "CA-2017-150091", + "rowId": 8425, }, Object { - "Customers.customerId": "CD-12280", - "Customers.customerName": "Customer 13", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-10-12T00:00:00.000Z, + "orderId": "CA-2017-150091", + "rowId": 8425, }, Object { - "Customers.customerId": "DG-13300", - "Customers.customerName": "Customer 16", + "SUM(ECommerce.count)": "1", + "city": "Lakewood", + "orderDate": 2020-10-12T00:00:00.000Z, + "orderId": null, + "rowId": 8425, }, Object { - "Customers.customerId": "DW-13480", - "Customers.customerName": "Customer 17", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-10-12T00:00:00.000Z, + "orderId": null, + "rowId": 8425, }, Object { - "Customers.customerId": "EM-14140", - "Customers.customerName": "Customer 18", + "SUM(ECommerce.count)": "1", + "city": "Dallas", + "orderDate": 2020-11-06T00:00:00.000Z, + "orderId": "US-2017-119319", + "rowId": 8621, }, Object { - "Customers.customerId": "GZ-14470", - "Customers.customerName": "Customer 20", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-11-06T00:00:00.000Z, + "orderId": "US-2017-119319", + "rowId": 8621, }, Object { - "Customers.customerId": "HH-15010", - "Customers.customerName": "Customer 21", + "SUM(ECommerce.count)": "1", + "city": "Dallas", + "orderDate": 2020-11-06T00:00:00.000Z, + "orderId": null, + "rowId": 8621, }, Object { - "Customers.customerId": "HK-14890", - "Customers.customerName": "Customer 22", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-11-06T00:00:00.000Z, + "orderId": null, + "rowId": 8621, }, Object { - "Customers.customerId": "JH-15430", - "Customers.customerName": "Customer 23", + "SUM(ECommerce.count)": "1", + "city": "Decatur", + "orderDate": 2020-02-16T00:00:00.000Z, + "orderId": "CA-2017-163265", + "rowId": 8673, }, Object { - "Customers.customerId": "JO-15550", - "Customers.customerName": "Customer 24", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-02-16T00:00:00.000Z, + "orderId": "CA-2017-163265", + "rowId": 8673, }, Object { - "Customers.customerId": "JS-16030", - "Customers.customerName": "Customer 25", + "SUM(ECommerce.count)": "1", + "city": "Decatur", + "orderDate": 2020-02-16T00:00:00.000Z, + "orderId": null, + "rowId": 8673, }, Object { - "Customers.customerId": "JW-15220", - "Customers.customerName": "Customer 26", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-02-16T00:00:00.000Z, + "orderId": null, + "rowId": 8673, }, Object { - "Customers.customerId": "LC-17050", - "Customers.customerName": "Customer 29", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-06-15T00:00:00.000Z, + "orderId": "CA-2017-119284", + "rowId": 8697, }, Object { - "Customers.customerId": "MG-17650", - "Customers.customerName": "Customer 32", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-06-15T00:00:00.000Z, + "orderId": "CA-2017-119284", + "rowId": 8697, }, Object { - "Customers.customerId": "MM-18280", - "Customers.customerName": "Customer 34", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-06-15T00:00:00.000Z, + "orderId": null, + "rowId": 8697, }, Object { - "Customers.customerId": "NP-18670", - "Customers.customerName": "Customer 35", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-06-15T00:00:00.000Z, + "orderId": null, + "rowId": 8697, }, Object { - "Customers.customerId": "SS-20140", - "Customers.customerName": "Customer 38", + "SUM(ECommerce.count)": "1", + "city": "Morristown", + "orderDate": 2020-09-17T00:00:00.000Z, + "orderId": "CA-2017-126928", + "rowId": 8878, }, Object { - "Customers.customerId": "WB-21850", - "Customers.customerName": "Customer 41", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-09-17T00:00:00.000Z, + "orderId": "CA-2017-126928", + "rowId": 8878, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver filtering Customers: endsWith filter + dimensions, second 1`] = ` -Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "SUM(ECommerce.count)": "1", + "city": "Morristown", + "orderDate": 2020-09-17T00:00:00.000Z, + "orderId": null, + "rowId": 8878, }, Object { - "Customers.customerId": "AJ-10780", - "Customers.customerName": "Customer 2", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-09-17T00:00:00.000Z, + "orderId": null, + "rowId": 8878, }, Object { - "Customers.customerId": "AS-10225", - "Customers.customerName": "Customer 3", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-12-25T00:00:00.000Z, + "orderId": "CA-2017-105620", + "rowId": 8958, }, Object { - "Customers.customerId": "AW-10840", - "Customers.customerName": "Customer 4", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-12-25T00:00:00.000Z, + "orderId": "CA-2017-105620", + "rowId": 8958, }, Object { - "Customers.customerId": "BB-11545", - "Customers.customerName": "Customer 5", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-12-25T00:00:00.000Z, + "orderId": null, + "rowId": 8958, }, Object { - "Customers.customerId": "BF-11020", - "Customers.customerName": "Customer 6", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-12-25T00:00:00.000Z, + "orderId": null, + "rowId": 8958, }, Object { - "Customers.customerId": "BF-11170", - "Customers.customerName": "Customer 7", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "orderDate": 2020-11-05T00:00:00.000Z, + "orderId": "CA-2017-102925", + "rowId": 9473, }, Object { - "Customers.customerId": "BM-11650", - "Customers.customerName": "Customer 8", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-11-05T00:00:00.000Z, + "orderId": "CA-2017-102925", + "rowId": 9473, }, Object { - "Customers.customerId": "BS-11380", - "Customers.customerName": "Customer 9", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "orderDate": 2020-11-05T00:00:00.000Z, + "orderId": null, + "rowId": 9473, }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-11-05T00:00:00.000Z, + "orderId": null, + "rowId": 9473, }, Object { - "Customers.customerId": "CA-12775", - "Customers.customerName": "Customer 11", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "orderDate": 2020-06-25T00:00:00.000Z, + "orderId": "CA-2017-116127", + "rowId": 9584, }, Object { - "Customers.customerId": "CC-12475", - "Customers.customerName": "Customer 12", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-06-25T00:00:00.000Z, + "orderId": "CA-2017-116127", + "rowId": 9584, }, Object { - "Customers.customerId": "CD-12280", - "Customers.customerName": "Customer 13", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "orderDate": 2020-06-25T00:00:00.000Z, + "orderId": null, + "rowId": 9584, }, Object { - "Customers.customerId": "CS-12355", - "Customers.customerName": "Customer 14", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-06-25T00:00:00.000Z, + "orderId": null, + "rowId": 9584, }, Object { - "Customers.customerId": "DB-13405", - "Customers.customerName": "Customer 15", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-11-16T00:00:00.000Z, + "orderId": "CA-2017-160633", + "rowId": 9618, }, Object { - "Customers.customerId": "DG-13300", - "Customers.customerName": "Customer 16", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-11-16T00:00:00.000Z, + "orderId": "CA-2017-160633", + "rowId": 9618, }, Object { - "Customers.customerId": "DW-13480", - "Customers.customerName": "Customer 17", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-11-16T00:00:00.000Z, + "orderId": null, + "rowId": 9618, }, Object { - "Customers.customerId": "EM-14140", - "Customers.customerName": "Customer 18", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-11-16T00:00:00.000Z, + "orderId": null, + "rowId": 9618, }, Object { - "Customers.customerId": "GA-14725", - "Customers.customerName": "Customer 19", + "SUM(ECommerce.count)": "1", + "city": "Bowling", + "orderDate": 2020-11-16T00:00:00.000Z, + "orderId": "CA-2017-160633", + "rowId": 9619, }, Object { - "Customers.customerId": "GZ-14470", - "Customers.customerName": "Customer 20", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-11-16T00:00:00.000Z, + "orderId": "CA-2017-160633", + "rowId": 9619, }, Object { - "Customers.customerId": "HH-15010", - "Customers.customerName": "Customer 21", + "SUM(ECommerce.count)": "1", + "city": "Bowling", + "orderDate": 2020-11-16T00:00:00.000Z, + "orderId": null, + "rowId": 9619, }, Object { - "Customers.customerId": "HK-14890", - "Customers.customerName": "Customer 22", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-11-16T00:00:00.000Z, + "orderId": null, + "rowId": 9619, }, Object { - "Customers.customerId": "JH-15430", - "Customers.customerName": "Customer 23", + "SUM(ECommerce.count)": "1", + "city": "Lorain", + "orderDate": 2020-01-01T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "JO-15550", - "Customers.customerName": "Customer 24", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-01-01T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "JS-16030", - "Customers.customerName": "Customer 25", + "SUM(ECommerce.count)": "1", + "city": "Detroit", + "orderDate": 2020-01-23T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "JW-15220", - "Customers.customerName": "Customer 26", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-01-23T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "KL-16555", - "Customers.customerName": "Customer 27", + "SUM(ECommerce.count)": "1", + "city": "Decatur", + "orderDate": 2020-02-16T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "KN-16705", - "Customers.customerName": "Customer 28", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-02-16T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "LC-17050", - "Customers.customerName": "Customer 29", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "orderDate": 2020-03-17T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "LR-16915", - "Customers.customerName": "Customer 30", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-03-17T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "MC-17605", - "Customers.customerName": "Customer 31", + "SUM(ECommerce.count)": "1", + "city": "Houston", + "orderDate": 2020-03-26T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "MG-17650", - "Customers.customerName": "Customer 32", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-03-26T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "ML-17755", - "Customers.customerName": "Customer 33", + "SUM(ECommerce.count)": "1", + "city": "Philadelphia", + "orderDate": 2020-04-10T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "MM-18280", - "Customers.customerName": "Customer 34", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-04-10T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "NP-18670", - "Customers.customerName": "Customer 35", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-05-13T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "PF-19165", - "Customers.customerName": "Customer 36", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-05-13T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "SB-20185", - "Customers.customerName": "Customer 37", + "SUM(ECommerce.count)": "1", + "city": "Baltimore", + "orderDate": 2020-05-14T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "SS-20140", - "Customers.customerName": "Customer 38", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "orderDate": 2020-05-14T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "TB-21175", - "Customers.customerName": "Customer 39", + "SUM(ECommerce.count)": "2", + "city": null, + "orderDate": 2020-05-14T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "TS-21205", - "Customers.customerName": "Customer 40", + "SUM(ECommerce.count)": "1", + "city": "Louisville", + "orderDate": 2020-05-27T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "WB-21850", - "Customers.customerName": "Customer 41", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-05-27T00:00:00.000Z, + "orderId": null, + "rowId": null, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver filtering Customers: endsWith filter + dimensions, third 1`] = `Array []`; - -exports[`Queries with the @cubejs-backend/snowflake-driver filtering Customers: notEndsWith filter + dimensions, first 1`] = ` -Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "SUM(ECommerce.count)": "1", + "city": "Omaha", + "orderDate": 2020-05-29T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "AS-10225", - "Customers.customerName": "Customer 3", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-05-29T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "BB-11545", - "Customers.customerName": "Customer 5", + "SUM(ECommerce.count)": "1", + "city": "Los Angeles", + "orderDate": 2020-06-03T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-06-03T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "CA-12775", - "Customers.customerName": "Customer 11", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "orderDate": 2020-06-10T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "CC-12475", - "Customers.customerName": "Customer 12", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-06-10T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "CS-12355", - "Customers.customerName": "Customer 14", + "SUM(ECommerce.count)": "1", + "city": "Auburn", + "orderDate": 2020-06-11T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "DB-13405", - "Customers.customerName": "Customer 15", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-06-11T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "GA-14725", - "Customers.customerName": "Customer 19", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-06-15T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "KL-16555", - "Customers.customerName": "Customer 27", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-06-15T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "KN-16705", - "Customers.customerName": "Customer 28", + "SUM(ECommerce.count)": "1", + "city": "Olympia", + "orderDate": 2020-06-17T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "LR-16915", - "Customers.customerName": "Customer 30", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-06-17T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "MC-17605", - "Customers.customerName": "Customer 31", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-06-25T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "ML-17755", - "Customers.customerName": "Customer 33", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "orderDate": 2020-06-25T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "PF-19165", - "Customers.customerName": "Customer 36", + "SUM(ECommerce.count)": "2", + "city": null, + "orderDate": 2020-06-25T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "SB-20185", - "Customers.customerName": "Customer 37", + "SUM(ECommerce.count)": "1", + "city": "Detroit", + "orderDate": 2020-09-01T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "TB-21175", - "Customers.customerName": "Customer 39", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-09-01T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "TS-21205", - "Customers.customerName": "Customer 40", + "SUM(ECommerce.count)": "1", + "city": "Bakersfield", + "orderDate": 2020-09-02T00:00:00.000Z, + "orderId": null, + "rowId": null, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver filtering Customers: notEndsWith filter + dimensions, second 1`] = `Array []`; - -exports[`Queries with the @cubejs-backend/snowflake-driver filtering Customers: notEndsWith filter + dimensions, third 1`] = ` -Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-09-02T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "AJ-10780", - "Customers.customerName": "Customer 2", + "SUM(ECommerce.count)": "1", + "city": "Arlington", + "orderDate": 2020-09-08T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "AS-10225", - "Customers.customerName": "Customer 3", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-09-08T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "AW-10840", - "Customers.customerName": "Customer 4", + "SUM(ECommerce.count)": "1", + "city": "Morristown", + "orderDate": 2020-09-17T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "BB-11545", - "Customers.customerName": "Customer 5", + "SUM(ECommerce.count)": "1", + "city": "Provo", + "orderDate": 2020-09-17T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "BF-11020", - "Customers.customerName": "Customer 6", + "SUM(ECommerce.count)": "2", + "city": null, + "orderDate": 2020-09-17T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "BF-11170", - "Customers.customerName": "Customer 7", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-09-23T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "BM-11650", - "Customers.customerName": "Customer 8", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-09-23T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "BS-11380", - "Customers.customerName": "Customer 9", + "SUM(ECommerce.count)": "1", + "city": "Lakewood", + "orderDate": 2020-10-12T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-10-12T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "CA-12775", - "Customers.customerName": "Customer 11", + "SUM(ECommerce.count)": "2", + "city": "San Francisco", + "orderDate": 2020-10-19T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "CC-12475", - "Customers.customerName": "Customer 12", + "SUM(ECommerce.count)": "2", + "city": null, + "orderDate": 2020-10-19T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "CD-12280", - "Customers.customerName": "Customer 13", + "SUM(ECommerce.count)": "1", + "city": "Vancouver", + "orderDate": 2020-10-30T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "CS-12355", - "Customers.customerName": "Customer 14", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-10-30T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "DB-13405", - "Customers.customerName": "Customer 15", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-11-02T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "DG-13300", - "Customers.customerName": "Customer 16", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-11-02T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "DW-13480", - "Customers.customerName": "Customer 17", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "orderDate": 2020-11-05T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "EM-14140", - "Customers.customerName": "Customer 18", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-11-05T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "GA-14725", - "Customers.customerName": "Customer 19", + "SUM(ECommerce.count)": "1", + "city": "Dallas", + "orderDate": 2020-11-06T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "GZ-14470", - "Customers.customerName": "Customer 20", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-11-06T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "HH-15010", - "Customers.customerName": "Customer 21", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-11-11T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "HK-14890", - "Customers.customerName": "Customer 22", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-11-11T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "JH-15430", - "Customers.customerName": "Customer 23", + "SUM(ECommerce.count)": "1", + "city": "Glendale", + "orderDate": 2020-11-12T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "JO-15550", - "Customers.customerName": "Customer 24", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-11-12T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "JS-16030", - "Customers.customerName": "Customer 25", + "SUM(ECommerce.count)": "1", + "city": "Bowling", + "orderDate": 2020-11-16T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "JW-15220", - "Customers.customerName": "Customer 26", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-11-16T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "KL-16555", - "Customers.customerName": "Customer 27", + "SUM(ECommerce.count)": "2", + "city": null, + "orderDate": 2020-11-16T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "KN-16705", - "Customers.customerName": "Customer 28", + "SUM(ECommerce.count)": "1", + "city": "Philadelphia", + "orderDate": 2020-11-21T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "LC-17050", - "Customers.customerName": "Customer 29", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-11-21T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "LR-16915", - "Customers.customerName": "Customer 30", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-11-28T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "MC-17605", - "Customers.customerName": "Customer 31", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-11-28T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "MG-17650", - "Customers.customerName": "Customer 32", + "SUM(ECommerce.count)": "1", + "city": "Marion", + "orderDate": 2020-12-01T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "ML-17755", - "Customers.customerName": "Customer 33", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-12-01T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "MM-18280", - "Customers.customerName": "Customer 34", + "SUM(ECommerce.count)": "1", + "city": "Oakland", + "orderDate": 2020-12-02T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "NP-18670", - "Customers.customerName": "Customer 35", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-12-02T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "PF-19165", - "Customers.customerName": "Customer 36", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-12-04T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "SB-20185", - "Customers.customerName": "Customer 37", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-12-04T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "SS-20140", - "Customers.customerName": "Customer 38", + "SUM(ECommerce.count)": "2", + "city": "Columbus", + "orderDate": 2020-12-14T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "TB-21175", - "Customers.customerName": "Customer 39", + "SUM(ECommerce.count)": "2", + "city": null, + "orderDate": 2020-12-14T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "TS-21205", - "Customers.customerName": "Customer 40", + "SUM(ECommerce.count)": "1", + "city": "Lafayette", + "orderDate": 2020-12-24T00:00:00.000Z, + "orderId": null, + "rowId": null, }, Object { - "Customers.customerId": "WB-21850", - "Customers.customerName": "Customer 41", + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-12-24T00:00:00.000Z, + "orderId": null, + "rowId": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-12-25T00:00:00.000Z, + "orderId": null, + "rowId": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": null, + "orderDate": 2020-12-25T00:00:00.000Z, + "orderId": null, + "rowId": null, }, ] `; -exports[`Queries with the @cubejs-backend/snowflake-driver filtering Customers: notStartsWith + dimensions, first 1`] = ` +exports[`Queries with the @cubejs-backend/snowflake-driver SQL API: Extended nested Rollup over asterisk: extended_nested_rollup_over_asterisk 1`] = ` Array [ Object { - "Customers.customerId": "BB-11545", - "Customers.customerName": "Customer 5", + "SUM(a.count)": "1", + "order": "CA-2017-100811", + "row": 4012, }, Object { - "Customers.customerId": "BF-11020", - "Customers.customerName": "Customer 6", + "SUM(a.count)": "1", + "order": "CA-2017-102379", + "row": 6272, }, Object { - "Customers.customerId": "BF-11170", - "Customers.customerName": "Customer 7", + "SUM(a.count)": "1", + "order": "CA-2017-102554", + "row": 3448, }, Object { - "Customers.customerId": "BM-11650", - "Customers.customerName": "Customer 8", + "SUM(a.count)": "1", + "order": "CA-2017-102925", + "row": 9473, }, Object { - "Customers.customerId": "BS-11380", - "Customers.customerName": "Customer 9", + "SUM(a.count)": "1", + "order": "CA-2017-105620", + "row": 8958, }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "SUM(a.count)": "1", + "order": "CA-2017-107503", + "row": 849, }, Object { - "Customers.customerId": "CA-12775", - "Customers.customerName": "Customer 11", + "SUM(a.count)": "1", + "order": "CA-2017-109183", + "row": 7293, }, Object { - "Customers.customerId": "CC-12475", - "Customers.customerName": "Customer 12", + "SUM(a.count)": "1", + "order": "CA-2017-112172", + "row": 7310, }, Object { - "Customers.customerId": "CD-12280", - "Customers.customerName": "Customer 13", + "SUM(a.count)": "1", + "order": "CA-2017-112515", + "row": 2655, }, Object { - "Customers.customerId": "CS-12355", - "Customers.customerName": "Customer 14", + "SUM(a.count)": "1", + "order": "CA-2017-115546", + "row": 4161, }, Object { - "Customers.customerId": "DB-13405", - "Customers.customerName": "Customer 15", + "SUM(a.count)": "1", + "order": "CA-2017-116127", + "row": 9584, }, Object { - "Customers.customerId": "DG-13300", - "Customers.customerName": "Customer 16", + "SUM(a.count)": "1", + "order": "CA-2017-118437", + "row": 1013, }, Object { - "Customers.customerId": "DW-13480", - "Customers.customerName": "Customer 17", + "SUM(a.count)": "1", + "order": "CA-2017-119284", + "row": 8697, }, Object { - "Customers.customerId": "EM-14140", - "Customers.customerName": "Customer 18", + "SUM(a.count)": "1", + "order": "CA-2017-120327", + "row": 4227, }, Object { - "Customers.customerId": "GA-14725", - "Customers.customerName": "Customer 19", + "SUM(a.count)": "1", + "order": "CA-2017-123001", + "row": 3934, }, Object { - "Customers.customerId": "GZ-14470", - "Customers.customerName": "Customer 20", + "SUM(a.count)": "1", + "order": "CA-2017-123372", + "row": 2661, }, Object { - "Customers.customerId": "HH-15010", - "Customers.customerName": "Customer 21", + "SUM(a.count)": "1", + "order": "CA-2017-124296", + "row": 4031, }, Object { - "Customers.customerId": "HK-14890", - "Customers.customerName": "Customer 22", + "SUM(a.count)": "1", + "order": "CA-2017-126928", + "row": 8878, }, Object { - "Customers.customerId": "JH-15430", - "Customers.customerName": "Customer 23", + "SUM(a.count)": "1", + "order": "CA-2017-131492", + "row": 3060, }, Object { - "Customers.customerId": "JO-15550", - "Customers.customerName": "Customer 24", + "SUM(a.count)": "1", + "order": "CA-2017-131492", + "row": 3059, }, Object { - "Customers.customerId": "JS-16030", - "Customers.customerName": "Customer 25", + "SUM(a.count)": "1", + "order": "CA-2017-133648", + "row": 1995, }, Object { - "Customers.customerId": "JW-15220", - "Customers.customerName": "Customer 26", + "SUM(a.count)": "1", + "order": "CA-2017-134915", + "row": 2952, }, Object { - "Customers.customerId": "KL-16555", - "Customers.customerName": "Customer 27", + "SUM(a.count)": "1", + "order": "CA-2017-135069", + "row": 7425, }, Object { - "Customers.customerId": "KN-16705", - "Customers.customerName": "Customer 28", + "SUM(a.count)": "1", + "order": "CA-2017-138422", + "row": 2329, }, Object { - "Customers.customerId": "LC-17050", - "Customers.customerName": "Customer 29", + "SUM(a.count)": "1", + "order": "CA-2017-139661", + "row": 1494, }, Object { - "Customers.customerId": "LR-16915", - "Customers.customerName": "Customer 30", + "SUM(a.count)": "1", + "order": "CA-2017-140949", + "row": 2455, }, Object { - "Customers.customerId": "MC-17605", - "Customers.customerName": "Customer 31", + "SUM(a.count)": "1", + "order": "CA-2017-143567", + "row": 4882, }, Object { - "Customers.customerId": "MG-17650", - "Customers.customerName": "Customer 32", + "SUM(a.count)": "1", + "order": "CA-2017-144568", + "row": 3717, }, Object { - "Customers.customerId": "ML-17755", - "Customers.customerName": "Customer 33", + "SUM(a.count)": "1", + "order": "CA-2017-145142", + "row": 523, }, Object { - "Customers.customerId": "MM-18280", - "Customers.customerName": "Customer 34", + "SUM(a.count)": "1", + "order": "CA-2017-145653", + "row": 5220, }, Object { - "Customers.customerId": "NP-18670", - "Customers.customerName": "Customer 35", + "SUM(a.count)": "1", + "order": "CA-2017-145660", + "row": 6205, }, Object { - "Customers.customerId": "PF-19165", - "Customers.customerName": "Customer 36", + "SUM(a.count)": "1", + "order": "CA-2017-145772", + "row": 6125, }, Object { - "Customers.customerId": "SB-20185", - "Customers.customerName": "Customer 37", + "SUM(a.count)": "1", + "order": "CA-2017-147333", + "row": 5277, }, Object { - "Customers.customerId": "SS-20140", - "Customers.customerName": "Customer 38", + "SUM(a.count)": "1", + "order": "CA-2017-149048", + "row": 2595, }, Object { - "Customers.customerId": "TB-21175", - "Customers.customerName": "Customer 39", + "SUM(a.count)": "1", + "order": "CA-2017-150091", + "row": 8425, }, Object { - "Customers.customerId": "TS-21205", - "Customers.customerName": "Customer 40", + "SUM(a.count)": "1", + "order": "CA-2017-151799", + "row": 7698, }, Object { - "Customers.customerId": "WB-21850", - "Customers.customerName": "Customer 41", + "SUM(a.count)": "1", + "order": "CA-2017-160633", + "row": 9619, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver filtering Customers: notStartsWith + dimensions, second 1`] = ` -Array [ Object { - "Customers.customerId": "CA-12775", - "Customers.customerName": "Customer 11", + "SUM(a.count)": "1", + "order": "CA-2017-160633", + "row": 9618, }, Object { - "Customers.customerId": "CC-12475", - "Customers.customerName": "Customer 12", + "SUM(a.count)": "1", + "order": "CA-2017-163265", + "row": 8673, }, Object { - "Customers.customerId": "CD-12280", - "Customers.customerName": "Customer 13", + "SUM(a.count)": "1", + "order": "US-2017-119319", + "row": 8621, }, Object { - "Customers.customerId": "CS-12355", - "Customers.customerName": "Customer 14", + "SUM(a.count)": "1", + "order": "US-2017-124779", + "row": 6651, }, Object { - "Customers.customerId": "DB-13405", - "Customers.customerName": "Customer 15", + "SUM(a.count)": "1", + "order": "US-2017-132297", + "row": 3083, }, Object { - "Customers.customerId": "DG-13300", - "Customers.customerName": "Customer 16", + "SUM(a.count)": "1", + "order": "US-2017-133361", + "row": 6459, }, Object { - "Customers.customerId": "DW-13480", - "Customers.customerName": "Customer 17", + "SUM(a.count)": "1", + "order": "US-2017-141677", + "row": 7174, }, Object { - "Customers.customerId": "EM-14140", - "Customers.customerName": "Customer 18", + "SUM(a.count)": "44", + "order": null, + "row": null, }, Object { - "Customers.customerId": "GA-14725", - "Customers.customerName": "Customer 19", + "SUM(a.count)": "1", + "order": null, + "row": 9619, }, Object { - "Customers.customerId": "GZ-14470", - "Customers.customerName": "Customer 20", + "SUM(a.count)": "1", + "order": null, + "row": 9618, }, Object { - "Customers.customerId": "HH-15010", - "Customers.customerName": "Customer 21", + "SUM(a.count)": "1", + "order": null, + "row": 9584, }, Object { - "Customers.customerId": "HK-14890", - "Customers.customerName": "Customer 22", + "SUM(a.count)": "1", + "order": null, + "row": 9473, }, Object { - "Customers.customerId": "JH-15430", - "Customers.customerName": "Customer 23", + "SUM(a.count)": "1", + "order": null, + "row": 8958, }, Object { - "Customers.customerId": "JO-15550", - "Customers.customerName": "Customer 24", + "SUM(a.count)": "1", + "order": null, + "row": 8878, }, Object { - "Customers.customerId": "JS-16030", - "Customers.customerName": "Customer 25", + "SUM(a.count)": "1", + "order": null, + "row": 8697, }, Object { - "Customers.customerId": "JW-15220", - "Customers.customerName": "Customer 26", + "SUM(a.count)": "1", + "order": null, + "row": 8673, }, Object { - "Customers.customerId": "KL-16555", - "Customers.customerName": "Customer 27", + "SUM(a.count)": "1", + "order": null, + "row": 8621, }, Object { - "Customers.customerId": "KN-16705", - "Customers.customerName": "Customer 28", + "SUM(a.count)": "1", + "order": null, + "row": 8425, }, Object { - "Customers.customerId": "LC-17050", - "Customers.customerName": "Customer 29", + "SUM(a.count)": "1", + "order": null, + "row": 7698, }, Object { - "Customers.customerId": "LR-16915", - "Customers.customerName": "Customer 30", + "SUM(a.count)": "1", + "order": null, + "row": 7425, }, Object { - "Customers.customerId": "MC-17605", - "Customers.customerName": "Customer 31", + "SUM(a.count)": "1", + "order": null, + "row": 7310, }, Object { - "Customers.customerId": "MG-17650", - "Customers.customerName": "Customer 32", + "SUM(a.count)": "1", + "order": null, + "row": 7293, }, Object { - "Customers.customerId": "ML-17755", - "Customers.customerName": "Customer 33", + "SUM(a.count)": "1", + "order": null, + "row": 7174, }, Object { - "Customers.customerId": "MM-18280", - "Customers.customerName": "Customer 34", + "SUM(a.count)": "1", + "order": null, + "row": 6651, }, Object { - "Customers.customerId": "NP-18670", - "Customers.customerName": "Customer 35", + "SUM(a.count)": "1", + "order": null, + "row": 6459, }, Object { - "Customers.customerId": "PF-19165", - "Customers.customerName": "Customer 36", + "SUM(a.count)": "1", + "order": null, + "row": 6272, }, Object { - "Customers.customerId": "SB-20185", - "Customers.customerName": "Customer 37", + "SUM(a.count)": "1", + "order": null, + "row": 6205, }, Object { - "Customers.customerId": "SS-20140", - "Customers.customerName": "Customer 38", + "SUM(a.count)": "1", + "order": null, + "row": 6125, }, Object { - "Customers.customerId": "TB-21175", - "Customers.customerName": "Customer 39", + "SUM(a.count)": "1", + "order": null, + "row": 5277, }, Object { - "Customers.customerId": "TS-21205", - "Customers.customerName": "Customer 40", + "SUM(a.count)": "1", + "order": null, + "row": 5220, }, Object { - "Customers.customerId": "WB-21850", - "Customers.customerName": "Customer 41", + "SUM(a.count)": "1", + "order": null, + "row": 4882, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver filtering Customers: notStartsWith + dimensions, third 1`] = ` -Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "SUM(a.count)": "1", + "order": null, + "row": 4227, }, Object { - "Customers.customerId": "AJ-10780", - "Customers.customerName": "Customer 2", + "SUM(a.count)": "1", + "order": null, + "row": 4161, }, Object { - "Customers.customerId": "AS-10225", - "Customers.customerName": "Customer 3", + "SUM(a.count)": "1", + "order": null, + "row": 4031, }, Object { - "Customers.customerId": "AW-10840", - "Customers.customerName": "Customer 4", + "SUM(a.count)": "1", + "order": null, + "row": 4012, }, Object { - "Customers.customerId": "BB-11545", - "Customers.customerName": "Customer 5", + "SUM(a.count)": "1", + "order": null, + "row": 3934, }, Object { - "Customers.customerId": "BF-11020", - "Customers.customerName": "Customer 6", + "SUM(a.count)": "1", + "order": null, + "row": 3717, }, Object { - "Customers.customerId": "BF-11170", - "Customers.customerName": "Customer 7", + "SUM(a.count)": "1", + "order": null, + "row": 3448, }, Object { - "Customers.customerId": "BM-11650", - "Customers.customerName": "Customer 8", + "SUM(a.count)": "1", + "order": null, + "row": 3083, }, Object { - "Customers.customerId": "BS-11380", - "Customers.customerName": "Customer 9", + "SUM(a.count)": "1", + "order": null, + "row": 3060, }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "SUM(a.count)": "1", + "order": null, + "row": 3059, }, Object { - "Customers.customerId": "CA-12775", - "Customers.customerName": "Customer 11", + "SUM(a.count)": "1", + "order": null, + "row": 2952, }, Object { - "Customers.customerId": "CC-12475", - "Customers.customerName": "Customer 12", + "SUM(a.count)": "1", + "order": null, + "row": 2661, }, Object { - "Customers.customerId": "CD-12280", - "Customers.customerName": "Customer 13", + "SUM(a.count)": "1", + "order": null, + "row": 2655, }, Object { - "Customers.customerId": "CS-12355", - "Customers.customerName": "Customer 14", + "SUM(a.count)": "1", + "order": null, + "row": 2595, }, Object { - "Customers.customerId": "DB-13405", - "Customers.customerName": "Customer 15", + "SUM(a.count)": "1", + "order": null, + "row": 2455, }, Object { - "Customers.customerId": "DG-13300", - "Customers.customerName": "Customer 16", + "SUM(a.count)": "1", + "order": null, + "row": 2329, }, Object { - "Customers.customerId": "DW-13480", - "Customers.customerName": "Customer 17", + "SUM(a.count)": "1", + "order": null, + "row": 1995, }, Object { - "Customers.customerId": "EM-14140", - "Customers.customerName": "Customer 18", + "SUM(a.count)": "1", + "order": null, + "row": 1494, }, Object { - "Customers.customerId": "GA-14725", - "Customers.customerName": "Customer 19", + "SUM(a.count)": "1", + "order": null, + "row": 1013, }, Object { - "Customers.customerId": "GZ-14470", - "Customers.customerName": "Customer 20", + "SUM(a.count)": "1", + "order": null, + "row": 849, }, Object { - "Customers.customerId": "HH-15010", - "Customers.customerName": "Customer 21", + "SUM(a.count)": "1", + "order": null, + "row": 523, }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver SQL API: Nested Rollup over asterisk: nested_rollup_over_asterisk 1`] = ` +Array [ Object { - "Customers.customerId": "HK-14890", - "Customers.customerName": "Customer 22", + "SUM(a.count)": "1", + "date": 2020-01-23T00:00:00.000Z, + "order": "CA-2017-145142", + "row": 523, }, Object { - "Customers.customerId": "JH-15430", - "Customers.customerName": "Customer 23", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-145142", + "row": 523, }, Object { - "Customers.customerId": "JO-15550", - "Customers.customerName": "Customer 24", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 523, }, Object { - "Customers.customerId": "JS-16030", - "Customers.customerName": "Customer 25", + "SUM(a.count)": "1", + "date": 2020-01-01T00:00:00.000Z, + "order": "CA-2017-107503", + "row": 849, }, Object { - "Customers.customerId": "JW-15220", - "Customers.customerName": "Customer 26", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-107503", + "row": 849, }, Object { - "Customers.customerId": "KL-16555", - "Customers.customerName": "Customer 27", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 849, }, Object { - "Customers.customerId": "KN-16705", - "Customers.customerName": "Customer 28", + "SUM(a.count)": "1", + "date": 2020-06-17T00:00:00.000Z, + "order": "CA-2017-118437", + "row": 1013, }, Object { - "Customers.customerId": "LC-17050", - "Customers.customerName": "Customer 29", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-118437", + "row": 1013, }, Object { - "Customers.customerId": "LR-16915", - "Customers.customerName": "Customer 30", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 1013, }, Object { - "Customers.customerId": "MC-17605", - "Customers.customerName": "Customer 31", + "SUM(a.count)": "1", + "date": 2020-10-30T00:00:00.000Z, + "order": "CA-2017-139661", + "row": 1494, }, Object { - "Customers.customerId": "MG-17650", - "Customers.customerName": "Customer 32", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-139661", + "row": 1494, }, Object { - "Customers.customerId": "ML-17755", - "Customers.customerName": "Customer 33", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 1494, }, Object { - "Customers.customerId": "MM-18280", - "Customers.customerName": "Customer 34", + "SUM(a.count)": "1", + "date": 2020-06-25T00:00:00.000Z, + "order": "CA-2017-133648", + "row": 1995, }, Object { - "Customers.customerId": "NP-18670", - "Customers.customerName": "Customer 35", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-133648", + "row": 1995, }, Object { - "Customers.customerId": "PF-19165", - "Customers.customerName": "Customer 36", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 1995, }, Object { - "Customers.customerId": "SB-20185", - "Customers.customerName": "Customer 37", + "SUM(a.count)": "1", + "date": 2020-09-23T00:00:00.000Z, + "order": "CA-2017-138422", + "row": 2329, }, Object { - "Customers.customerId": "SS-20140", - "Customers.customerName": "Customer 38", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-138422", + "row": 2329, }, Object { - "Customers.customerId": "TB-21175", - "Customers.customerName": "Customer 39", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 2329, }, Object { - "Customers.customerId": "TS-21205", - "Customers.customerName": "Customer 40", + "SUM(a.count)": "1", + "date": 2020-03-17T00:00:00.000Z, + "order": "CA-2017-140949", + "row": 2455, }, Object { - "Customers.customerId": "WB-21850", - "Customers.customerName": "Customer 41", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-140949", + "row": 2455, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver filtering Customers: startsWith + dimensions, first 1`] = ` -Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 2455, }, Object { - "Customers.customerId": "AJ-10780", - "Customers.customerName": "Customer 2", + "SUM(a.count)": "1", + "date": 2020-05-13T00:00:00.000Z, + "order": "CA-2017-149048", + "row": 2595, }, Object { - "Customers.customerId": "AS-10225", - "Customers.customerName": "Customer 3", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-149048", + "row": 2595, }, Object { - "Customers.customerId": "AW-10840", - "Customers.customerName": "Customer 4", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 2595, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver filtering Customers: startsWith + dimensions, second 1`] = ` -Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "SUM(a.count)": "1", + "date": 2020-09-17T00:00:00.000Z, + "order": "CA-2017-112515", + "row": 2655, }, Object { - "Customers.customerId": "AJ-10780", - "Customers.customerName": "Customer 2", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-112515", + "row": 2655, }, Object { - "Customers.customerId": "AS-10225", - "Customers.customerName": "Customer 3", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 2655, }, Object { - "Customers.customerId": "AW-10840", - "Customers.customerName": "Customer 4", + "SUM(a.count)": "1", + "date": 2020-11-28T00:00:00.000Z, + "order": "CA-2017-123372", + "row": 2661, }, Object { - "Customers.customerId": "BB-11545", - "Customers.customerName": "Customer 5", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-123372", + "row": 2661, }, Object { - "Customers.customerId": "BF-11020", - "Customers.customerName": "Customer 6", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 2661, }, Object { - "Customers.customerId": "BF-11170", - "Customers.customerName": "Customer 7", + "SUM(a.count)": "1", + "date": 2020-11-12T00:00:00.000Z, + "order": "CA-2017-134915", + "row": 2952, }, Object { - "Customers.customerId": "BM-11650", - "Customers.customerName": "Customer 8", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-134915", + "row": 2952, }, Object { - "Customers.customerId": "BS-11380", - "Customers.customerName": "Customer 9", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 2952, }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "SUM(a.count)": "1", + "date": 2020-10-19T00:00:00.000Z, + "order": "CA-2017-131492", + "row": 3059, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver filtering Customers: startsWith + dimensions, third 1`] = `Array []`; - -exports[`Queries with the @cubejs-backend/snowflake-driver filtering ECommerce: contains dimensions, first 1`] = ` -Array [ Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Detroit", - "ECommerce.customerId": "MC-17605", - "ECommerce.customerName": "Customer 31", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-01-23T00:00:00.000", - "ECommerce.orderId": "CA-2017-145142", - "ECommerce.productName": "Balt Solid Wood Rectangular Table", - "ECommerce.profit": "21.0980", - "ECommerce.quantity": "2", - "ECommerce.rowId": "523", - "ECommerce.sales": "210.980", - "ECommerce.subCategory": "Tables", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-131492", + "row": 3059, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "San Francisco", - "ECommerce.customerId": "HH-15010", - "ECommerce.customerName": "Customer 21", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-10-19T00:00:00.000", - "ECommerce.orderId": "CA-2017-131492", - "ECommerce.productName": "Anderson Hickey Conga Table Tops & Accessories", - "ECommerce.profit": "-3.3506", - "ECommerce.quantity": "2", - "ECommerce.rowId": "3060", - "ECommerce.sales": "24.368", - "ECommerce.subCategory": "Tables", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 3059, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver filtering ECommerce: contains dimensions, second 1`] = ` -Array [ Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Detroit", - "ECommerce.customerId": "MC-17605", - "ECommerce.customerName": "Customer 31", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-01-23T00:00:00.000", - "ECommerce.orderId": "CA-2017-145142", - "ECommerce.productName": "Balt Solid Wood Rectangular Table", - "ECommerce.profit": "21.0980", - "ECommerce.quantity": "2", - "ECommerce.rowId": "523", - "ECommerce.sales": "210.980", - "ECommerce.subCategory": "Tables", + "SUM(a.count)": "1", + "date": 2020-10-19T00:00:00.000Z, + "order": "CA-2017-131492", + "row": 3060, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Lorain", - "ECommerce.customerId": "GA-14725", - "ECommerce.customerName": "Customer 19", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderId": "CA-2017-107503", - "ECommerce.productName": "Linden 10 Round Wall Clock, Black", - "ECommerce.profit": "8.5568", - "ECommerce.quantity": "4", - "ECommerce.rowId": "849", - "ECommerce.sales": "48.896", - "ECommerce.subCategory": "Furnishings", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-131492", + "row": 3060, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Vancouver", - "ECommerce.customerId": "JW-15220", - "ECommerce.customerName": "Customer 26", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-10-30T00:00:00.000", - "ECommerce.orderId": "CA-2017-139661", - "ECommerce.productName": "Magna Visual Magnetic Picture Hangers", - "ECommerce.profit": "3.6632", - "ECommerce.quantity": "2", - "ECommerce.rowId": "1494", - "ECommerce.sales": "9.640", - "ECommerce.subCategory": "Furnishings", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 3060, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "San Francisco", - "ECommerce.customerId": "HH-15010", - "ECommerce.customerName": "Customer 21", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-10-19T00:00:00.000", - "ECommerce.orderId": "CA-2017-131492", - "ECommerce.productName": "Linden 10 Round Wall Clock, Black", - "ECommerce.profit": "10.3904", - "ECommerce.quantity": "2", - "ECommerce.rowId": "3059", - "ECommerce.sales": "30.560", - "ECommerce.subCategory": "Furnishings", + "SUM(a.count)": "1", + "date": 2020-05-27T00:00:00.000Z, + "order": "US-2017-132297", + "row": 3083, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "San Francisco", - "ECommerce.customerId": "HH-15010", - "ECommerce.customerName": "Customer 21", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-10-19T00:00:00.000", - "ECommerce.orderId": "CA-2017-131492", - "ECommerce.productName": "Anderson Hickey Conga Table Tops & Accessories", - "ECommerce.profit": "-3.3506", - "ECommerce.quantity": "2", - "ECommerce.rowId": "3060", - "ECommerce.sales": "24.368", - "ECommerce.subCategory": "Tables", + "SUM(a.count)": "1", + "date": null, + "order": "US-2017-132297", + "row": 3083, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Marion", - "ECommerce.customerId": "MG-17650", - "ECommerce.customerName": "Customer 32", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-12-01T00:00:00.000", - "ECommerce.orderId": "CA-2017-145660", - "ECommerce.productName": "Magna Visual Magnetic Picture Hangers", - "ECommerce.profit": "1.7352", - "ECommerce.quantity": "2", - "ECommerce.rowId": "6205", - "ECommerce.sales": "7.712", - "ECommerce.subCategory": "Furnishings", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 3083, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Philadelphia", - "ECommerce.customerId": "BS-11755", - "ECommerce.customerName": "Customer 10", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-04-10T00:00:00.000", - "ECommerce.orderId": "CA-2017-135069", - "ECommerce.productName": "Linden 10 Round Wall Clock, Black", - "ECommerce.profit": "6.4176", - "ECommerce.quantity": "3", - "ECommerce.rowId": "7425", - "ECommerce.sales": "36.672", - "ECommerce.subCategory": "Furnishings", + "SUM(a.count)": "1", + "date": 2020-06-11T00:00:00.000Z, + "order": "CA-2017-102554", + "row": 3448, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Dallas", - "ECommerce.customerId": "LC-17050", - "ECommerce.customerName": "Customer 29", - "ECommerce.discount": "0.6", - "ECommerce.orderDate": "2020-11-06T00:00:00.000", - "ECommerce.orderId": "US-2017-119319", - "ECommerce.productName": "Linden 10 Round Wall Clock, Black", - "ECommerce.profit": "-19.8640", - "ECommerce.quantity": "5", - "ECommerce.rowId": "8621", - "ECommerce.sales": "30.560", - "ECommerce.subCategory": "Furnishings", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-102554", + "row": 3448, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver filtering ECommerce: contains dimensions, third 1`] = `Array []`; - -exports[`Queries with the @cubejs-backend/snowflake-driver filtering ECommerce: endsWith + dimensions, first 1`] = ` -Array [ Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Marion", - "ECommerce.customerId": "MG-17650", - "ECommerce.customerName": "Customer 32", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-12-01T00:00:00.000", - "ECommerce.orderId": "CA-2017-145660", - "ECommerce.productName": "Magna Visual Magnetic Picture Hangers", - "ECommerce.profit": "1.7352", - "ECommerce.quantity": "2", - "ECommerce.rowId": "6205", - "ECommerce.sales": "7.712", - "ECommerce.subCategory": "Furnishings", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 3448, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "JH-15430", - "ECommerce.customerName": "Customer 23", - "ECommerce.discount": "0.5", - "ECommerce.orderDate": "2020-12-25T00:00:00.000", - "ECommerce.orderId": "CA-2017-105620", - "ECommerce.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", - "ECommerce.profit": "-7.2000", - "ECommerce.quantity": "2", - "ECommerce.rowId": "8958", - "ECommerce.sales": "120.000", - "ECommerce.subCategory": "Machines", + "SUM(a.count)": "1", + "date": 2020-05-29T00:00:00.000Z, + "order": "CA-2017-144568", + "row": 3717, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver filtering ECommerce: endsWith + dimensions, second 1`] = ` -Array [ Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Detroit", - "ECommerce.customerId": "MC-17605", - "ECommerce.customerName": "Customer 31", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-01-23T00:00:00.000", - "ECommerce.orderId": "CA-2017-145142", - "ECommerce.productName": "Balt Solid Wood Rectangular Table", - "ECommerce.profit": "21.0980", - "ECommerce.quantity": "2", - "ECommerce.rowId": "523", - "ECommerce.sales": "210.980", - "ECommerce.subCategory": "Tables", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-144568", + "row": 3717, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Vancouver", - "ECommerce.customerId": "JW-15220", - "ECommerce.customerName": "Customer 26", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-10-30T00:00:00.000", - "ECommerce.orderId": "CA-2017-139661", - "ECommerce.productName": "Magna Visual Magnetic Picture Hangers", - "ECommerce.profit": "3.6632", - "ECommerce.quantity": "2", - "ECommerce.rowId": "1494", - "ECommerce.sales": "9.640", - "ECommerce.subCategory": "Furnishings", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 3717, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "KN-16705", - "ECommerce.customerName": "Customer 28", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-09-23T00:00:00.000", - "ECommerce.orderId": "CA-2017-138422", - "ECommerce.productName": "Wausau Papers Astrobrights Colored Envelopes", - "ECommerce.profit": "5.2026", - "ECommerce.quantity": "3", - "ECommerce.rowId": "2329", - "ECommerce.sales": "14.352", - "ECommerce.subCategory": "Envelopes", + "SUM(a.count)": "1", + "date": 2020-09-02T00:00:00.000Z, + "order": "CA-2017-123001", + "row": 3934, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "DG-13300", - "ECommerce.customerName": "Customer 16", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-11-28T00:00:00.000", - "ECommerce.orderId": "CA-2017-123372", - "ECommerce.productName": "Google Nexus 5", - "ECommerce.profit": "494.9725", - "ECommerce.quantity": "11", - "ECommerce.rowId": "2661", - "ECommerce.sales": "1979.890", - "ECommerce.subCategory": "Phones", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-123001", + "row": 3934, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "San Francisco", - "ECommerce.customerId": "HH-15010", - "ECommerce.customerName": "Customer 21", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-10-19T00:00:00.000", - "ECommerce.orderId": "CA-2017-131492", - "ECommerce.productName": "Linden 10 Round Wall Clock, Black", - "ECommerce.profit": "10.3904", - "ECommerce.quantity": "2", - "ECommerce.rowId": "3059", - "ECommerce.sales": "30.560", - "ECommerce.subCategory": "Furnishings", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 3934, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "San Francisco", - "ECommerce.customerId": "HH-15010", - "ECommerce.customerName": "Customer 21", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-10-19T00:00:00.000", - "ECommerce.orderId": "CA-2017-131492", - "ECommerce.productName": "Anderson Hickey Conga Table Tops & Accessories", - "ECommerce.profit": "-3.3506", - "ECommerce.quantity": "2", - "ECommerce.rowId": "3060", - "ECommerce.sales": "24.368", - "ECommerce.subCategory": "Tables", + "SUM(a.count)": "1", + "date": 2020-11-21T00:00:00.000Z, + "order": "CA-2017-100811", + "row": 4012, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Bakersfield", - "ECommerce.customerId": "AW-10840", - "ECommerce.customerName": "Customer 4", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-09-02T00:00:00.000", - "ECommerce.orderId": "CA-2017-123001", - "ECommerce.productName": "OIC #2 Pencils, Medium Soft", - "ECommerce.profit": "2.7260", - "ECommerce.quantity": "5", - "ECommerce.rowId": "3934", - "ECommerce.sales": "9.400", - "ECommerce.subCategory": "Art", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-100811", + "row": 4012, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Philadelphia", - "ECommerce.customerId": "CC-12475", - "ECommerce.customerName": "Customer 12", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-11-21T00:00:00.000", - "ECommerce.orderId": "CA-2017-100811", - "ECommerce.productName": "Recycled Eldon Regeneration Jumbo File", - "ECommerce.profit": "3.9296", - "ECommerce.quantity": "4", - "ECommerce.rowId": "4012", - "ECommerce.sales": "39.296", - "ECommerce.subCategory": "Storage", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 4012, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Los Angeles", - "ECommerce.customerId": "SS-20140", - "ECommerce.customerName": "Customer 38", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-06-03T00:00:00.000", - "ECommerce.orderId": "CA-2017-145772", - "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.1", - "ECommerce.profit": "8.5025", - "ECommerce.quantity": "5", - "ECommerce.rowId": "6125", - "ECommerce.sales": "44.750", - "ECommerce.subCategory": "Accessories", + "SUM(a.count)": "1", + "date": 2020-12-24T00:00:00.000Z, + "order": "CA-2017-124296", + "row": 4031, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Baltimore", - "ECommerce.customerId": "AJ-10780", - "ECommerce.customerName": "Customer 2", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-05-14T00:00:00.000", - "ECommerce.orderId": "US-2017-133361", - "ECommerce.productName": "OIC #2 Pencils, Medium Soft", - "ECommerce.profit": "1.0904", - "ECommerce.quantity": "2", - "ECommerce.rowId": "6459", - "ECommerce.sales": "3.760", - "ECommerce.subCategory": "Art", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-124296", + "row": 4031, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "New York City", - "ECommerce.customerId": "MM-18280", - "ECommerce.customerName": "Customer 34", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-06-10T00:00:00.000", - "ECommerce.orderId": "CA-2017-112172", - "ECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", - "ECommerce.profit": "0.7065", - "ECommerce.quantity": "3", - "ECommerce.rowId": "7310", - "ECommerce.sales": "14.130", - "ECommerce.subCategory": "Fasteners", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 4031, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Lakewood", - "ECommerce.customerId": "NP-18670", - "ECommerce.customerName": "Customer 35", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-10-12T00:00:00.000", - "ECommerce.orderId": "CA-2017-150091", - "ECommerce.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", - "ECommerce.profit": "129.2940", - "ECommerce.quantity": "5", - "ECommerce.rowId": "8425", - "ECommerce.sales": "2154.900", - "ECommerce.subCategory": "Bookcases", + "SUM(a.count)": "1", + "date": 2020-05-14T00:00:00.000Z, + "order": "CA-2017-115546", + "row": 4161, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver filtering ECommerce: endsWith + dimensions, third 1`] = `Array []`; - -exports[`Queries with the @cubejs-backend/snowflake-driver filtering ECommerce: startsWith + dimensions, first 1`] = ` -Array [ Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Provo", - "ECommerce.customerId": "AS-10225", - "ECommerce.customerName": "Customer 3", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-09-17T00:00:00.000", - "ECommerce.orderId": "CA-2017-112515", - "ECommerce.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", - "ECommerce.profit": "77.5764", - "ECommerce.quantity": "3", - "ECommerce.rowId": "2655", - "ECommerce.sales": "1292.940", - "ECommerce.subCategory": "Bookcases", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-115546", + "row": 4161, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Bakersfield", - "ECommerce.customerId": "AW-10840", - "ECommerce.customerName": "Customer 4", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-09-02T00:00:00.000", - "ECommerce.orderId": "CA-2017-123001", - "ECommerce.productName": "OIC #2 Pencils, Medium Soft", - "ECommerce.profit": "2.7260", - "ECommerce.quantity": "5", - "ECommerce.rowId": "3934", - "ECommerce.sales": "9.400", - "ECommerce.subCategory": "Art", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 4161, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "New York City", - "ECommerce.customerId": "AH-10465", - "ECommerce.customerName": "Customer 1", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-05-14T00:00:00.000", - "ECommerce.orderId": "CA-2017-115546", - "ECommerce.productName": "Google Nexus 7", - "ECommerce.profit": "134.9925", - "ECommerce.quantity": "3", - "ECommerce.rowId": "4161", - "ECommerce.sales": "539.970", - "ECommerce.subCategory": "Phones", + "SUM(a.count)": "1", + "date": 2020-11-11T00:00:00.000Z, + "order": "CA-2017-120327", + "row": 4227, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Baltimore", - "ECommerce.customerId": "AJ-10780", - "ECommerce.customerName": "Customer 2", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-05-14T00:00:00.000", - "ECommerce.orderId": "US-2017-133361", - "ECommerce.productName": "OIC #2 Pencils, Medium Soft", - "ECommerce.profit": "1.0904", - "ECommerce.quantity": "2", - "ECommerce.rowId": "6459", - "ECommerce.sales": "3.760", - "ECommerce.subCategory": "Art", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-120327", + "row": 4227, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver filtering ECommerce: startsWith + dimensions, second 1`] = ` -Array [ Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "BM-11650", - "ECommerce.customerName": "Customer 8", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-05-13T00:00:00.000", - "ECommerce.orderId": "CA-2017-149048", - "ECommerce.productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", - "ECommerce.profit": "81.4320", - "ECommerce.quantity": "2", - "ECommerce.rowId": "2595", - "ECommerce.sales": "180.960", - "ECommerce.subCategory": "Envelopes", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 4227, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Provo", - "ECommerce.customerId": "AS-10225", - "ECommerce.customerName": "Customer 3", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-09-17T00:00:00.000", - "ECommerce.orderId": "CA-2017-112515", - "ECommerce.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", - "ECommerce.profit": "77.5764", - "ECommerce.quantity": "3", - "ECommerce.rowId": "2655", - "ECommerce.sales": "1292.940", - "ECommerce.subCategory": "Bookcases", + "SUM(a.count)": "1", + "date": 2020-11-02T00:00:00.000Z, + "order": "CA-2017-143567", + "row": 4882, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Bakersfield", - "ECommerce.customerId": "AW-10840", - "ECommerce.customerName": "Customer 4", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-09-02T00:00:00.000", - "ECommerce.orderId": "CA-2017-123001", - "ECommerce.productName": "OIC #2 Pencils, Medium Soft", - "ECommerce.profit": "2.7260", - "ECommerce.quantity": "5", - "ECommerce.rowId": "3934", - "ECommerce.sales": "9.400", - "ECommerce.subCategory": "Art", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-143567", + "row": 4882, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "New York City", - "ECommerce.customerId": "AH-10465", - "ECommerce.customerName": "Customer 1", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-05-14T00:00:00.000", - "ECommerce.orderId": "CA-2017-115546", - "ECommerce.productName": "Google Nexus 7", - "ECommerce.profit": "134.9925", - "ECommerce.quantity": "3", - "ECommerce.rowId": "4161", - "ECommerce.sales": "539.970", - "ECommerce.subCategory": "Phones", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 4882, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Oakland", - "ECommerce.customerId": "BB-11545", - "ECommerce.customerName": "Customer 5", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-12-02T00:00:00.000", - "ECommerce.orderId": "CA-2017-102379", - "ECommerce.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", - "ECommerce.profit": "44.9750", - "ECommerce.quantity": "5", - "ECommerce.rowId": "6272", - "ECommerce.sales": "179.900", - "ECommerce.subCategory": "Art", + "SUM(a.count)": "1", + "date": 2020-09-01T00:00:00.000Z, + "order": "CA-2017-145653", + "row": 5220, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Baltimore", - "ECommerce.customerId": "AJ-10780", - "ECommerce.customerName": "Customer 2", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-05-14T00:00:00.000", - "ECommerce.orderId": "US-2017-133361", - "ECommerce.productName": "OIC #2 Pencils, Medium Soft", - "ECommerce.profit": "1.0904", - "ECommerce.quantity": "2", - "ECommerce.rowId": "6459", - "ECommerce.sales": "3.760", - "ECommerce.subCategory": "Art", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-145653", + "row": 5220, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Arlington", - "ECommerce.customerId": "BF-11020", - "ECommerce.customerName": "Customer 6", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-09-08T00:00:00.000", - "ECommerce.orderId": "US-2017-124779", - "ECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", - "ECommerce.profit": "15.4980", - "ECommerce.quantity": "5", - "ECommerce.rowId": "6651", - "ECommerce.sales": "45.920", - "ECommerce.subCategory": "Fasteners", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 5220, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Philadelphia", - "ECommerce.customerId": "BS-11755", - "ECommerce.customerName": "Customer 10", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-04-10T00:00:00.000", - "ECommerce.orderId": "CA-2017-135069", - "ECommerce.productName": "Linden 10 Round Wall Clock, Black", - "ECommerce.profit": "6.4176", - "ECommerce.quantity": "3", - "ECommerce.rowId": "7425", - "ECommerce.sales": "36.672", - "ECommerce.subCategory": "Furnishings", + "SUM(a.count)": "1", + "date": 2020-12-14T00:00:00.000Z, + "order": "CA-2017-147333", + "row": 5277, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "BF-11170", - "ECommerce.customerName": "Customer 7", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-12-14T00:00:00.000", - "ECommerce.orderId": "CA-2017-151799", - "ECommerce.productName": "Canon PC1080F Personal Copier", - "ECommerce.profit": "467.9922", - "ECommerce.quantity": "2", - "ECommerce.rowId": "7698", - "ECommerce.sales": "1199.980", - "ECommerce.subCategory": "Copiers", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-147333", + "row": 5277, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "BS-11380", - "ECommerce.customerName": "Customer 9", - "ECommerce.discount": "0.4", - "ECommerce.orderDate": "2020-11-16T00:00:00.000", - "ECommerce.orderId": "CA-2017-160633", - "ECommerce.productName": "Hewlett Packard 610 Color Digital Copier / Printer", - "ECommerce.profit": "74.9985", - "ECommerce.quantity": "3", - "ECommerce.rowId": "9618", - "ECommerce.sales": "899.982", - "ECommerce.subCategory": "Copiers", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 5277, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Bowling", - "ECommerce.customerId": "BS-11380", - "ECommerce.customerName": "Customer 9", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-11-16T00:00:00.000", - "ECommerce.orderId": "CA-2017-160633", - "ECommerce.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", - "ECommerce.profit": "5.3970", - "ECommerce.quantity": "3", - "ECommerce.rowId": "9619", - "ECommerce.sales": "86.352", - "ECommerce.subCategory": "Art", + "SUM(a.count)": "1", + "date": 2020-06-03T00:00:00.000Z, + "order": "CA-2017-145772", + "row": 6125, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver filtering ECommerce: startsWith + dimensions, third 1`] = `Array []`; - -exports[`Queries with the @cubejs-backend/snowflake-driver filtering Products: contains + dimensions + order, first 1`] = ` -Array [ Object { - "Products.category": "Furniture", - "Products.productName": "Anderson Hickey Conga Table Tops & Accessories", - "Products.subCategory": "Tables", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-145772", + "row": 6125, }, Object { - "Products.category": "Furniture", - "Products.productName": "Balt Solid Wood Rectangular Table", - "Products.subCategory": "Tables", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 6125, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver filtering Products: contains + dimensions + order, second 1`] = ` -Array [ Object { - "Products.category": "Furniture", - "Products.productName": "Linden 10 Round Wall Clock, Black", - "Products.subCategory": "Furnishings", + "SUM(a.count)": "1", + "date": 2020-12-01T00:00:00.000Z, + "order": "CA-2017-145660", + "row": 6205, }, Object { - "Products.category": "Furniture", - "Products.productName": "Magna Visual Magnetic Picture Hangers", - "Products.subCategory": "Furnishings", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-145660", + "row": 6205, }, Object { - "Products.category": "Furniture", - "Products.productName": "Anderson Hickey Conga Table Tops & Accessories", - "Products.subCategory": "Tables", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 6205, }, Object { - "Products.category": "Furniture", - "Products.productName": "Balt Solid Wood Rectangular Table", - "Products.subCategory": "Tables", + "SUM(a.count)": "1", + "date": 2020-12-02T00:00:00.000Z, + "order": "CA-2017-102379", + "row": 6272, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver filtering Products: contains + dimensions + order, third 1`] = `Array []`; - -exports[`Queries with the @cubejs-backend/snowflake-driver filtering Products: endsWith filter + dimensions + order, first 1`] = ` -Array [ Object { - "Products.category": "Furniture", - "Products.productName": "DMI Eclipse Executive Suite Bookcases", - "Products.subCategory": "Bookcases", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-102379", + "row": 6272, }, Object { - "Products.category": "Furniture", - "Products.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", - "Products.subCategory": "Bookcases", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 6272, }, Object { - "Products.category": "Furniture", - "Products.productName": "Anderson Hickey Conga Table Tops & Accessories", - "Products.subCategory": "Tables", + "SUM(a.count)": "1", + "date": 2020-05-14T00:00:00.000Z, + "order": "US-2017-133361", + "row": 6459, }, Object { - "Products.category": "Furniture", - "Products.productName": "Balt Solid Wood Rectangular Table", - "Products.subCategory": "Tables", + "SUM(a.count)": "1", + "date": null, + "order": "US-2017-133361", + "row": 6459, }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", - "Products.subCategory": "Envelopes", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 6459, }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Wausau Papers Astrobrights Colored Envelopes", - "Products.subCategory": "Envelopes", + "SUM(a.count)": "1", + "date": 2020-09-08T00:00:00.000Z, + "order": "US-2017-124779", + "row": 6651, }, Object { - "Products.category": "Technology", - "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.0", - "Products.subCategory": "Accessories", + "SUM(a.count)": "1", + "date": null, + "order": "US-2017-124779", + "row": 6651, }, Object { - "Products.category": "Technology", - "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.1", - "Products.subCategory": "Accessories", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 6651, }, Object { - "Products.category": "Technology", - "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.2", - "Products.subCategory": "Accessories", + "SUM(a.count)": "1", + "date": 2020-03-26T00:00:00.000Z, + "order": "US-2017-141677", + "row": 7174, }, Object { - "Products.category": "Technology", - "Products.productName": "Logitech di_Novo Edge Keyboard", - "Products.subCategory": "Accessories", + "SUM(a.count)": "1", + "date": null, + "order": "US-2017-141677", + "row": 7174, }, Object { - "Products.category": "Technology", - "Products.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", - "Products.subCategory": "Machines", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 7174, }, Object { - "Products.category": "Technology", - "Products.productName": "Okidata C610n Printer", - "Products.subCategory": "Machines", + "SUM(a.count)": "1", + "date": 2020-12-04T00:00:00.000Z, + "order": "CA-2017-109183", + "row": 7293, }, Object { - "Products.category": "Technology", - "Products.productName": "Google Nexus 5", - "Products.subCategory": "Phones", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-109183", + "row": 7293, }, Object { - "Products.category": "Technology", - "Products.productName": "Google Nexus 6", - "Products.subCategory": "Phones", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 7293, }, Object { - "Products.category": "Technology", - "Products.productName": "Google Nexus 7", - "Products.subCategory": "Phones", + "SUM(a.count)": "1", + "date": 2020-06-10T00:00:00.000Z, + "order": "CA-2017-112172", + "row": 7310, }, Object { - "Products.category": "Technology", - "Products.productName": "HTC One", - "Products.subCategory": "Phones", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-112172", + "row": 7310, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver filtering Products: endsWith filter + dimensions + order, second 1`] = ` -Array [ Object { - "Products.category": "Furniture", - "Products.productName": "DMI Eclipse Executive Suite Bookcases", - "Products.subCategory": "Bookcases", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 7310, }, Object { - "Products.category": "Furniture", - "Products.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", - "Products.subCategory": "Bookcases", + "SUM(a.count)": "1", + "date": 2020-04-10T00:00:00.000Z, + "order": "CA-2017-135069", + "row": 7425, }, Object { - "Products.category": "Furniture", - "Products.productName": "Linden 10 Round Wall Clock, Black", - "Products.subCategory": "Furnishings", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-135069", + "row": 7425, }, Object { - "Products.category": "Furniture", - "Products.productName": "Magna Visual Magnetic Picture Hangers", - "Products.subCategory": "Furnishings", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 7425, }, Object { - "Products.category": "Furniture", - "Products.productName": "Anderson Hickey Conga Table Tops & Accessories", - "Products.subCategory": "Tables", + "SUM(a.count)": "1", + "date": 2020-12-14T00:00:00.000Z, + "order": "CA-2017-151799", + "row": 7698, }, Object { - "Products.category": "Furniture", - "Products.productName": "Balt Solid Wood Rectangular Table", - "Products.subCategory": "Tables", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-151799", + "row": 7698, }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", - "Products.subCategory": "Envelopes", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 7698, }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Wausau Papers Astrobrights Colored Envelopes", - "Products.subCategory": "Envelopes", + "SUM(a.count)": "1", + "date": 2020-10-12T00:00:00.000Z, + "order": "CA-2017-150091", + "row": 8425, }, Object { - "Products.category": "Technology", - "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.0", - "Products.subCategory": "Accessories", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-150091", + "row": 8425, }, Object { - "Products.category": "Technology", - "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.1", - "Products.subCategory": "Accessories", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 8425, }, Object { - "Products.category": "Technology", - "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.2", - "Products.subCategory": "Accessories", + "SUM(a.count)": "1", + "date": 2020-11-06T00:00:00.000Z, + "order": "US-2017-119319", + "row": 8621, }, Object { - "Products.category": "Technology", - "Products.productName": "Logitech di_Novo Edge Keyboard", - "Products.subCategory": "Accessories", + "SUM(a.count)": "1", + "date": null, + "order": "US-2017-119319", + "row": 8621, }, Object { - "Products.category": "Technology", - "Products.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", - "Products.subCategory": "Machines", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 8621, }, Object { - "Products.category": "Technology", - "Products.productName": "Okidata C610n Printer", - "Products.subCategory": "Machines", + "SUM(a.count)": "1", + "date": 2020-02-16T00:00:00.000Z, + "order": "CA-2017-163265", + "row": 8673, }, Object { - "Products.category": "Technology", - "Products.productName": "Google Nexus 5", - "Products.subCategory": "Phones", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-163265", + "row": 8673, }, Object { - "Products.category": "Technology", - "Products.productName": "Google Nexus 6", - "Products.subCategory": "Phones", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 8673, }, Object { - "Products.category": "Technology", - "Products.productName": "Google Nexus 7", - "Products.subCategory": "Phones", + "SUM(a.count)": "1", + "date": 2020-06-15T00:00:00.000Z, + "order": "CA-2017-119284", + "row": 8697, }, Object { - "Products.category": "Technology", - "Products.productName": "HTC One", - "Products.subCategory": "Phones", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-119284", + "row": 8697, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver filtering Products: endsWith filter + dimensions + order, third 1`] = `Array []`; - -exports[`Queries with the @cubejs-backend/snowflake-driver filtering Products: startsWith filter + dimensions + order, first 1`] = ` -Array [ Object { - "Products.category": "Office Supplies", - "Products.productName": "OIC #2 Pencils, Medium Soft", - "Products.subCategory": "Art", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 8697, }, Object { - "Products.category": "Technology", - "Products.productName": "Okidata C610n Printer", - "Products.subCategory": "Machines", + "SUM(a.count)": "1", + "date": 2020-09-17T00:00:00.000Z, + "order": "CA-2017-126928", + "row": 8878, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver filtering Products: startsWith filter + dimensions + order, second 1`] = ` -Array [ Object { - "Products.category": "Office Supplies", - "Products.productName": "OIC #2 Pencils, Medium Soft", - "Products.subCategory": "Art", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-126928", + "row": 8878, }, Object { - "Products.category": "Technology", - "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.0", - "Products.subCategory": "Accessories", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 8878, }, Object { - "Products.category": "Technology", - "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.1", - "Products.subCategory": "Accessories", + "SUM(a.count)": "1", + "date": 2020-12-25T00:00:00.000Z, + "order": "CA-2017-105620", + "row": 8958, }, Object { - "Products.category": "Technology", - "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.2", - "Products.subCategory": "Accessories", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-105620", + "row": 8958, }, Object { - "Products.category": "Technology", - "Products.productName": "Okidata C610n Printer", - "Products.subCategory": "Machines", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 8958, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver filtering Products: startsWith filter + dimensions + order, third 1`] = `Array []`; - -exports[`Queries with the @cubejs-backend/snowflake-driver pre-aggregations Customers: running total without time dimension 1`] = ` -Array [ Object { - "Customers.runningTotal": "41", + "SUM(a.count)": "1", + "date": 2020-11-05T00:00:00.000Z, + "order": "CA-2017-102925", + "row": 9473, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying BigECommerce: partitioned pre-agg 1`] = ` -Array [ Object { - "BigECommerce.orderDate": "2020-01-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", - "BigECommerce.productName": "Balt Solid Wood Rectangular Table", - "BigECommerce.totalQuantity": "2", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-102925", + "row": 9473, }, Object { - "BigECommerce.orderDate": "2020-01-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", - "BigECommerce.productName": "Linden 10 Round Wall Clock, Black", - "BigECommerce.totalQuantity": "4", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 9473, }, Object { - "BigECommerce.orderDate": "2020-02-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", - "BigECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", - "BigECommerce.totalQuantity": "2", + "SUM(a.count)": "1", + "date": 2020-06-25T00:00:00.000Z, + "order": "CA-2017-116127", + "row": 9584, }, Object { - "BigECommerce.orderDate": "2020-03-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", - "BigECommerce.productName": "Canon PC1080F Personal Copier", - "BigECommerce.totalQuantity": "5", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-116127", + "row": 9584, }, Object { - "BigECommerce.orderDate": "2020-03-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", - "BigECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.2", - "BigECommerce.totalQuantity": "8", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 9584, }, Object { - "BigECommerce.orderDate": "2020-04-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", - "BigECommerce.productName": "Linden 10 Round Wall Clock, Black", - "BigECommerce.totalQuantity": "3", + "SUM(a.count)": "1", + "date": 2020-11-16T00:00:00.000Z, + "order": "CA-2017-160633", + "row": 9618, }, Object { - "BigECommerce.orderDate": "2020-05-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", - "BigECommerce.productName": "Google Nexus 6", - "BigECommerce.totalQuantity": "3", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-160633", + "row": 9618, }, Object { - "BigECommerce.orderDate": "2020-05-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", - "BigECommerce.productName": "Google Nexus 7", - "BigECommerce.totalQuantity": "3", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 9618, }, Object { - "BigECommerce.orderDate": "2020-05-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", - "BigECommerce.productName": "OIC #2 Pencils, Medium Soft", - "BigECommerce.totalQuantity": "2", + "SUM(a.count)": "1", + "date": 2020-11-16T00:00:00.000Z, + "order": "CA-2017-160633", + "row": 9619, }, Object { - "BigECommerce.orderDate": "2020-05-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", - "BigECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", - "BigECommerce.totalQuantity": "5", + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-160633", + "row": 9619, }, Object { - "BigECommerce.orderDate": "2020-05-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", - "BigECommerce.productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", - "BigECommerce.totalQuantity": "2", + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 9619, }, Object { - "BigECommerce.orderDate": "2020-06-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", - "BigECommerce.productName": "DMI Eclipse Executive Suite Bookcases", - "BigECommerce.totalQuantity": "1", + "SUM(a.count)": "44", + "date": null, + "order": null, + "row": null, }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver SQL API: Nested Rollup with aliases: nested_rollup_with_aliases 1`] = ` +Array [ Object { - "BigECommerce.orderDate": "2020-06-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", - "BigECommerce.productName": "HTC One", - "BigECommerce.totalQuantity": "3", + "SUM(a.cnt)": "1", + "date": 2020-01-23T00:00:00.000Z, + "order": "CA-2017-145142", + "row": 523, }, Object { - "BigECommerce.orderDate": "2020-06-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", - "BigECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.1", - "BigECommerce.totalQuantity": "5", + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-145142", + "row": 523, }, Object { - "BigECommerce.orderDate": "2020-06-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", - "BigECommerce.productName": "OIC #2 Pencils, Medium Soft", - "BigECommerce.totalQuantity": "2", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 523, }, Object { - "BigECommerce.orderDate": "2020-06-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", - "BigECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", - "BigECommerce.totalQuantity": "6", + "SUM(a.cnt)": "1", + "date": 2020-01-01T00:00:00.000Z, + "order": "CA-2017-107503", + "row": 849, }, Object { - "BigECommerce.orderDate": "2020-06-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", - "BigECommerce.productName": "Project Tote Personal File", - "BigECommerce.totalQuantity": "1", + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-107503", + "row": 849, }, Object { - "BigECommerce.orderDate": "2020-09-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", - "BigECommerce.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", - "BigECommerce.totalQuantity": "3", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 849, }, Object { - "BigECommerce.orderDate": "2020-09-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", - "BigECommerce.productName": "Harbour Creations 67200 Series Stacking Chairs", - "BigECommerce.totalQuantity": "7", + "SUM(a.cnt)": "1", + "date": 2020-06-17T00:00:00.000Z, + "order": "CA-2017-118437", + "row": 1013, }, Object { - "BigECommerce.orderDate": "2020-09-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", - "BigECommerce.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", - "BigECommerce.totalQuantity": "4", + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-118437", + "row": 1013, }, Object { - "BigECommerce.orderDate": "2020-09-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", - "BigECommerce.productName": "OIC #2 Pencils, Medium Soft", - "BigECommerce.totalQuantity": "5", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 1013, }, Object { - "BigECommerce.orderDate": "2020-09-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", - "BigECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", - "BigECommerce.totalQuantity": "5", + "SUM(a.cnt)": "1", + "date": 2020-10-30T00:00:00.000Z, + "order": "CA-2017-139661", + "row": 1494, }, Object { - "BigECommerce.orderDate": "2020-09-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", - "BigECommerce.productName": "Wausau Papers Astrobrights Colored Envelopes", - "BigECommerce.totalQuantity": "3", + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-139661", + "row": 1494, }, Object { - "BigECommerce.orderDate": "2020-10-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", - "BigECommerce.productName": "Anderson Hickey Conga Table Tops & Accessories", - "BigECommerce.totalQuantity": "2", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 1494, }, Object { - "BigECommerce.orderDate": "2020-10-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", - "BigECommerce.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", - "BigECommerce.totalQuantity": "5", + "SUM(a.cnt)": "1", + "date": 2020-06-25T00:00:00.000Z, + "order": "CA-2017-133648", + "row": 1995, }, Object { - "BigECommerce.orderDate": "2020-10-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", - "BigECommerce.productName": "Linden 10 Round Wall Clock, Black", - "BigECommerce.totalQuantity": "2", + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-133648", + "row": 1995, }, Object { - "BigECommerce.orderDate": "2020-10-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", - "BigECommerce.productName": "Magna Visual Magnetic Picture Hangers", - "BigECommerce.totalQuantity": "2", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 1995, }, Object { - "BigECommerce.orderDate": "2020-11-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", - "BigECommerce.productName": "Google Nexus 5", - "BigECommerce.totalQuantity": "11", + "SUM(a.cnt)": "1", + "date": 2020-09-23T00:00:00.000Z, + "order": "CA-2017-138422", + "row": 2329, }, Object { - "BigECommerce.orderDate": "2020-11-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", - "BigECommerce.productName": "Harbour Creations 67200 Series Stacking Chairs", - "BigECommerce.totalQuantity": "4", + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-138422", + "row": 2329, }, Object { - "BigECommerce.orderDate": "2020-11-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", - "BigECommerce.productName": "Hewlett Packard 610 Color Digital Copier / Printer", - "BigECommerce.totalQuantity": "3", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 2329, }, Object { - "BigECommerce.orderDate": "2020-11-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", - "BigECommerce.productName": "Linden 10 Round Wall Clock, Black", - "BigECommerce.totalQuantity": "5", + "SUM(a.cnt)": "1", + "date": 2020-03-17T00:00:00.000Z, + "order": "CA-2017-140949", + "row": 2455, }, Object { - "BigECommerce.orderDate": "2020-11-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", - "BigECommerce.productName": "Logitech di_Novo Edge Keyboard", - "BigECommerce.totalQuantity": "9", + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-140949", + "row": 2455, }, Object { - "BigECommerce.orderDate": "2020-11-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", - "BigECommerce.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", - "BigECommerce.totalQuantity": "3", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 2455, }, Object { - "BigECommerce.orderDate": "2020-11-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", - "BigECommerce.productName": "Recycled Eldon Regeneration Jumbo File", - "BigECommerce.totalQuantity": "4", + "SUM(a.cnt)": "1", + "date": 2020-05-13T00:00:00.000Z, + "order": "CA-2017-149048", + "row": 2595, }, Object { - "BigECommerce.orderDate": "2020-11-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", - "BigECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", - "BigECommerce.totalQuantity": "4", + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-149048", + "row": 2595, }, Object { - "BigECommerce.orderDate": "2020-12-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", - "BigECommerce.productName": "Canon PC1080F Personal Copier", - "BigECommerce.totalQuantity": "2", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 2595, }, Object { - "BigECommerce.orderDate": "2020-12-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", - "BigECommerce.productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", - "BigECommerce.totalQuantity": "4", + "SUM(a.cnt)": "1", + "date": 2020-09-17T00:00:00.000Z, + "order": "CA-2017-112515", + "row": 2655, }, Object { - "BigECommerce.orderDate": "2020-12-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", - "BigECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.0", - "BigECommerce.totalQuantity": "5", + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-112515", + "row": 2655, }, Object { - "BigECommerce.orderDate": "2020-12-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", - "BigECommerce.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", - "BigECommerce.totalQuantity": "2", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 2655, }, Object { - "BigECommerce.orderDate": "2020-12-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", - "BigECommerce.productName": "Magna Visual Magnetic Picture Hangers", - "BigECommerce.totalQuantity": "2", + "SUM(a.cnt)": "1", + "date": 2020-11-28T00:00:00.000Z, + "order": "CA-2017-123372", + "row": 2661, }, Object { - "BigECommerce.orderDate": "2020-12-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", - "BigECommerce.productName": "Okidata C610n Printer", - "BigECommerce.totalQuantity": "2", + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-123372", + "row": 2661, }, Object { - "BigECommerce.orderDate": "2020-12-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", - "BigECommerce.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", - "BigECommerce.totalQuantity": "5", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 2661, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying BigECommerce: rolling window by 2 day 1`] = ` -Array [ Object { - "BigECommerce.orderDate": "2020-01-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", - "BigECommerce.rollingCountBy2Day": null, + "SUM(a.cnt)": "1", + "date": 2020-11-12T00:00:00.000Z, + "order": "CA-2017-134915", + "row": 2952, }, Object { - "BigECommerce.orderDate": "2020-02-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", - "BigECommerce.rollingCountBy2Day": null, + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-134915", + "row": 2952, }, Object { - "BigECommerce.orderDate": "2020-03-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", - "BigECommerce.rollingCountBy2Day": null, + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 2952, }, Object { - "BigECommerce.orderDate": "2020-04-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", - "BigECommerce.rollingCountBy2Day": null, + "SUM(a.cnt)": "1", + "date": 2020-10-19T00:00:00.000Z, + "order": "CA-2017-131492", + "row": 3059, }, Object { - "BigECommerce.orderDate": "2020-05-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", - "BigECommerce.rollingCountBy2Day": null, + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-131492", + "row": 3059, }, Object { - "BigECommerce.orderDate": "2020-06-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", - "BigECommerce.rollingCountBy2Day": null, + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 3059, }, Object { - "BigECommerce.orderDate": "2020-07-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", - "BigECommerce.rollingCountBy2Day": null, + "SUM(a.cnt)": "1", + "date": 2020-10-19T00:00:00.000Z, + "order": "CA-2017-131492", + "row": 3060, }, Object { - "BigECommerce.orderDate": "2020-08-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", - "BigECommerce.rollingCountBy2Day": null, + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-131492", + "row": 3060, }, Object { - "BigECommerce.orderDate": "2020-09-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", - "BigECommerce.rollingCountBy2Day": null, + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 3060, }, Object { - "BigECommerce.orderDate": "2020-10-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", - "BigECommerce.rollingCountBy2Day": "1", + "SUM(a.cnt)": "1", + "date": 2020-05-27T00:00:00.000Z, + "order": "US-2017-132297", + "row": 3083, }, Object { - "BigECommerce.orderDate": "2020-11-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", - "BigECommerce.rollingCountBy2Day": null, + "SUM(a.cnt)": "1", + "date": null, + "order": "US-2017-132297", + "row": 3083, }, Object { - "BigECommerce.orderDate": "2020-12-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", - "BigECommerce.rollingCountBy2Day": null, + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 3083, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying BigECommerce: rolling window by 2 month 1`] = ` -Array [ Object { - "BigECommerce.orderDate": "2020-01-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", - "BigECommerce.rollingCountBy2Month": "2", + "SUM(a.cnt)": "1", + "date": 2020-06-11T00:00:00.000Z, + "order": "CA-2017-102554", + "row": 3448, }, Object { - "BigECommerce.orderDate": "2020-02-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", - "BigECommerce.rollingCountBy2Month": "3", + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-102554", + "row": 3448, }, Object { - "BigECommerce.orderDate": "2020-03-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", - "BigECommerce.rollingCountBy2Month": "3", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 3448, }, Object { - "BigECommerce.orderDate": "2020-04-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", - "BigECommerce.rollingCountBy2Month": "3", + "SUM(a.cnt)": "1", + "date": 2020-05-29T00:00:00.000Z, + "order": "CA-2017-144568", + "row": 3717, }, Object { - "BigECommerce.orderDate": "2020-05-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", - "BigECommerce.rollingCountBy2Month": "6", + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-144568", + "row": 3717, }, Object { - "BigECommerce.orderDate": "2020-06-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", - "BigECommerce.rollingCountBy2Month": "12", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 3717, }, Object { - "BigECommerce.orderDate": "2020-07-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", - "BigECommerce.rollingCountBy2Month": "7", + "SUM(a.cnt)": "1", + "date": 2020-09-02T00:00:00.000Z, + "order": "CA-2017-123001", + "row": 3934, }, Object { - "BigECommerce.orderDate": "2020-08-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", - "BigECommerce.rollingCountBy2Month": null, + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-123001", + "row": 3934, }, Object { - "BigECommerce.orderDate": "2020-09-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", - "BigECommerce.rollingCountBy2Month": "6", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 3934, }, Object { - "BigECommerce.orderDate": "2020-10-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", - "BigECommerce.rollingCountBy2Month": "10", + "SUM(a.cnt)": "1", + "date": 2020-11-21T00:00:00.000Z, + "order": "CA-2017-100811", + "row": 4012, }, Object { - "BigECommerce.orderDate": "2020-11-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", - "BigECommerce.rollingCountBy2Month": "13", + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-100811", + "row": 4012, }, Object { - "BigECommerce.orderDate": "2020-12-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", - "BigECommerce.rollingCountBy2Month": "16", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 4012, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying BigECommerce: rolling window by 2 week 1`] = ` -Array [ Object { - "BigECommerce.orderDate": "2020-01-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", - "BigECommerce.rollingCountBy2Week": "1", + "SUM(a.cnt)": "1", + "date": 2020-12-24T00:00:00.000Z, + "order": "CA-2017-124296", + "row": 4031, }, Object { - "BigECommerce.orderDate": "2020-02-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", - "BigECommerce.rollingCountBy2Week": "1", + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-124296", + "row": 4031, }, Object { - "BigECommerce.orderDate": "2020-03-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", - "BigECommerce.rollingCountBy2Week": "1", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 4031, }, Object { - "BigECommerce.orderDate": "2020-04-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", - "BigECommerce.rollingCountBy2Week": null, + "SUM(a.cnt)": "1", + "date": 2020-05-14T00:00:00.000Z, + "order": "CA-2017-115546", + "row": 4161, }, Object { - "BigECommerce.orderDate": "2020-05-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", - "BigECommerce.rollingCountBy2Week": "2", + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-115546", + "row": 4161, }, Object { - "BigECommerce.orderDate": "2020-06-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", - "BigECommerce.rollingCountBy2Week": "3", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 4161, }, Object { - "BigECommerce.orderDate": "2020-07-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", - "BigECommerce.rollingCountBy2Week": null, + "SUM(a.cnt)": "1", + "date": 2020-11-11T00:00:00.000Z, + "order": "CA-2017-120327", + "row": 4227, }, Object { - "BigECommerce.orderDate": "2020-08-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", - "BigECommerce.rollingCountBy2Week": null, + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-120327", + "row": 4227, }, Object { - "BigECommerce.orderDate": "2020-09-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", - "BigECommerce.rollingCountBy2Week": "3", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 4227, }, Object { - "BigECommerce.orderDate": "2020-10-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", - "BigECommerce.rollingCountBy2Week": "3", + "SUM(a.cnt)": "1", + "date": 2020-11-02T00:00:00.000Z, + "order": "CA-2017-143567", + "row": 4882, }, Object { - "BigECommerce.orderDate": "2020-11-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", - "BigECommerce.rollingCountBy2Week": "2", + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-143567", + "row": 4882, }, Object { - "BigECommerce.orderDate": "2020-12-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", - "BigECommerce.rollingCountBy2Week": "2", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 4882, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying BigECommerce: totalProfitYearAgo 1`] = `Array []`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying Customers: dimensions 1`] = ` -Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "SUM(a.cnt)": "1", + "date": 2020-09-01T00:00:00.000Z, + "order": "CA-2017-145653", + "row": 5220, }, Object { - "Customers.customerId": "AJ-10780", - "Customers.customerName": "Customer 2", + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-145653", + "row": 5220, }, Object { - "Customers.customerId": "AS-10225", - "Customers.customerName": "Customer 3", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 5220, }, Object { - "Customers.customerId": "AW-10840", - "Customers.customerName": "Customer 4", + "SUM(a.cnt)": "1", + "date": 2020-12-14T00:00:00.000Z, + "order": "CA-2017-147333", + "row": 5277, }, Object { - "Customers.customerId": "BB-11545", - "Customers.customerName": "Customer 5", + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-147333", + "row": 5277, }, Object { - "Customers.customerId": "BF-11020", - "Customers.customerName": "Customer 6", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 5277, }, Object { - "Customers.customerId": "BF-11170", - "Customers.customerName": "Customer 7", + "SUM(a.cnt)": "1", + "date": 2020-06-03T00:00:00.000Z, + "order": "CA-2017-145772", + "row": 6125, }, Object { - "Customers.customerId": "BM-11650", - "Customers.customerName": "Customer 8", + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-145772", + "row": 6125, }, Object { - "Customers.customerId": "BS-11380", - "Customers.customerName": "Customer 9", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 6125, }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "SUM(a.cnt)": "1", + "date": 2020-12-01T00:00:00.000Z, + "order": "CA-2017-145660", + "row": 6205, }, Object { - "Customers.customerId": "CA-12775", - "Customers.customerName": "Customer 11", + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-145660", + "row": 6205, }, Object { - "Customers.customerId": "CC-12475", - "Customers.customerName": "Customer 12", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 6205, }, Object { - "Customers.customerId": "CD-12280", - "Customers.customerName": "Customer 13", + "SUM(a.cnt)": "1", + "date": 2020-12-02T00:00:00.000Z, + "order": "CA-2017-102379", + "row": 6272, }, Object { - "Customers.customerId": "CS-12355", - "Customers.customerName": "Customer 14", + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-102379", + "row": 6272, }, Object { - "Customers.customerId": "DB-13405", - "Customers.customerName": "Customer 15", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 6272, }, Object { - "Customers.customerId": "DG-13300", - "Customers.customerName": "Customer 16", + "SUM(a.cnt)": "1", + "date": 2020-05-14T00:00:00.000Z, + "order": "US-2017-133361", + "row": 6459, }, Object { - "Customers.customerId": "DW-13480", - "Customers.customerName": "Customer 17", + "SUM(a.cnt)": "1", + "date": null, + "order": "US-2017-133361", + "row": 6459, }, Object { - "Customers.customerId": "EM-14140", - "Customers.customerName": "Customer 18", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 6459, }, Object { - "Customers.customerId": "GA-14725", - "Customers.customerName": "Customer 19", + "SUM(a.cnt)": "1", + "date": 2020-09-08T00:00:00.000Z, + "order": "US-2017-124779", + "row": 6651, }, Object { - "Customers.customerId": "GZ-14470", - "Customers.customerName": "Customer 20", + "SUM(a.cnt)": "1", + "date": null, + "order": "US-2017-124779", + "row": 6651, }, Object { - "Customers.customerId": "HH-15010", - "Customers.customerName": "Customer 21", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 6651, }, Object { - "Customers.customerId": "HK-14890", - "Customers.customerName": "Customer 22", + "SUM(a.cnt)": "1", + "date": 2020-03-26T00:00:00.000Z, + "order": "US-2017-141677", + "row": 7174, }, Object { - "Customers.customerId": "JH-15430", - "Customers.customerName": "Customer 23", + "SUM(a.cnt)": "1", + "date": null, + "order": "US-2017-141677", + "row": 7174, }, Object { - "Customers.customerId": "JO-15550", - "Customers.customerName": "Customer 24", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 7174, }, Object { - "Customers.customerId": "JS-16030", - "Customers.customerName": "Customer 25", + "SUM(a.cnt)": "1", + "date": 2020-12-04T00:00:00.000Z, + "order": "CA-2017-109183", + "row": 7293, }, Object { - "Customers.customerId": "JW-15220", - "Customers.customerName": "Customer 26", + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-109183", + "row": 7293, }, Object { - "Customers.customerId": "KL-16555", - "Customers.customerName": "Customer 27", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 7293, }, Object { - "Customers.customerId": "KN-16705", - "Customers.customerName": "Customer 28", + "SUM(a.cnt)": "1", + "date": 2020-06-10T00:00:00.000Z, + "order": "CA-2017-112172", + "row": 7310, }, Object { - "Customers.customerId": "LC-17050", - "Customers.customerName": "Customer 29", + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-112172", + "row": 7310, }, Object { - "Customers.customerId": "LR-16915", - "Customers.customerName": "Customer 30", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 7310, }, Object { - "Customers.customerId": "MC-17605", - "Customers.customerName": "Customer 31", + "SUM(a.cnt)": "1", + "date": 2020-04-10T00:00:00.000Z, + "order": "CA-2017-135069", + "row": 7425, }, Object { - "Customers.customerId": "MG-17650", - "Customers.customerName": "Customer 32", + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-135069", + "row": 7425, }, Object { - "Customers.customerId": "ML-17755", - "Customers.customerName": "Customer 33", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 7425, }, Object { - "Customers.customerId": "MM-18280", - "Customers.customerName": "Customer 34", + "SUM(a.cnt)": "1", + "date": 2020-12-14T00:00:00.000Z, + "order": "CA-2017-151799", + "row": 7698, }, Object { - "Customers.customerId": "NP-18670", - "Customers.customerName": "Customer 35", + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-151799", + "row": 7698, }, Object { - "Customers.customerId": "PF-19165", - "Customers.customerName": "Customer 36", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 7698, }, Object { - "Customers.customerId": "SB-20185", - "Customers.customerName": "Customer 37", + "SUM(a.cnt)": "1", + "date": 2020-10-12T00:00:00.000Z, + "order": "CA-2017-150091", + "row": 8425, }, Object { - "Customers.customerId": "SS-20140", - "Customers.customerName": "Customer 38", + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-150091", + "row": 8425, }, Object { - "Customers.customerId": "TB-21175", - "Customers.customerName": "Customer 39", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 8425, }, Object { - "Customers.customerId": "TS-21205", - "Customers.customerName": "Customer 40", + "SUM(a.cnt)": "1", + "date": 2020-11-06T00:00:00.000Z, + "order": "US-2017-119319", + "row": 8621, }, Object { - "Customers.customerId": "WB-21850", - "Customers.customerName": "Customer 41", + "SUM(a.cnt)": "1", + "date": null, + "order": "US-2017-119319", + "row": 8621, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying Customers: dimensions + limit 1`] = ` -Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 8621, }, Object { - "Customers.customerId": "AJ-10780", - "Customers.customerName": "Customer 2", + "SUM(a.cnt)": "1", + "date": 2020-02-16T00:00:00.000Z, + "order": "CA-2017-163265", + "row": 8673, }, Object { - "Customers.customerId": "AS-10225", - "Customers.customerName": "Customer 3", + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-163265", + "row": 8673, }, Object { - "Customers.customerId": "AW-10840", - "Customers.customerName": "Customer 4", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 8673, }, Object { - "Customers.customerId": "BB-11545", - "Customers.customerName": "Customer 5", + "SUM(a.cnt)": "1", + "date": 2020-06-15T00:00:00.000Z, + "order": "CA-2017-119284", + "row": 8697, }, Object { - "Customers.customerId": "BF-11020", - "Customers.customerName": "Customer 6", + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-119284", + "row": 8697, }, Object { - "Customers.customerId": "BF-11170", - "Customers.customerName": "Customer 7", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 8697, }, Object { - "Customers.customerId": "BM-11650", - "Customers.customerName": "Customer 8", + "SUM(a.cnt)": "1", + "date": 2020-09-17T00:00:00.000Z, + "order": "CA-2017-126928", + "row": 8878, }, Object { - "Customers.customerId": "BS-11380", - "Customers.customerName": "Customer 9", + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-126928", + "row": 8878, }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 8878, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying Customers: dimensions + order + limit + total + offset 1`] = ` -Array [ Object { - "Customers.customerId": "GA-14725", - "Customers.customerName": "Customer 19", + "SUM(a.cnt)": "1", + "date": 2020-12-25T00:00:00.000Z, + "order": "CA-2017-105620", + "row": 8958, }, Object { - "Customers.customerId": "AJ-10780", - "Customers.customerName": "Customer 2", + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-105620", + "row": 8958, }, Object { - "Customers.customerId": "GZ-14470", - "Customers.customerName": "Customer 20", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 8958, }, Object { - "Customers.customerId": "HH-15010", - "Customers.customerName": "Customer 21", + "SUM(a.cnt)": "1", + "date": 2020-11-05T00:00:00.000Z, + "order": "CA-2017-102925", + "row": 9473, }, Object { - "Customers.customerId": "HK-14890", - "Customers.customerName": "Customer 22", + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-102925", + "row": 9473, }, Object { - "Customers.customerId": "JH-15430", - "Customers.customerName": "Customer 23", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 9473, }, Object { - "Customers.customerId": "JO-15550", - "Customers.customerName": "Customer 24", + "SUM(a.cnt)": "1", + "date": 2020-06-25T00:00:00.000Z, + "order": "CA-2017-116127", + "row": 9584, }, Object { - "Customers.customerId": "JS-16030", - "Customers.customerName": "Customer 25", + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-116127", + "row": 9584, }, Object { - "Customers.customerId": "JW-15220", - "Customers.customerName": "Customer 26", + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 9584, }, Object { - "Customers.customerId": "KL-16555", - "Customers.customerName": "Customer 27", + "SUM(a.cnt)": "1", + "date": 2020-11-16T00:00:00.000Z, + "order": "CA-2017-160633", + "row": 9618, + }, + Object { + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-160633", + "row": 9618, + }, + Object { + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 9618, + }, + Object { + "SUM(a.cnt)": "1", + "date": 2020-11-16T00:00:00.000Z, + "order": "CA-2017-160633", + "row": 9619, + }, + Object { + "SUM(a.cnt)": "1", + "date": null, + "order": "CA-2017-160633", + "row": 9619, + }, + Object { + "SUM(a.cnt)": "1", + "date": null, + "order": null, + "row": 9619, + }, + Object { + "SUM(a.cnt)": "44", + "date": null, + "order": null, + "row": null, }, ] `; -exports[`Queries with the @cubejs-backend/snowflake-driver querying Customers: dimensions + order + limit + total 1`] = ` +exports[`Queries with the @cubejs-backend/snowflake-driver SQL API: Nested Rollup: nested_rollup 1`] = ` Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "SUM(a.cnt)": "1", + "orderDate": 2020-01-23T00:00:00.000Z, + "orderId": "CA-2017-145142", + "rowId": 523, }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-145142", + "rowId": 523, }, Object { - "Customers.customerId": "CA-12775", - "Customers.customerName": "Customer 11", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 523, }, Object { - "Customers.customerId": "CC-12475", - "Customers.customerName": "Customer 12", + "SUM(a.cnt)": "1", + "orderDate": 2020-01-01T00:00:00.000Z, + "orderId": "CA-2017-107503", + "rowId": 849, }, Object { - "Customers.customerId": "CD-12280", - "Customers.customerName": "Customer 13", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-107503", + "rowId": 849, }, Object { - "Customers.customerId": "CS-12355", - "Customers.customerName": "Customer 14", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 849, }, Object { - "Customers.customerId": "DB-13405", - "Customers.customerName": "Customer 15", + "SUM(a.cnt)": "1", + "orderDate": 2020-06-17T00:00:00.000Z, + "orderId": "CA-2017-118437", + "rowId": 1013, }, Object { - "Customers.customerId": "DG-13300", - "Customers.customerName": "Customer 16", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-118437", + "rowId": 1013, }, Object { - "Customers.customerId": "DW-13480", - "Customers.customerName": "Customer 17", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 1013, }, Object { - "Customers.customerId": "EM-14140", - "Customers.customerName": "Customer 18", + "SUM(a.cnt)": "1", + "orderDate": 2020-10-30T00:00:00.000Z, + "orderId": "CA-2017-139661", + "rowId": 1494, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying Customers: dimensions + order + total + offset 1`] = ` -Array [ Object { - "Customers.customerId": "BS-11380", - "Customers.customerName": "Customer 9", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-139661", + "rowId": 1494, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying Customers: dimensions + order 1`] = ` -Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 1494, }, Object { - "Customers.customerId": "AJ-10780", - "Customers.customerName": "Customer 2", + "SUM(a.cnt)": "1", + "orderDate": 2020-06-25T00:00:00.000Z, + "orderId": "CA-2017-133648", + "rowId": 1995, }, Object { - "Customers.customerId": "AS-10225", - "Customers.customerName": "Customer 3", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-133648", + "rowId": 1995, }, Object { - "Customers.customerId": "AW-10840", - "Customers.customerName": "Customer 4", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 1995, }, Object { - "Customers.customerId": "BB-11545", - "Customers.customerName": "Customer 5", + "SUM(a.cnt)": "1", + "orderDate": 2020-09-23T00:00:00.000Z, + "orderId": "CA-2017-138422", + "rowId": 2329, }, Object { - "Customers.customerId": "BF-11020", - "Customers.customerName": "Customer 6", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-138422", + "rowId": 2329, }, Object { - "Customers.customerId": "BF-11170", - "Customers.customerName": "Customer 7", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2329, }, Object { - "Customers.customerId": "BM-11650", - "Customers.customerName": "Customer 8", + "SUM(a.cnt)": "1", + "orderDate": 2020-03-17T00:00:00.000Z, + "orderId": "CA-2017-140949", + "rowId": 2455, }, Object { - "Customers.customerId": "BS-11380", - "Customers.customerName": "Customer 9", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-140949", + "rowId": 2455, }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2455, }, Object { - "Customers.customerId": "CA-12775", - "Customers.customerName": "Customer 11", + "SUM(a.cnt)": "1", + "orderDate": 2020-05-13T00:00:00.000Z, + "orderId": "CA-2017-149048", + "rowId": 2595, }, Object { - "Customers.customerId": "CC-12475", - "Customers.customerName": "Customer 12", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-149048", + "rowId": 2595, }, Object { - "Customers.customerId": "CD-12280", - "Customers.customerName": "Customer 13", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2595, }, Object { - "Customers.customerId": "CS-12355", - "Customers.customerName": "Customer 14", + "SUM(a.cnt)": "1", + "orderDate": 2020-09-17T00:00:00.000Z, + "orderId": "CA-2017-112515", + "rowId": 2655, }, Object { - "Customers.customerId": "DB-13405", - "Customers.customerName": "Customer 15", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-112515", + "rowId": 2655, }, Object { - "Customers.customerId": "DG-13300", - "Customers.customerName": "Customer 16", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2655, }, Object { - "Customers.customerId": "DW-13480", - "Customers.customerName": "Customer 17", + "SUM(a.cnt)": "1", + "orderDate": 2020-11-28T00:00:00.000Z, + "orderId": "CA-2017-123372", + "rowId": 2661, }, Object { - "Customers.customerId": "EM-14140", - "Customers.customerName": "Customer 18", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-123372", + "rowId": 2661, }, Object { - "Customers.customerId": "GA-14725", - "Customers.customerName": "Customer 19", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2661, }, Object { - "Customers.customerId": "GZ-14470", - "Customers.customerName": "Customer 20", + "SUM(a.cnt)": "1", + "orderDate": 2020-11-12T00:00:00.000Z, + "orderId": "CA-2017-134915", + "rowId": 2952, }, Object { - "Customers.customerId": "HH-15010", - "Customers.customerName": "Customer 21", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-134915", + "rowId": 2952, }, Object { - "Customers.customerId": "HK-14890", - "Customers.customerName": "Customer 22", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2952, }, Object { - "Customers.customerId": "JH-15430", - "Customers.customerName": "Customer 23", + "SUM(a.cnt)": "1", + "orderDate": 2020-10-19T00:00:00.000Z, + "orderId": "CA-2017-131492", + "rowId": 3059, }, Object { - "Customers.customerId": "JO-15550", - "Customers.customerName": "Customer 24", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-131492", + "rowId": 3059, }, Object { - "Customers.customerId": "JS-16030", - "Customers.customerName": "Customer 25", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3059, }, Object { - "Customers.customerId": "JW-15220", - "Customers.customerName": "Customer 26", + "SUM(a.cnt)": "1", + "orderDate": 2020-10-19T00:00:00.000Z, + "orderId": "CA-2017-131492", + "rowId": 3060, }, Object { - "Customers.customerId": "KL-16555", - "Customers.customerName": "Customer 27", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-131492", + "rowId": 3060, }, Object { - "Customers.customerId": "KN-16705", - "Customers.customerName": "Customer 28", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3060, }, Object { - "Customers.customerId": "LC-17050", - "Customers.customerName": "Customer 29", + "SUM(a.cnt)": "1", + "orderDate": 2020-05-27T00:00:00.000Z, + "orderId": "US-2017-132297", + "rowId": 3083, }, Object { - "Customers.customerId": "LR-16915", - "Customers.customerName": "Customer 30", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "US-2017-132297", + "rowId": 3083, }, Object { - "Customers.customerId": "MC-17605", - "Customers.customerName": "Customer 31", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3083, }, Object { - "Customers.customerId": "MG-17650", - "Customers.customerName": "Customer 32", + "SUM(a.cnt)": "1", + "orderDate": 2020-06-11T00:00:00.000Z, + "orderId": "CA-2017-102554", + "rowId": 3448, }, Object { - "Customers.customerId": "ML-17755", - "Customers.customerName": "Customer 33", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-102554", + "rowId": 3448, }, Object { - "Customers.customerId": "MM-18280", - "Customers.customerName": "Customer 34", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3448, }, Object { - "Customers.customerId": "NP-18670", - "Customers.customerName": "Customer 35", + "SUM(a.cnt)": "1", + "orderDate": 2020-05-29T00:00:00.000Z, + "orderId": "CA-2017-144568", + "rowId": 3717, }, Object { - "Customers.customerId": "PF-19165", - "Customers.customerName": "Customer 36", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-144568", + "rowId": 3717, }, Object { - "Customers.customerId": "SB-20185", - "Customers.customerName": "Customer 37", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3717, }, Object { - "Customers.customerId": "SS-20140", - "Customers.customerName": "Customer 38", + "SUM(a.cnt)": "1", + "orderDate": 2020-09-02T00:00:00.000Z, + "orderId": "CA-2017-123001", + "rowId": 3934, }, Object { - "Customers.customerId": "TB-21175", - "Customers.customerName": "Customer 39", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-123001", + "rowId": 3934, }, Object { - "Customers.customerId": "TS-21205", - "Customers.customerName": "Customer 40", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3934, }, Object { - "Customers.customerId": "WB-21850", - "Customers.customerName": "Customer 41", + "SUM(a.cnt)": "1", + "orderDate": 2020-11-21T00:00:00.000Z, + "orderId": "CA-2017-100811", + "rowId": 4012, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying Customers: dimensions + total 1`] = ` -Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-100811", + "rowId": 4012, }, Object { - "Customers.customerId": "AJ-10780", - "Customers.customerName": "Customer 2", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 4012, }, Object { - "Customers.customerId": "AS-10225", - "Customers.customerName": "Customer 3", + "SUM(a.cnt)": "1", + "orderDate": 2020-12-24T00:00:00.000Z, + "orderId": "CA-2017-124296", + "rowId": 4031, }, Object { - "Customers.customerId": "AW-10840", - "Customers.customerName": "Customer 4", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-124296", + "rowId": 4031, }, Object { - "Customers.customerId": "BB-11545", - "Customers.customerName": "Customer 5", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 4031, }, Object { - "Customers.customerId": "BF-11020", - "Customers.customerName": "Customer 6", + "SUM(a.cnt)": "1", + "orderDate": 2020-05-14T00:00:00.000Z, + "orderId": "CA-2017-115546", + "rowId": 4161, }, Object { - "Customers.customerId": "BF-11170", - "Customers.customerName": "Customer 7", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-115546", + "rowId": 4161, }, Object { - "Customers.customerId": "BM-11650", - "Customers.customerName": "Customer 8", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 4161, }, Object { - "Customers.customerId": "BS-11380", - "Customers.customerName": "Customer 9", + "SUM(a.cnt)": "1", + "orderDate": 2020-11-11T00:00:00.000Z, + "orderId": "CA-2017-120327", + "rowId": 4227, }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-120327", + "rowId": 4227, }, Object { - "Customers.customerId": "CA-12775", - "Customers.customerName": "Customer 11", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 4227, }, Object { - "Customers.customerId": "CC-12475", - "Customers.customerName": "Customer 12", + "SUM(a.cnt)": "1", + "orderDate": 2020-11-02T00:00:00.000Z, + "orderId": "CA-2017-143567", + "rowId": 4882, }, Object { - "Customers.customerId": "CD-12280", - "Customers.customerName": "Customer 13", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-143567", + "rowId": 4882, }, Object { - "Customers.customerId": "CS-12355", - "Customers.customerName": "Customer 14", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 4882, }, Object { - "Customers.customerId": "DB-13405", - "Customers.customerName": "Customer 15", + "SUM(a.cnt)": "1", + "orderDate": 2020-09-01T00:00:00.000Z, + "orderId": "CA-2017-145653", + "rowId": 5220, }, Object { - "Customers.customerId": "DG-13300", - "Customers.customerName": "Customer 16", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-145653", + "rowId": 5220, }, Object { - "Customers.customerId": "DW-13480", - "Customers.customerName": "Customer 17", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 5220, }, Object { - "Customers.customerId": "EM-14140", - "Customers.customerName": "Customer 18", + "SUM(a.cnt)": "1", + "orderDate": 2020-12-14T00:00:00.000Z, + "orderId": "CA-2017-147333", + "rowId": 5277, }, Object { - "Customers.customerId": "GA-14725", - "Customers.customerName": "Customer 19", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-147333", + "rowId": 5277, }, Object { - "Customers.customerId": "GZ-14470", - "Customers.customerName": "Customer 20", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 5277, }, Object { - "Customers.customerId": "HH-15010", - "Customers.customerName": "Customer 21", + "SUM(a.cnt)": "1", + "orderDate": 2020-06-03T00:00:00.000Z, + "orderId": "CA-2017-145772", + "rowId": 6125, }, Object { - "Customers.customerId": "HK-14890", - "Customers.customerName": "Customer 22", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-145772", + "rowId": 6125, }, Object { - "Customers.customerId": "JH-15430", - "Customers.customerName": "Customer 23", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 6125, }, Object { - "Customers.customerId": "JO-15550", - "Customers.customerName": "Customer 24", + "SUM(a.cnt)": "1", + "orderDate": 2020-12-01T00:00:00.000Z, + "orderId": "CA-2017-145660", + "rowId": 6205, }, Object { - "Customers.customerId": "JS-16030", - "Customers.customerName": "Customer 25", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-145660", + "rowId": 6205, }, Object { - "Customers.customerId": "JW-15220", - "Customers.customerName": "Customer 26", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 6205, }, Object { - "Customers.customerId": "KL-16555", - "Customers.customerName": "Customer 27", + "SUM(a.cnt)": "1", + "orderDate": 2020-12-02T00:00:00.000Z, + "orderId": "CA-2017-102379", + "rowId": 6272, }, Object { - "Customers.customerId": "KN-16705", - "Customers.customerName": "Customer 28", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-102379", + "rowId": 6272, }, Object { - "Customers.customerId": "LC-17050", - "Customers.customerName": "Customer 29", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 6272, }, Object { - "Customers.customerId": "LR-16915", - "Customers.customerName": "Customer 30", + "SUM(a.cnt)": "1", + "orderDate": 2020-05-14T00:00:00.000Z, + "orderId": "US-2017-133361", + "rowId": 6459, }, Object { - "Customers.customerId": "MC-17605", - "Customers.customerName": "Customer 31", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "US-2017-133361", + "rowId": 6459, }, Object { - "Customers.customerId": "MG-17650", - "Customers.customerName": "Customer 32", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 6459, }, Object { - "Customers.customerId": "ML-17755", - "Customers.customerName": "Customer 33", + "SUM(a.cnt)": "1", + "orderDate": 2020-09-08T00:00:00.000Z, + "orderId": "US-2017-124779", + "rowId": 6651, }, Object { - "Customers.customerId": "MM-18280", - "Customers.customerName": "Customer 34", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "US-2017-124779", + "rowId": 6651, }, Object { - "Customers.customerId": "NP-18670", - "Customers.customerName": "Customer 35", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 6651, }, Object { - "Customers.customerId": "PF-19165", - "Customers.customerName": "Customer 36", + "SUM(a.cnt)": "1", + "orderDate": 2020-03-26T00:00:00.000Z, + "orderId": "US-2017-141677", + "rowId": 7174, }, Object { - "Customers.customerId": "SB-20185", - "Customers.customerName": "Customer 37", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "US-2017-141677", + "rowId": 7174, }, Object { - "Customers.customerId": "SS-20140", - "Customers.customerName": "Customer 38", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 7174, }, Object { - "Customers.customerId": "TB-21175", - "Customers.customerName": "Customer 39", + "SUM(a.cnt)": "1", + "orderDate": 2020-12-04T00:00:00.000Z, + "orderId": "CA-2017-109183", + "rowId": 7293, }, Object { - "Customers.customerId": "TS-21205", - "Customers.customerName": "Customer 40", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-109183", + "rowId": 7293, }, Object { - "Customers.customerId": "WB-21850", - "Customers.customerName": "Customer 41", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 7293, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying ECommerce: count by cities + order 1`] = ` -Array [ Object { - "ECommerce.city": "Columbus", - "ECommerce.count": "12", + "SUM(a.cnt)": "1", + "orderDate": 2020-06-10T00:00:00.000Z, + "orderId": "CA-2017-112172", + "rowId": 7310, }, Object { - "ECommerce.city": "New York City", - "ECommerce.count": "5", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-112172", + "rowId": 7310, }, Object { - "ECommerce.city": "Detroit", - "ECommerce.count": "2", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 7310, }, Object { - "ECommerce.city": "Philadelphia", - "ECommerce.count": "2", + "SUM(a.cnt)": "1", + "orderDate": 2020-04-10T00:00:00.000Z, + "orderId": "CA-2017-135069", + "rowId": 7425, }, Object { - "ECommerce.city": "San Francisco", - "ECommerce.count": "2", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-135069", + "rowId": 7425, }, Object { - "ECommerce.city": "Arlington", - "ECommerce.count": "1", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 7425, }, Object { - "ECommerce.city": "Auburn", - "ECommerce.count": "1", + "SUM(a.cnt)": "1", + "orderDate": 2020-12-14T00:00:00.000Z, + "orderId": "CA-2017-151799", + "rowId": 7698, }, Object { - "ECommerce.city": "Bakersfield", - "ECommerce.count": "1", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-151799", + "rowId": 7698, }, Object { - "ECommerce.city": "Baltimore", - "ECommerce.count": "1", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 7698, }, Object { - "ECommerce.city": "Bowling", - "ECommerce.count": "1", + "SUM(a.cnt)": "1", + "orderDate": 2020-10-12T00:00:00.000Z, + "orderId": "CA-2017-150091", + "rowId": 8425, }, Object { - "ECommerce.city": "Dallas", - "ECommerce.count": "1", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-150091", + "rowId": 8425, }, Object { - "ECommerce.city": "Decatur", - "ECommerce.count": "1", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8425, }, Object { - "ECommerce.city": "Glendale", - "ECommerce.count": "1", + "SUM(a.cnt)": "1", + "orderDate": 2020-11-06T00:00:00.000Z, + "orderId": "US-2017-119319", + "rowId": 8621, }, Object { - "ECommerce.city": "Houston", - "ECommerce.count": "1", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "US-2017-119319", + "rowId": 8621, }, Object { - "ECommerce.city": "Lafayette", - "ECommerce.count": "1", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8621, }, Object { - "ECommerce.city": "Lakewood", - "ECommerce.count": "1", + "SUM(a.cnt)": "1", + "orderDate": 2020-02-16T00:00:00.000Z, + "orderId": "CA-2017-163265", + "rowId": 8673, }, Object { - "ECommerce.city": "Lorain", - "ECommerce.count": "1", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-163265", + "rowId": 8673, }, Object { - "ECommerce.city": "Los Angeles", - "ECommerce.count": "1", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8673, }, Object { - "ECommerce.city": "Louisville", - "ECommerce.count": "1", + "SUM(a.cnt)": "1", + "orderDate": 2020-06-15T00:00:00.000Z, + "orderId": "CA-2017-119284", + "rowId": 8697, }, Object { - "ECommerce.city": "Marion", - "ECommerce.count": "1", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-119284", + "rowId": 8697, }, Object { - "ECommerce.city": "Morristown", - "ECommerce.count": "1", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8697, }, Object { - "ECommerce.city": "Oakland", - "ECommerce.count": "1", + "SUM(a.cnt)": "1", + "orderDate": 2020-09-17T00:00:00.000Z, + "orderId": "CA-2017-126928", + "rowId": 8878, }, Object { - "ECommerce.city": "Olympia", - "ECommerce.count": "1", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-126928", + "rowId": 8878, }, Object { - "ECommerce.city": "Omaha", - "ECommerce.count": "1", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8878, }, Object { - "ECommerce.city": "Provo", - "ECommerce.count": "1", + "SUM(a.cnt)": "1", + "orderDate": 2020-12-25T00:00:00.000Z, + "orderId": "CA-2017-105620", + "rowId": 8958, }, Object { - "ECommerce.city": "Vancouver", - "ECommerce.count": "1", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-105620", + "rowId": 8958, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying ECommerce: dimensions 1`] = ` -Array [ Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Detroit", - "ECommerce.customerId": "MC-17605", - "ECommerce.customerName": "Customer 31", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-01-23T00:00:00.000", - "ECommerce.orderId": "CA-2017-145142", - "ECommerce.productName": "Balt Solid Wood Rectangular Table", - "ECommerce.profit": "21.0980", - "ECommerce.quantity": "2", - "ECommerce.rowId": "523", - "ECommerce.sales": "210.980", - "ECommerce.subCategory": "Tables", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8958, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Lorain", - "ECommerce.customerId": "GA-14725", - "ECommerce.customerName": "Customer 19", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderId": "CA-2017-107503", - "ECommerce.productName": "Linden 10 Round Wall Clock, Black", - "ECommerce.profit": "8.5568", - "ECommerce.quantity": "4", - "ECommerce.rowId": "849", - "ECommerce.sales": "48.896", - "ECommerce.subCategory": "Furnishings", + "SUM(a.cnt)": "1", + "orderDate": 2020-11-05T00:00:00.000Z, + "orderId": "CA-2017-102925", + "rowId": 9473, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Olympia", - "ECommerce.customerId": "PF-19165", - "ECommerce.customerName": "Customer 36", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-06-17T00:00:00.000", - "ECommerce.orderId": "CA-2017-118437", - "ECommerce.productName": "Project Tote Personal File", - "ECommerce.profit": "4.0687", - "ECommerce.quantity": "1", - "ECommerce.rowId": "1013", - "ECommerce.sales": "14.030", - "ECommerce.subCategory": "Storage", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-102925", + "rowId": 9473, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Vancouver", - "ECommerce.customerId": "JW-15220", - "ECommerce.customerName": "Customer 26", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-10-30T00:00:00.000", - "ECommerce.orderId": "CA-2017-139661", - "ECommerce.productName": "Magna Visual Magnetic Picture Hangers", - "ECommerce.profit": "3.6632", - "ECommerce.quantity": "2", - "ECommerce.rowId": "1494", - "ECommerce.sales": "9.640", - "ECommerce.subCategory": "Furnishings", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 9473, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "ML-17755", - "ECommerce.customerName": "Customer 33", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-06-25T00:00:00.000", - "ECommerce.orderId": "CA-2017-133648", - "ECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", - "ECommerce.profit": "-2.1195", - "ECommerce.quantity": "3", - "ECommerce.rowId": "1995", - "ECommerce.sales": "11.304", - "ECommerce.subCategory": "Fasteners", + "SUM(a.cnt)": "1", + "orderDate": 2020-06-25T00:00:00.000Z, + "orderId": "CA-2017-116127", + "rowId": 9584, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "KN-16705", - "ECommerce.customerName": "Customer 28", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-09-23T00:00:00.000", - "ECommerce.orderId": "CA-2017-138422", - "ECommerce.productName": "Wausau Papers Astrobrights Colored Envelopes", - "ECommerce.profit": "5.2026", - "ECommerce.quantity": "3", - "ECommerce.rowId": "2329", - "ECommerce.sales": "14.352", - "ECommerce.subCategory": "Envelopes", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-116127", + "rowId": 9584, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "New York City", - "ECommerce.customerId": "DB-13405", - "ECommerce.customerName": "Customer 15", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-03-17T00:00:00.000", - "ECommerce.orderId": "CA-2017-140949", - "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.2", - "ECommerce.profit": "13.6040", - "ECommerce.quantity": "8", - "ECommerce.rowId": "2455", - "ECommerce.sales": "71.600", - "ECommerce.subCategory": "Accessories", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 9584, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "BM-11650", - "ECommerce.customerName": "Customer 8", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-05-13T00:00:00.000", - "ECommerce.orderId": "CA-2017-149048", - "ECommerce.productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", - "ECommerce.profit": "81.4320", - "ECommerce.quantity": "2", - "ECommerce.rowId": "2595", - "ECommerce.sales": "180.960", - "ECommerce.subCategory": "Envelopes", + "SUM(a.cnt)": "1", + "orderDate": 2020-11-16T00:00:00.000Z, + "orderId": "CA-2017-160633", + "rowId": 9618, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Provo", - "ECommerce.customerId": "AS-10225", - "ECommerce.customerName": "Customer 3", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-09-17T00:00:00.000", - "ECommerce.orderId": "CA-2017-112515", - "ECommerce.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", - "ECommerce.profit": "77.5764", - "ECommerce.quantity": "3", - "ECommerce.rowId": "2655", - "ECommerce.sales": "1292.940", - "ECommerce.subCategory": "Bookcases", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-160633", + "rowId": 9618, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "DG-13300", - "ECommerce.customerName": "Customer 16", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-11-28T00:00:00.000", - "ECommerce.orderId": "CA-2017-123372", - "ECommerce.productName": "Google Nexus 5", - "ECommerce.profit": "494.9725", - "ECommerce.quantity": "11", - "ECommerce.rowId": "2661", - "ECommerce.sales": "1979.890", - "ECommerce.subCategory": "Phones", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 9618, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Glendale", - "ECommerce.customerId": "EM-14140", - "ECommerce.customerName": "Customer 18", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-11-12T00:00:00.000", - "ECommerce.orderId": "CA-2017-134915", - "ECommerce.productName": "Harbour Creations 67200 Series Stacking Chairs", - "ECommerce.profit": "9.9652", - "ECommerce.quantity": "2", - "ECommerce.rowId": "2952", - "ECommerce.sales": "113.888", - "ECommerce.subCategory": "Chairs", + "SUM(a.cnt)": "1", + "orderDate": 2020-11-16T00:00:00.000Z, + "orderId": "CA-2017-160633", + "rowId": 9619, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "San Francisco", - "ECommerce.customerId": "HH-15010", - "ECommerce.customerName": "Customer 21", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-10-19T00:00:00.000", - "ECommerce.orderId": "CA-2017-131492", - "ECommerce.productName": "Linden 10 Round Wall Clock, Black", - "ECommerce.profit": "10.3904", - "ECommerce.quantity": "2", - "ECommerce.rowId": "3059", - "ECommerce.sales": "30.560", - "ECommerce.subCategory": "Furnishings", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": "CA-2017-160633", + "rowId": 9619, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "San Francisco", - "ECommerce.customerId": "HH-15010", - "ECommerce.customerName": "Customer 21", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-10-19T00:00:00.000", - "ECommerce.orderId": "CA-2017-131492", - "ECommerce.productName": "Anderson Hickey Conga Table Tops & Accessories", - "ECommerce.profit": "-3.3506", - "ECommerce.quantity": "2", - "ECommerce.rowId": "3060", - "ECommerce.sales": "24.368", - "ECommerce.subCategory": "Tables", + "SUM(a.cnt)": "1", + "orderDate": null, + "orderId": null, + "rowId": 9619, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Louisville", - "ECommerce.customerId": "DW-13480", - "ECommerce.customerName": "Customer 17", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-05-27T00:00:00.000", - "ECommerce.orderId": "US-2017-132297", - "ECommerce.productName": "Google Nexus 6", - "ECommerce.profit": "134.9925", - "ECommerce.quantity": "3", - "ECommerce.rowId": "3083", - "ECommerce.sales": "539.970", - "ECommerce.subCategory": "Phones", + "SUM(a.cnt)": "44", + "orderDate": null, + "orderId": null, + "rowId": null, }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver SQL API: Rollup over exprs: rollup_over_exprs 1`] = ` +Array [ Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Auburn", - "ECommerce.customerId": "KN-16705", - "ECommerce.customerName": "Customer 28", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-06-11T00:00:00.000", - "ECommerce.orderId": "CA-2017-102554", - "ECommerce.productName": "OIC #2 Pencils, Medium Soft", - "ECommerce.profit": "1.0904", - "ECommerce.quantity": "2", - "ECommerce.rowId": "3448", - "ECommerce.sales": "3.760", - "ECommerce.subCategory": "Art", + "SUM(ECommerce.count)": "1", + "city": "Detroit", + "order": 944.96, + "orderData": 2020-01-23T00:00:00.000Z, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Omaha", - "ECommerce.customerId": "JO-15550", - "ECommerce.customerName": "Customer 24", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-05-29T00:00:00.000", - "ECommerce.orderId": "CA-2017-144568", - "ECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", - "ECommerce.profit": "1.1775", - "ECommerce.quantity": "5", - "ECommerce.rowId": "3717", - "ECommerce.sales": "23.550", - "ECommerce.subCategory": "Fasteners", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 944.96, + "orderData": 2020-01-23T00:00:00.000Z, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Bakersfield", - "ECommerce.customerId": "AW-10840", - "ECommerce.customerName": "Customer 4", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-09-02T00:00:00.000", - "ECommerce.orderId": "CA-2017-123001", - "ECommerce.productName": "OIC #2 Pencils, Medium Soft", - "ECommerce.profit": "2.7260", - "ECommerce.quantity": "5", - "ECommerce.rowId": "3934", - "ECommerce.sales": "9.400", - "ECommerce.subCategory": "Art", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 944.96, + "orderData": null, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Philadelphia", - "ECommerce.customerId": "CC-12475", - "ECommerce.customerName": "Customer 12", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-11-21T00:00:00.000", - "ECommerce.orderId": "CA-2017-100811", - "ECommerce.productName": "Recycled Eldon Regeneration Jumbo File", - "ECommerce.profit": "3.9296", - "ECommerce.quantity": "4", - "ECommerce.rowId": "4012", - "ECommerce.sales": "39.296", - "ECommerce.subCategory": "Storage", + "SUM(ECommerce.count)": "1", + "city": "Lorain", + "order": 946.792, + "orderData": 2020-01-01T00:00:00.000Z, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Lafayette", - "ECommerce.customerId": "CS-12355", - "ECommerce.customerName": "Customer 14", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-12-24T00:00:00.000", - "ECommerce.orderId": "CA-2017-124296", - "ECommerce.productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", - "ECommerce.profit": "60.5488", - "ECommerce.quantity": "4", - "ECommerce.rowId": "4031", - "ECommerce.sales": "232.880", - "ECommerce.subCategory": "Chairs", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 946.792, + "orderData": 2020-01-01T00:00:00.000Z, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "New York City", - "ECommerce.customerId": "AH-10465", - "ECommerce.customerName": "Customer 1", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-05-14T00:00:00.000", - "ECommerce.orderId": "CA-2017-115546", - "ECommerce.productName": "Google Nexus 7", - "ECommerce.profit": "134.9925", - "ECommerce.quantity": "3", - "ECommerce.rowId": "4161", - "ECommerce.sales": "539.970", - "ECommerce.subCategory": "Phones", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 946.792, + "orderData": null, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "WB-21850", - "ECommerce.customerName": "Customer 41", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-11-11T00:00:00.000", - "ECommerce.orderId": "CA-2017-120327", - "ECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", - "ECommerce.profit": "21.5824", - "ECommerce.quantity": "4", - "ECommerce.rowId": "4227", - "ECommerce.sales": "45.920", - "ECommerce.subCategory": "Fasteners", + "SUM(ECommerce.count)": "1", + "city": "Olympia", + "order": 1041.06, + "orderData": 2020-06-17T00:00:00.000Z, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "TB-21175", - "ECommerce.customerName": "Customer 39", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-11-02T00:00:00.000", - "ECommerce.orderId": "CA-2017-143567", - "ECommerce.productName": "Logitech di_Novo Edge Keyboard", - "ECommerce.profit": "517.4793", - "ECommerce.quantity": "9", - "ECommerce.rowId": "4882", - "ECommerce.sales": "2249.910", - "ECommerce.subCategory": "Accessories", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 1041.06, + "orderData": 2020-06-17T00:00:00.000Z, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Detroit", - "ECommerce.customerId": "CA-12775", - "ECommerce.customerName": "Customer 11", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-09-01T00:00:00.000", - "ECommerce.orderId": "CA-2017-145653", - "ECommerce.productName": "Harbour Creations 67200 Series Stacking Chairs", - "ECommerce.profit": "134.5302", - "ECommerce.quantity": "7", - "ECommerce.rowId": "5220", - "ECommerce.sales": "498.260", - "ECommerce.subCategory": "Chairs", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 1041.06, + "orderData": null, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "KL-16555", - "ECommerce.customerName": "Customer 27", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-12-14T00:00:00.000", - "ECommerce.orderId": "CA-2017-147333", - "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.0", - "ECommerce.profit": "8.5025", - "ECommerce.quantity": "5", - "ECommerce.rowId": "5277", - "ECommerce.sales": "44.750", - "ECommerce.subCategory": "Accessories", + "SUM(ECommerce.count)": "1", + "city": "Vancouver", + "order": 1513.28, + "orderData": 2020-10-30T00:00:00.000Z, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Los Angeles", - "ECommerce.customerId": "SS-20140", - "ECommerce.customerName": "Customer 38", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-06-03T00:00:00.000", - "ECommerce.orderId": "CA-2017-145772", - "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.1", - "ECommerce.profit": "8.5025", - "ECommerce.quantity": "5", - "ECommerce.rowId": "6125", - "ECommerce.sales": "44.750", - "ECommerce.subCategory": "Accessories", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 1513.28, + "orderData": 2020-10-30T00:00:00.000Z, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Marion", - "ECommerce.customerId": "MG-17650", - "ECommerce.customerName": "Customer 32", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-12-01T00:00:00.000", - "ECommerce.orderId": "CA-2017-145660", - "ECommerce.productName": "Magna Visual Magnetic Picture Hangers", - "ECommerce.profit": "1.7352", - "ECommerce.quantity": "2", - "ECommerce.rowId": "6205", - "ECommerce.sales": "7.712", - "ECommerce.subCategory": "Furnishings", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 1513.28, + "orderData": null, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Oakland", - "ECommerce.customerId": "BB-11545", - "ECommerce.customerName": "Customer 5", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-12-02T00:00:00.000", - "ECommerce.orderId": "CA-2017-102379", - "ECommerce.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", - "ECommerce.profit": "44.9750", - "ECommerce.quantity": "5", - "ECommerce.rowId": "6272", - "ECommerce.sales": "179.900", - "ECommerce.subCategory": "Art", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 2017.608, + "orderData": 2020-06-25T00:00:00.000Z, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Baltimore", - "ECommerce.customerId": "AJ-10780", - "ECommerce.customerName": "Customer 2", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-05-14T00:00:00.000", - "ECommerce.orderId": "US-2017-133361", - "ECommerce.productName": "OIC #2 Pencils, Medium Soft", - "ECommerce.profit": "1.0904", - "ECommerce.quantity": "2", - "ECommerce.rowId": "6459", - "ECommerce.sales": "3.760", - "ECommerce.subCategory": "Art", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 2017.608, + "orderData": 2020-06-25T00:00:00.000Z, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Arlington", - "ECommerce.customerId": "BF-11020", - "ECommerce.customerName": "Customer 6", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-09-08T00:00:00.000", - "ECommerce.orderId": "US-2017-124779", - "ECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", - "ECommerce.profit": "15.4980", - "ECommerce.quantity": "5", - "ECommerce.rowId": "6651", - "ECommerce.sales": "45.920", - "ECommerce.subCategory": "Fasteners", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 2017.608, + "orderData": null, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Houston", - "ECommerce.customerId": "HK-14890", - "ECommerce.customerName": "Customer 22", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-03-26T00:00:00.000", - "ECommerce.orderId": "US-2017-141677", - "ECommerce.productName": "Canon PC1080F Personal Copier", - "ECommerce.profit": "569.9905", - "ECommerce.quantity": "5", - "ECommerce.rowId": "7174", - "ECommerce.sales": "2399.960", - "ECommerce.subCategory": "Copiers", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 2357.704, + "orderData": 2020-09-23T00:00:00.000Z, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "LR-16915", - "ECommerce.customerName": "Customer 30", - "ECommerce.discount": "0.5", - "ECommerce.orderDate": "2020-12-04T00:00:00.000", - "ECommerce.orderId": "CA-2017-109183", - "ECommerce.productName": "Okidata C610n Printer", - "ECommerce.profit": "-272.5800", - "ECommerce.quantity": "2", - "ECommerce.rowId": "7293", - "ECommerce.sales": "649.000", - "ECommerce.subCategory": "Machines", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 2357.704, + "orderData": 2020-09-23T00:00:00.000Z, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "New York City", - "ECommerce.customerId": "MM-18280", - "ECommerce.customerName": "Customer 34", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-06-10T00:00:00.000", - "ECommerce.orderId": "CA-2017-112172", - "ECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", - "ECommerce.profit": "0.7065", - "ECommerce.quantity": "3", - "ECommerce.rowId": "7310", - "ECommerce.sales": "14.130", - "ECommerce.subCategory": "Fasteners", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 2357.704, + "orderData": null, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Philadelphia", - "ECommerce.customerId": "BS-11755", - "ECommerce.customerName": "Customer 10", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-04-10T00:00:00.000", - "ECommerce.orderId": "CA-2017-135069", - "ECommerce.productName": "Linden 10 Round Wall Clock, Black", - "ECommerce.profit": "6.4176", - "ECommerce.quantity": "3", - "ECommerce.rowId": "7425", - "ECommerce.sales": "36.672", - "ECommerce.subCategory": "Furnishings", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": 2598.2, + "orderData": 2020-03-17T00:00:00.000Z, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "BF-11170", - "ECommerce.customerName": "Customer 7", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-12-14T00:00:00.000", - "ECommerce.orderId": "CA-2017-151799", - "ECommerce.productName": "Canon PC1080F Personal Copier", - "ECommerce.profit": "467.9922", - "ECommerce.quantity": "2", - "ECommerce.rowId": "7698", - "ECommerce.sales": "1199.980", - "ECommerce.subCategory": "Copiers", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 2598.2, + "orderData": 2020-03-17T00:00:00.000Z, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Lakewood", - "ECommerce.customerId": "NP-18670", - "ECommerce.customerName": "Customer 35", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-10-12T00:00:00.000", - "ECommerce.orderId": "CA-2017-150091", - "ECommerce.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", - "ECommerce.profit": "129.2940", - "ECommerce.quantity": "5", - "ECommerce.rowId": "8425", - "ECommerce.sales": "2154.900", - "ECommerce.subCategory": "Bookcases", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 2598.2, + "orderData": null, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Dallas", - "ECommerce.customerId": "LC-17050", - "ECommerce.customerName": "Customer 29", - "ECommerce.discount": "0.6", - "ECommerce.orderDate": "2020-11-06T00:00:00.000", - "ECommerce.orderId": "US-2017-119319", - "ECommerce.productName": "Linden 10 Round Wall Clock, Black", - "ECommerce.profit": "-19.8640", - "ECommerce.quantity": "5", - "ECommerce.rowId": "8621", - "ECommerce.sales": "30.560", - "ECommerce.subCategory": "Furnishings", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 2956.92, + "orderData": 2020-05-13T00:00:00.000Z, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Decatur", - "ECommerce.customerId": "JS-16030", - "ECommerce.customerName": "Customer 25", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-02-16T00:00:00.000", - "ECommerce.orderId": "CA-2017-163265", - "ECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", - "ECommerce.profit": "6.1992", - "ECommerce.quantity": "2", - "ECommerce.rowId": "8673", - "ECommerce.sales": "18.368", - "ECommerce.subCategory": "Fasteners", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 2956.92, + "orderData": 2020-05-13T00:00:00.000Z, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "TS-21205", - "ECommerce.customerName": "Customer 40", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-06-15T00:00:00.000", - "ECommerce.orderId": "CA-2017-119284", - "ECommerce.productName": "HTC One", - "ECommerce.profit": "26.9973", - "ECommerce.quantity": "3", - "ECommerce.rowId": "8697", - "ECommerce.sales": "239.976", - "ECommerce.subCategory": "Phones", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 2956.92, + "orderData": null, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Morristown", - "ECommerce.customerId": "GZ-14470", - "ECommerce.customerName": "Customer 20", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-09-17T00:00:00.000", - "ECommerce.orderId": "CA-2017-126928", - "ECommerce.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", - "ECommerce.profit": "225.6000", - "ECommerce.quantity": "4", - "ECommerce.rowId": "8878", - "ECommerce.sales": "480.000", - "ECommerce.subCategory": "Machines", + "SUM(ECommerce.count)": "1", + "city": "San Francisco", + "order": 3108.736, + "orderData": 2020-10-19T00:00:00.000Z, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "JH-15430", - "ECommerce.customerName": "Customer 23", - "ECommerce.discount": "0.5", - "ECommerce.orderDate": "2020-12-25T00:00:00.000", - "ECommerce.orderId": "CA-2017-105620", - "ECommerce.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", - "ECommerce.profit": "-7.2000", - "ECommerce.quantity": "2", - "ECommerce.rowId": "8958", - "ECommerce.sales": "120.000", - "ECommerce.subCategory": "Machines", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 3108.736, + "orderData": 2020-10-19T00:00:00.000Z, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "New York City", - "ECommerce.customerId": "CD-12280", - "ECommerce.customerName": "Customer 13", - "ECommerce.discount": "0.1", - "ECommerce.orderDate": "2020-11-05T00:00:00.000", - "ECommerce.orderId": "CA-2017-102925", - "ECommerce.productName": "Harbour Creations 67200 Series Stacking Chairs", - "ECommerce.profit": "24.2012", - "ECommerce.quantity": "2", - "ECommerce.rowId": "9473", - "ECommerce.sales": "128.124", - "ECommerce.subCategory": "Chairs", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 3108.736, + "orderData": null, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "New York City", - "ECommerce.customerId": "SB-20185", - "ECommerce.customerName": "Customer 37", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-06-25T00:00:00.000", - "ECommerce.orderId": "CA-2017-116127", - "ECommerce.productName": "DMI Eclipse Executive Suite Bookcases", - "ECommerce.profit": "-5.0098", - "ECommerce.quantity": "1", - "ECommerce.rowId": "9584", - "ECommerce.sales": "400.784", - "ECommerce.subCategory": "Bookcases", + "SUM(ECommerce.count)": "1", + "city": "San Francisco", + "order": 3120.12, + "orderData": 2020-10-19T00:00:00.000Z, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "BS-11380", - "ECommerce.customerName": "Customer 9", - "ECommerce.discount": "0.4", - "ECommerce.orderDate": "2020-11-16T00:00:00.000", - "ECommerce.orderId": "CA-2017-160633", - "ECommerce.productName": "Hewlett Packard 610 Color Digital Copier / Printer", - "ECommerce.profit": "74.9985", - "ECommerce.quantity": "3", - "ECommerce.rowId": "9618", - "ECommerce.sales": "899.982", - "ECommerce.subCategory": "Copiers", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 3120.12, + "orderData": 2020-10-19T00:00:00.000Z, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Bowling", - "ECommerce.customerId": "BS-11380", - "ECommerce.customerName": "Customer 9", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-11-16T00:00:00.000", - "ECommerce.orderId": "CA-2017-160633", - "ECommerce.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", - "ECommerce.profit": "5.3970", - "ECommerce.quantity": "3", - "ECommerce.rowId": "9619", - "ECommerce.sales": "86.352", - "ECommerce.subCategory": "Art", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 3120.12, + "orderData": null, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying ECommerce: dimensions + limit 1`] = ` -Array [ Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Detroit", - "ECommerce.customerId": "MC-17605", - "ECommerce.customerName": "Customer 31", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-01-23T00:00:00.000", - "ECommerce.orderId": "CA-2017-145142", - "ECommerce.productName": "Balt Solid Wood Rectangular Table", - "ECommerce.profit": "21.0980", - "ECommerce.quantity": "2", - "ECommerce.rowId": "523", - "ECommerce.sales": "210.980", - "ECommerce.subCategory": "Tables", + "SUM(ECommerce.count)": "1", + "city": "Glendale", + "order": 3179.776, + "orderData": 2020-11-12T00:00:00.000Z, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Lorain", - "ECommerce.customerId": "GA-14725", - "ECommerce.customerName": "Customer 19", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderId": "CA-2017-107503", - "ECommerce.productName": "Linden 10 Round Wall Clock, Black", - "ECommerce.profit": "8.5568", - "ECommerce.quantity": "4", - "ECommerce.rowId": "849", - "ECommerce.sales": "48.896", - "ECommerce.subCategory": "Furnishings", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 3179.776, + "orderData": 2020-11-12T00:00:00.000Z, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Olympia", - "ECommerce.customerId": "PF-19165", - "ECommerce.customerName": "Customer 36", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-06-17T00:00:00.000", - "ECommerce.orderId": "CA-2017-118437", - "ECommerce.productName": "Project Tote Personal File", - "ECommerce.profit": "4.0687", - "ECommerce.quantity": "1", - "ECommerce.rowId": "1013", - "ECommerce.sales": "14.030", - "ECommerce.subCategory": "Storage", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 3179.776, + "orderData": null, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Vancouver", - "ECommerce.customerId": "JW-15220", - "ECommerce.customerName": "Customer 26", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-10-30T00:00:00.000", - "ECommerce.orderId": "CA-2017-139661", - "ECommerce.productName": "Magna Visual Magnetic Picture Hangers", - "ECommerce.profit": "3.6632", - "ECommerce.quantity": "2", - "ECommerce.rowId": "1494", - "ECommerce.sales": "9.640", - "ECommerce.subCategory": "Furnishings", + "SUM(ECommerce.count)": "1", + "city": "Auburn", + "order": 3455.52, + "orderData": 2020-06-11T00:00:00.000Z, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "ML-17755", - "ECommerce.customerName": "Customer 33", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-06-25T00:00:00.000", - "ECommerce.orderId": "CA-2017-133648", - "ECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", - "ECommerce.profit": "-2.1195", - "ECommerce.quantity": "3", - "ECommerce.rowId": "1995", - "ECommerce.sales": "11.304", - "ECommerce.subCategory": "Fasteners", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 3455.52, + "orderData": 2020-06-11T00:00:00.000Z, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "KN-16705", - "ECommerce.customerName": "Customer 28", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-09-23T00:00:00.000", - "ECommerce.orderId": "CA-2017-138422", - "ECommerce.productName": "Wausau Papers Astrobrights Colored Envelopes", - "ECommerce.profit": "5.2026", - "ECommerce.quantity": "3", - "ECommerce.rowId": "2329", - "ECommerce.sales": "14.352", - "ECommerce.subCategory": "Envelopes", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 3455.52, + "orderData": null, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "New York City", - "ECommerce.customerId": "DB-13405", - "ECommerce.customerName": "Customer 15", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-03-17T00:00:00.000", - "ECommerce.orderId": "CA-2017-140949", - "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.2", - "ECommerce.profit": "13.6040", - "ECommerce.quantity": "8", - "ECommerce.rowId": "2455", - "ECommerce.sales": "71.600", - "ECommerce.subCategory": "Accessories", + "SUM(ECommerce.count)": "1", + "city": "Omaha", + "order": 3764.1, + "orderData": 2020-05-29T00:00:00.000Z, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "BM-11650", - "ECommerce.customerName": "Customer 8", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-05-13T00:00:00.000", - "ECommerce.orderId": "CA-2017-149048", - "ECommerce.productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", - "ECommerce.profit": "81.4320", - "ECommerce.quantity": "2", - "ECommerce.rowId": "2595", - "ECommerce.sales": "180.960", - "ECommerce.subCategory": "Envelopes", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 3764.1, + "orderData": 2020-05-29T00:00:00.000Z, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Provo", - "ECommerce.customerId": "AS-10225", - "ECommerce.customerName": "Customer 3", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-09-17T00:00:00.000", - "ECommerce.orderId": "CA-2017-112515", - "ECommerce.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", - "ECommerce.profit": "77.5764", - "ECommerce.quantity": "3", - "ECommerce.rowId": "2655", - "ECommerce.sales": "1292.940", - "ECommerce.subCategory": "Bookcases", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 3764.1, + "orderData": null, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "DG-13300", - "ECommerce.customerName": "Customer 16", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-11-28T00:00:00.000", - "ECommerce.orderId": "CA-2017-123372", - "ECommerce.productName": "Google Nexus 5", - "ECommerce.profit": "494.9725", - "ECommerce.quantity": "11", - "ECommerce.rowId": "2661", - "ECommerce.sales": "1979.890", - "ECommerce.subCategory": "Phones", + "SUM(ECommerce.count)": "1", + "city": "Bakersfield", + "order": 3952.8, + "orderData": 2020-09-02T00:00:00.000Z, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying ECommerce: dimensions + order + limit + total + offset 1`] = ` -Array [ Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Glendale", - "ECommerce.customerId": "EM-14140", - "ECommerce.customerName": "Customer 18", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-11-12T00:00:00.000", - "ECommerce.orderId": "CA-2017-134915", - "ECommerce.productName": "Harbour Creations 67200 Series Stacking Chairs", - "ECommerce.profit": "9.9652", - "ECommerce.quantity": "2", - "ECommerce.rowId": "2952", - "ECommerce.sales": "113.888", - "ECommerce.subCategory": "Chairs", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 3952.8, + "orderData": 2020-09-02T00:00:00.000Z, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "San Francisco", - "ECommerce.customerId": "HH-15010", - "ECommerce.customerName": "Customer 21", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-10-19T00:00:00.000", - "ECommerce.orderId": "CA-2017-131492", - "ECommerce.productName": "Linden 10 Round Wall Clock, Black", - "ECommerce.profit": "10.3904", - "ECommerce.quantity": "2", - "ECommerce.rowId": "3059", - "ECommerce.sales": "30.560", - "ECommerce.subCategory": "Furnishings", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 3952.8, + "orderData": null, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "San Francisco", - "ECommerce.customerId": "HH-15010", - "ECommerce.customerName": "Customer 21", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-10-19T00:00:00.000", - "ECommerce.orderId": "CA-2017-131492", - "ECommerce.productName": "Anderson Hickey Conga Table Tops & Accessories", - "ECommerce.profit": "-3.3506", - "ECommerce.quantity": "2", - "ECommerce.rowId": "3060", - "ECommerce.sales": "24.368", - "ECommerce.subCategory": "Tables", + "SUM(ECommerce.count)": "1", + "city": "Philadelphia", + "order": 4090.592, + "orderData": 2020-11-21T00:00:00.000Z, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Louisville", - "ECommerce.customerId": "DW-13480", - "ECommerce.customerName": "Customer 17", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-05-27T00:00:00.000", - "ECommerce.orderId": "US-2017-132297", - "ECommerce.productName": "Google Nexus 6", - "ECommerce.profit": "134.9925", - "ECommerce.quantity": "3", - "ECommerce.rowId": "3083", - "ECommerce.sales": "539.970", - "ECommerce.subCategory": "Phones", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 4090.592, + "orderData": 2020-11-21T00:00:00.000Z, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Auburn", - "ECommerce.customerId": "KN-16705", - "ECommerce.customerName": "Customer 28", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-06-11T00:00:00.000", - "ECommerce.orderId": "CA-2017-102554", - "ECommerce.productName": "OIC #2 Pencils, Medium Soft", - "ECommerce.profit": "1.0904", - "ECommerce.quantity": "2", - "ECommerce.rowId": "3448", - "ECommerce.sales": "3.760", - "ECommerce.subCategory": "Art", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 4090.592, + "orderData": null, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Omaha", - "ECommerce.customerId": "JO-15550", - "ECommerce.customerName": "Customer 24", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-05-29T00:00:00.000", - "ECommerce.orderId": "CA-2017-144568", - "ECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", - "ECommerce.profit": "1.1775", - "ECommerce.quantity": "5", - "ECommerce.rowId": "3717", - "ECommerce.sales": "23.550", - "ECommerce.subCategory": "Fasteners", + "SUM(ECommerce.count)": "1", + "city": "Louisville", + "order": 4162.94, + "orderData": 2020-05-27T00:00:00.000Z, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Bakersfield", - "ECommerce.customerId": "AW-10840", - "ECommerce.customerName": "Customer 4", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-09-02T00:00:00.000", - "ECommerce.orderId": "CA-2017-123001", - "ECommerce.productName": "OIC #2 Pencils, Medium Soft", - "ECommerce.profit": "2.7260", - "ECommerce.quantity": "5", - "ECommerce.rowId": "3934", - "ECommerce.sales": "9.400", - "ECommerce.subCategory": "Art", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 4162.94, + "orderData": 2020-05-27T00:00:00.000Z, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Philadelphia", - "ECommerce.customerId": "CC-12475", - "ECommerce.customerName": "Customer 12", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-11-21T00:00:00.000", - "ECommerce.orderId": "CA-2017-100811", - "ECommerce.productName": "Recycled Eldon Regeneration Jumbo File", - "ECommerce.profit": "3.9296", - "ECommerce.quantity": "4", - "ECommerce.rowId": "4012", - "ECommerce.sales": "39.296", - "ECommerce.subCategory": "Storage", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 4162.94, + "orderData": null, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Lafayette", - "ECommerce.customerId": "CS-12355", - "ECommerce.customerName": "Customer 14", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-12-24T00:00:00.000", - "ECommerce.orderId": "CA-2017-124296", - "ECommerce.productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", - "ECommerce.profit": "60.5488", - "ECommerce.quantity": "4", - "ECommerce.rowId": "4031", - "ECommerce.sales": "232.880", - "ECommerce.subCategory": "Chairs", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 4318.84, + "orderData": 2020-11-11T00:00:00.000Z, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "New York City", - "ECommerce.customerId": "AH-10465", - "ECommerce.customerName": "Customer 1", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-05-14T00:00:00.000", - "ECommerce.orderId": "CA-2017-115546", - "ECommerce.productName": "Google Nexus 7", - "ECommerce.profit": "134.9925", - "ECommerce.quantity": "3", - "ECommerce.rowId": "4161", - "ECommerce.sales": "539.970", - "ECommerce.subCategory": "Phones", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 4318.84, + "orderData": 2020-11-11T00:00:00.000Z, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying ECommerce: dimensions + order + limit + total 1`] = ` -Array [ Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Detroit", - "ECommerce.customerId": "MC-17605", - "ECommerce.customerName": "Customer 31", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-01-23T00:00:00.000", - "ECommerce.orderId": "CA-2017-145142", - "ECommerce.productName": "Balt Solid Wood Rectangular Table", - "ECommerce.profit": "21.0980", - "ECommerce.quantity": "2", - "ECommerce.rowId": "523", - "ECommerce.sales": "210.980", - "ECommerce.subCategory": "Tables", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 4318.84, + "orderData": null, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Lorain", - "ECommerce.customerId": "GA-14725", - "ECommerce.customerName": "Customer 19", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderId": "CA-2017-107503", - "ECommerce.productName": "Linden 10 Round Wall Clock, Black", - "ECommerce.profit": "8.5568", - "ECommerce.quantity": "4", - "ECommerce.rowId": "849", - "ECommerce.sales": "48.896", - "ECommerce.subCategory": "Furnishings", + "SUM(ECommerce.count)": "1", + "city": "Lafayette", + "order": 4496.76, + "orderData": 2020-12-24T00:00:00.000Z, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Olympia", - "ECommerce.customerId": "PF-19165", - "ECommerce.customerName": "Customer 36", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-06-17T00:00:00.000", - "ECommerce.orderId": "CA-2017-118437", - "ECommerce.productName": "Project Tote Personal File", - "ECommerce.profit": "4.0687", - "ECommerce.quantity": "1", - "ECommerce.rowId": "1013", - "ECommerce.sales": "14.030", - "ECommerce.subCategory": "Storage", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 4496.76, + "orderData": 2020-12-24T00:00:00.000Z, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Vancouver", - "ECommerce.customerId": "JW-15220", - "ECommerce.customerName": "Customer 26", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-10-30T00:00:00.000", - "ECommerce.orderId": "CA-2017-139661", - "ECommerce.productName": "Magna Visual Magnetic Picture Hangers", - "ECommerce.profit": "3.6632", - "ECommerce.quantity": "2", - "ECommerce.rowId": "1494", - "ECommerce.sales": "9.640", - "ECommerce.subCategory": "Furnishings", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 4496.76, + "orderData": null, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "ML-17755", - "ECommerce.customerName": "Customer 33", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-06-25T00:00:00.000", - "ECommerce.orderId": "CA-2017-133648", - "ECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", - "ECommerce.profit": "-2.1195", - "ECommerce.quantity": "3", - "ECommerce.rowId": "1995", - "ECommerce.sales": "11.304", - "ECommerce.subCategory": "Fasteners", + "SUM(ECommerce.count)": "1", + "city": "Provo", + "order": 5240.88, + "orderData": 2020-09-17T00:00:00.000Z, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "KN-16705", - "ECommerce.customerName": "Customer 28", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-09-23T00:00:00.000", - "ECommerce.orderId": "CA-2017-138422", - "ECommerce.productName": "Wausau Papers Astrobrights Colored Envelopes", - "ECommerce.profit": "5.2026", - "ECommerce.quantity": "3", - "ECommerce.rowId": "2329", - "ECommerce.sales": "14.352", - "ECommerce.subCategory": "Envelopes", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 5240.88, + "orderData": 2020-09-17T00:00:00.000Z, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "New York City", - "ECommerce.customerId": "DB-13405", - "ECommerce.customerName": "Customer 15", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-03-17T00:00:00.000", - "ECommerce.orderId": "CA-2017-140949", - "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.2", - "ECommerce.profit": "13.6040", - "ECommerce.quantity": "8", - "ECommerce.rowId": "2455", - "ECommerce.sales": "71.600", - "ECommerce.subCategory": "Accessories", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 5240.88, + "orderData": null, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "BM-11650", - "ECommerce.customerName": "Customer 8", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-05-13T00:00:00.000", - "ECommerce.orderId": "CA-2017-149048", - "ECommerce.productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", - "ECommerce.profit": "81.4320", - "ECommerce.quantity": "2", - "ECommerce.rowId": "2595", - "ECommerce.sales": "180.960", - "ECommerce.subCategory": "Envelopes", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": 5240.94, + "orderData": 2020-05-14T00:00:00.000Z, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Provo", - "ECommerce.customerId": "AS-10225", - "ECommerce.customerName": "Customer 3", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-09-17T00:00:00.000", - "ECommerce.orderId": "CA-2017-112515", - "ECommerce.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", - "ECommerce.profit": "77.5764", - "ECommerce.quantity": "3", - "ECommerce.rowId": "2655", - "ECommerce.sales": "1292.940", - "ECommerce.subCategory": "Bookcases", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 5240.94, + "orderData": 2020-05-14T00:00:00.000Z, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "DG-13300", - "ECommerce.customerName": "Customer 16", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-11-28T00:00:00.000", - "ECommerce.orderId": "CA-2017-123372", - "ECommerce.productName": "Google Nexus 5", - "ECommerce.profit": "494.9725", - "ECommerce.quantity": "11", - "ECommerce.rowId": "2661", - "ECommerce.sales": "1979.890", - "ECommerce.subCategory": "Phones", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 5240.94, + "orderData": null, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying ECommerce: dimensions + order + total + offset 1`] = ` -Array [ Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Bowling", - "ECommerce.customerId": "BS-11380", - "ECommerce.customerName": "Customer 9", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-11-16T00:00:00.000", - "ECommerce.orderId": "CA-2017-160633", - "ECommerce.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", - "ECommerce.profit": "5.3970", - "ECommerce.quantity": "3", - "ECommerce.rowId": "9619", - "ECommerce.sales": "86.352", - "ECommerce.subCategory": "Art", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 5366.5, + "orderData": 2020-12-14T00:00:00.000Z, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying ECommerce: dimensions + order 1`] = ` -Array [ Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Detroit", - "ECommerce.customerId": "MC-17605", - "ECommerce.customerName": "Customer 31", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-01-23T00:00:00.000", - "ECommerce.orderId": "CA-2017-145142", - "ECommerce.productName": "Balt Solid Wood Rectangular Table", - "ECommerce.profit": "21.0980", - "ECommerce.quantity": "2", - "ECommerce.rowId": "523", - "ECommerce.sales": "210.980", - "ECommerce.subCategory": "Tables", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 5366.5, + "orderData": 2020-12-14T00:00:00.000Z, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Lorain", - "ECommerce.customerId": "GA-14725", - "ECommerce.customerName": "Customer 19", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderId": "CA-2017-107503", - "ECommerce.productName": "Linden 10 Round Wall Clock, Black", - "ECommerce.profit": "8.5568", - "ECommerce.quantity": "4", - "ECommerce.rowId": "849", - "ECommerce.sales": "48.896", - "ECommerce.subCategory": "Furnishings", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 5366.5, + "orderData": null, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Olympia", - "ECommerce.customerId": "PF-19165", - "ECommerce.customerName": "Customer 36", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-06-17T00:00:00.000", - "ECommerce.orderId": "CA-2017-118437", - "ECommerce.productName": "Project Tote Personal File", - "ECommerce.profit": "4.0687", - "ECommerce.quantity": "1", - "ECommerce.rowId": "1013", - "ECommerce.sales": "14.030", - "ECommerce.subCategory": "Storage", + "SUM(ECommerce.count)": "1", + "city": "Los Angeles", + "order": 6214.5, + "orderData": 2020-06-03T00:00:00.000Z, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Vancouver", - "ECommerce.customerId": "JW-15220", - "ECommerce.customerName": "Customer 26", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-10-30T00:00:00.000", - "ECommerce.orderId": "CA-2017-139661", - "ECommerce.productName": "Magna Visual Magnetic Picture Hangers", - "ECommerce.profit": "3.6632", - "ECommerce.quantity": "2", - "ECommerce.rowId": "1494", - "ECommerce.sales": "9.640", - "ECommerce.subCategory": "Furnishings", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 6214.5, + "orderData": 2020-06-03T00:00:00.000Z, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "ML-17755", - "ECommerce.customerName": "Customer 33", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-06-25T00:00:00.000", - "ECommerce.orderId": "CA-2017-133648", - "ECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", - "ECommerce.profit": "-2.1195", - "ECommerce.quantity": "3", - "ECommerce.rowId": "1995", - "ECommerce.sales": "11.304", - "ECommerce.subCategory": "Fasteners", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 6214.5, + "orderData": null, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "KN-16705", - "ECommerce.customerName": "Customer 28", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-09-23T00:00:00.000", - "ECommerce.orderId": "CA-2017-138422", - "ECommerce.productName": "Wausau Papers Astrobrights Colored Envelopes", - "ECommerce.profit": "5.2026", - "ECommerce.quantity": "3", - "ECommerce.rowId": "2329", - "ECommerce.sales": "14.352", - "ECommerce.subCategory": "Envelopes", + "SUM(ECommerce.count)": "1", + "city": "Detroit", + "order": 6216.52, + "orderData": 2020-09-01T00:00:00.000Z, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "New York City", - "ECommerce.customerId": "DB-13405", - "ECommerce.customerName": "Customer 15", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-03-17T00:00:00.000", - "ECommerce.orderId": "CA-2017-140949", - "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.2", - "ECommerce.profit": "13.6040", - "ECommerce.quantity": "8", - "ECommerce.rowId": "2455", - "ECommerce.sales": "71.600", - "ECommerce.subCategory": "Accessories", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 6216.52, + "orderData": 2020-09-01T00:00:00.000Z, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "BM-11650", - "ECommerce.customerName": "Customer 8", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-05-13T00:00:00.000", - "ECommerce.orderId": "CA-2017-149048", - "ECommerce.productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", - "ECommerce.profit": "81.4320", - "ECommerce.quantity": "2", - "ECommerce.rowId": "2595", - "ECommerce.sales": "180.960", - "ECommerce.subCategory": "Envelopes", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 6216.52, + "orderData": null, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Provo", - "ECommerce.customerId": "AS-10225", - "ECommerce.customerName": "Customer 3", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-09-17T00:00:00.000", - "ECommerce.orderId": "CA-2017-112515", - "ECommerce.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", - "ECommerce.profit": "77.5764", - "ECommerce.quantity": "3", - "ECommerce.rowId": "2655", - "ECommerce.sales": "1292.940", - "ECommerce.subCategory": "Bookcases", + "SUM(ECommerce.count)": "1", + "city": "Marion", + "order": 6220.424, + "orderData": 2020-12-01T00:00:00.000Z, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "DG-13300", - "ECommerce.customerName": "Customer 16", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-11-28T00:00:00.000", - "ECommerce.orderId": "CA-2017-123372", - "ECommerce.productName": "Google Nexus 5", - "ECommerce.profit": "494.9725", - "ECommerce.quantity": "11", - "ECommerce.rowId": "2661", - "ECommerce.sales": "1979.890", - "ECommerce.subCategory": "Phones", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 6220.424, + "orderData": 2020-12-01T00:00:00.000Z, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Glendale", - "ECommerce.customerId": "EM-14140", - "ECommerce.customerName": "Customer 18", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-11-12T00:00:00.000", - "ECommerce.orderId": "CA-2017-134915", - "ECommerce.productName": "Harbour Creations 67200 Series Stacking Chairs", - "ECommerce.profit": "9.9652", - "ECommerce.quantity": "2", - "ECommerce.rowId": "2952", - "ECommerce.sales": "113.888", - "ECommerce.subCategory": "Chairs", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 6220.424, + "orderData": null, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "San Francisco", - "ECommerce.customerId": "HH-15010", - "ECommerce.customerName": "Customer 21", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-10-19T00:00:00.000", - "ECommerce.orderId": "CA-2017-131492", - "ECommerce.productName": "Linden 10 Round Wall Clock, Black", - "ECommerce.profit": "10.3904", - "ECommerce.quantity": "2", - "ECommerce.rowId": "3059", - "ECommerce.sales": "30.560", - "ECommerce.subCategory": "Furnishings", + "SUM(ECommerce.count)": "1", + "city": "Baltimore", + "order": 6466.52, + "orderData": 2020-05-14T00:00:00.000Z, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "San Francisco", - "ECommerce.customerId": "HH-15010", - "ECommerce.customerName": "Customer 21", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-10-19T00:00:00.000", - "ECommerce.orderId": "CA-2017-131492", - "ECommerce.productName": "Anderson Hickey Conga Table Tops & Accessories", - "ECommerce.profit": "-3.3506", - "ECommerce.quantity": "2", - "ECommerce.rowId": "3060", - "ECommerce.sales": "24.368", - "ECommerce.subCategory": "Tables", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 6466.52, + "orderData": 2020-05-14T00:00:00.000Z, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Louisville", - "ECommerce.customerId": "DW-13480", - "ECommerce.customerName": "Customer 17", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-05-27T00:00:00.000", - "ECommerce.orderId": "US-2017-132297", - "ECommerce.productName": "Google Nexus 6", - "ECommerce.profit": "134.9925", - "ECommerce.quantity": "3", - "ECommerce.rowId": "3083", - "ECommerce.sales": "539.970", - "ECommerce.subCategory": "Phones", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 6466.52, + "orderData": null, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Auburn", - "ECommerce.customerId": "KN-16705", - "ECommerce.customerName": "Customer 28", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-06-11T00:00:00.000", - "ECommerce.orderId": "CA-2017-102554", - "ECommerce.productName": "OIC #2 Pencils, Medium Soft", - "ECommerce.profit": "1.0904", - "ECommerce.quantity": "2", - "ECommerce.rowId": "3448", - "ECommerce.sales": "3.760", - "ECommerce.subCategory": "Art", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 6620.78, + "orderData": 2020-11-28T00:00:00.000Z, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Omaha", - "ECommerce.customerId": "JO-15550", - "ECommerce.customerName": "Customer 24", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-05-29T00:00:00.000", - "ECommerce.orderId": "CA-2017-144568", - "ECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", - "ECommerce.profit": "1.1775", - "ECommerce.quantity": "5", - "ECommerce.rowId": "3717", - "ECommerce.sales": "23.550", - "ECommerce.subCategory": "Fasteners", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 6620.78, + "orderData": 2020-11-28T00:00:00.000Z, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Bakersfield", - "ECommerce.customerId": "AW-10840", - "ECommerce.customerName": "Customer 4", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-09-02T00:00:00.000", - "ECommerce.orderId": "CA-2017-123001", - "ECommerce.productName": "OIC #2 Pencils, Medium Soft", - "ECommerce.profit": "2.7260", - "ECommerce.quantity": "5", - "ECommerce.rowId": "3934", - "ECommerce.sales": "9.400", - "ECommerce.subCategory": "Art", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 6620.78, + "orderData": null, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Philadelphia", - "ECommerce.customerId": "CC-12475", - "ECommerce.customerName": "Customer 12", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-11-21T00:00:00.000", - "ECommerce.orderId": "CA-2017-100811", - "ECommerce.productName": "Recycled Eldon Regeneration Jumbo File", - "ECommerce.profit": "3.9296", - "ECommerce.quantity": "4", - "ECommerce.rowId": "4012", - "ECommerce.sales": "39.296", - "ECommerce.subCategory": "Storage", + "SUM(ECommerce.count)": "1", + "city": "Oakland", + "order": 6631.8, + "orderData": 2020-12-02T00:00:00.000Z, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Lafayette", - "ECommerce.customerId": "CS-12355", - "ECommerce.customerName": "Customer 14", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-12-24T00:00:00.000", - "ECommerce.orderId": "CA-2017-124296", - "ECommerce.productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", - "ECommerce.profit": "60.5488", - "ECommerce.quantity": "4", - "ECommerce.rowId": "4031", - "ECommerce.sales": "232.880", - "ECommerce.subCategory": "Chairs", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 6631.8, + "orderData": 2020-12-02T00:00:00.000Z, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "New York City", - "ECommerce.customerId": "AH-10465", - "ECommerce.customerName": "Customer 1", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-05-14T00:00:00.000", - "ECommerce.orderId": "CA-2017-115546", - "ECommerce.productName": "Google Nexus 7", - "ECommerce.profit": "134.9925", - "ECommerce.quantity": "3", - "ECommerce.rowId": "4161", - "ECommerce.sales": "539.970", - "ECommerce.subCategory": "Phones", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 6631.8, + "orderData": null, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "WB-21850", - "ECommerce.customerName": "Customer 41", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-11-11T00:00:00.000", - "ECommerce.orderId": "CA-2017-120327", - "ECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", - "ECommerce.profit": "21.5824", - "ECommerce.quantity": "4", - "ECommerce.rowId": "4227", - "ECommerce.sales": "45.920", - "ECommerce.subCategory": "Fasteners", + "SUM(ECommerce.count)": "1", + "city": "Arlington", + "order": 6742.84, + "orderData": 2020-09-08T00:00:00.000Z, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "TB-21175", - "ECommerce.customerName": "Customer 39", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-11-02T00:00:00.000", - "ECommerce.orderId": "CA-2017-143567", - "ECommerce.productName": "Logitech di_Novo Edge Keyboard", - "ECommerce.profit": "517.4793", - "ECommerce.quantity": "9", - "ECommerce.rowId": "4882", - "ECommerce.sales": "2249.910", - "ECommerce.subCategory": "Accessories", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 6742.84, + "orderData": 2020-09-08T00:00:00.000Z, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Detroit", - "ECommerce.customerId": "CA-12775", - "ECommerce.customerName": "Customer 11", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-09-01T00:00:00.000", - "ECommerce.orderId": "CA-2017-145653", - "ECommerce.productName": "Harbour Creations 67200 Series Stacking Chairs", - "ECommerce.profit": "134.5302", - "ECommerce.quantity": "7", - "ECommerce.rowId": "5220", - "ECommerce.sales": "498.260", - "ECommerce.subCategory": "Chairs", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 6742.84, + "orderData": null, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "KL-16555", - "ECommerce.customerName": "Customer 27", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-12-14T00:00:00.000", - "ECommerce.orderId": "CA-2017-147333", - "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.0", - "ECommerce.profit": "8.5025", - "ECommerce.quantity": "5", - "ECommerce.rowId": "5277", - "ECommerce.sales": "44.750", - "ECommerce.subCategory": "Accessories", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": 7338.26, + "orderData": 2020-06-10T00:00:00.000Z, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Los Angeles", - "ECommerce.customerId": "SS-20140", - "ECommerce.customerName": "Customer 38", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-06-03T00:00:00.000", - "ECommerce.orderId": "CA-2017-145772", - "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.1", - "ECommerce.profit": "8.5025", - "ECommerce.quantity": "5", - "ECommerce.rowId": "6125", - "ECommerce.sales": "44.750", - "ECommerce.subCategory": "Accessories", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 7338.26, + "orderData": 2020-06-10T00:00:00.000Z, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Marion", - "ECommerce.customerId": "MG-17650", - "ECommerce.customerName": "Customer 32", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-12-01T00:00:00.000", - "ECommerce.orderId": "CA-2017-145660", - "ECommerce.productName": "Magna Visual Magnetic Picture Hangers", - "ECommerce.profit": "1.7352", - "ECommerce.quantity": "2", - "ECommerce.rowId": "6205", - "ECommerce.sales": "7.712", - "ECommerce.subCategory": "Furnishings", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 7338.26, + "orderData": null, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Oakland", - "ECommerce.customerId": "BB-11545", - "ECommerce.customerName": "Customer 5", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-12-02T00:00:00.000", - "ECommerce.orderId": "CA-2017-102379", - "ECommerce.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", - "ECommerce.profit": "44.9750", - "ECommerce.quantity": "5", - "ECommerce.rowId": "6272", - "ECommerce.sales": "179.900", - "ECommerce.subCategory": "Art", + "SUM(ECommerce.count)": "1", + "city": "Philadelphia", + "order": 7498.344, + "orderData": 2020-04-10T00:00:00.000Z, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Baltimore", - "ECommerce.customerId": "AJ-10780", - "ECommerce.customerName": "Customer 2", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-05-14T00:00:00.000", - "ECommerce.orderId": "US-2017-133361", - "ECommerce.productName": "OIC #2 Pencils, Medium Soft", - "ECommerce.profit": "1.0904", - "ECommerce.quantity": "2", - "ECommerce.rowId": "6459", - "ECommerce.sales": "3.760", - "ECommerce.subCategory": "Art", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 7498.344, + "orderData": 2020-04-10T00:00:00.000Z, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Arlington", - "ECommerce.customerId": "BF-11020", - "ECommerce.customerName": "Customer 6", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-09-08T00:00:00.000", - "ECommerce.orderId": "US-2017-124779", - "ECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", - "ECommerce.profit": "15.4980", - "ECommerce.quantity": "5", - "ECommerce.rowId": "6651", - "ECommerce.sales": "45.920", - "ECommerce.subCategory": "Fasteners", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 7498.344, + "orderData": null, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Houston", - "ECommerce.customerId": "HK-14890", - "ECommerce.customerName": "Customer 22", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-03-26T00:00:00.000", - "ECommerce.orderId": "US-2017-141677", - "ECommerce.productName": "Canon PC1080F Personal Copier", - "ECommerce.profit": "569.9905", - "ECommerce.quantity": "5", - "ECommerce.rowId": "7174", - "ECommerce.sales": "2399.960", - "ECommerce.subCategory": "Copiers", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 8591, + "orderData": 2020-12-04T00:00:00.000Z, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "LR-16915", - "ECommerce.customerName": "Customer 30", - "ECommerce.discount": "0.5", - "ECommerce.orderDate": "2020-12-04T00:00:00.000", - "ECommerce.orderId": "CA-2017-109183", - "ECommerce.productName": "Okidata C610n Printer", - "ECommerce.profit": "-272.5800", - "ECommerce.quantity": "2", - "ECommerce.rowId": "7293", - "ECommerce.sales": "649.000", - "ECommerce.subCategory": "Machines", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 8591, + "orderData": 2020-12-04T00:00:00.000Z, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "New York City", - "ECommerce.customerId": "MM-18280", - "ECommerce.customerName": "Customer 34", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-06-10T00:00:00.000", - "ECommerce.orderId": "CA-2017-112172", - "ECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", - "ECommerce.profit": "0.7065", - "ECommerce.quantity": "3", - "ECommerce.rowId": "7310", - "ECommerce.sales": "14.130", - "ECommerce.subCategory": "Fasteners", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 8591, + "orderData": null, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Philadelphia", - "ECommerce.customerId": "BS-11755", - "ECommerce.customerName": "Customer 10", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-04-10T00:00:00.000", - "ECommerce.orderId": "CA-2017-135069", - "ECommerce.productName": "Linden 10 Round Wall Clock, Black", - "ECommerce.profit": "6.4176", - "ECommerce.quantity": "3", - "ECommerce.rowId": "7425", - "ECommerce.sales": "36.672", - "ECommerce.subCategory": "Furnishings", + "SUM(ECommerce.count)": "1", + "city": "Dallas", + "order": 8682.12, + "orderData": 2020-11-06T00:00:00.000Z, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "BF-11170", - "ECommerce.customerName": "Customer 7", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-12-14T00:00:00.000", - "ECommerce.orderId": "CA-2017-151799", - "ECommerce.productName": "Canon PC1080F Personal Copier", - "ECommerce.profit": "467.9922", - "ECommerce.quantity": "2", - "ECommerce.rowId": "7698", - "ECommerce.sales": "1199.980", - "ECommerce.subCategory": "Copiers", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 8682.12, + "orderData": 2020-11-06T00:00:00.000Z, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Lakewood", - "ECommerce.customerId": "NP-18670", - "ECommerce.customerName": "Customer 35", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-10-12T00:00:00.000", - "ECommerce.orderId": "CA-2017-150091", - "ECommerce.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", - "ECommerce.profit": "129.2940", - "ECommerce.quantity": "5", - "ECommerce.rowId": "8425", - "ECommerce.sales": "2154.900", - "ECommerce.subCategory": "Bookcases", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 8682.12, + "orderData": null, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Dallas", - "ECommerce.customerId": "LC-17050", - "ECommerce.customerName": "Customer 29", - "ECommerce.discount": "0.6", - "ECommerce.orderDate": "2020-11-06T00:00:00.000", - "ECommerce.orderId": "US-2017-119319", - "ECommerce.productName": "Linden 10 Round Wall Clock, Black", - "ECommerce.profit": "-19.8640", - "ECommerce.quantity": "5", - "ECommerce.rowId": "8621", - "ECommerce.sales": "30.560", - "ECommerce.subCategory": "Furnishings", + "SUM(ECommerce.count)": "1", + "city": "Decatur", + "order": 8709.736, + "orderData": 2020-02-16T00:00:00.000Z, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Decatur", - "ECommerce.customerId": "JS-16030", - "ECommerce.customerName": "Customer 25", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-02-16T00:00:00.000", - "ECommerce.orderId": "CA-2017-163265", - "ECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", - "ECommerce.profit": "6.1992", - "ECommerce.quantity": "2", - "ECommerce.rowId": "8673", - "ECommerce.sales": "18.368", - "ECommerce.subCategory": "Fasteners", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 8709.736, + "orderData": 2020-02-16T00:00:00.000Z, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "TS-21205", - "ECommerce.customerName": "Customer 40", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-06-15T00:00:00.000", - "ECommerce.orderId": "CA-2017-119284", - "ECommerce.productName": "HTC One", - "ECommerce.profit": "26.9973", - "ECommerce.quantity": "3", - "ECommerce.rowId": "8697", - "ECommerce.sales": "239.976", - "ECommerce.subCategory": "Phones", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 8709.736, + "orderData": null, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Morristown", - "ECommerce.customerId": "GZ-14470", - "ECommerce.customerName": "Customer 20", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-09-17T00:00:00.000", - "ECommerce.orderId": "CA-2017-126928", - "ECommerce.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", - "ECommerce.profit": "225.6000", - "ECommerce.quantity": "4", - "ECommerce.rowId": "8878", - "ECommerce.sales": "480.000", - "ECommerce.subCategory": "Machines", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 9176.952, + "orderData": 2020-06-15T00:00:00.000Z, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "JH-15430", - "ECommerce.customerName": "Customer 23", - "ECommerce.discount": "0.5", - "ECommerce.orderDate": "2020-12-25T00:00:00.000", - "ECommerce.orderId": "CA-2017-105620", - "ECommerce.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", - "ECommerce.profit": "-7.2000", - "ECommerce.quantity": "2", - "ECommerce.rowId": "8958", - "ECommerce.sales": "120.000", - "ECommerce.subCategory": "Machines", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 9176.952, + "orderData": 2020-06-15T00:00:00.000Z, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "New York City", - "ECommerce.customerId": "CD-12280", - "ECommerce.customerName": "Customer 13", - "ECommerce.discount": "0.1", - "ECommerce.orderDate": "2020-11-05T00:00:00.000", - "ECommerce.orderId": "CA-2017-102925", - "ECommerce.productName": "Harbour Creations 67200 Series Stacking Chairs", - "ECommerce.profit": "24.2012", - "ECommerce.quantity": "2", - "ECommerce.rowId": "9473", - "ECommerce.sales": "128.124", - "ECommerce.subCategory": "Chairs", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 9176.952, + "orderData": null, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "New York City", - "ECommerce.customerId": "SB-20185", - "ECommerce.customerName": "Customer 37", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-06-25T00:00:00.000", - "ECommerce.orderId": "CA-2017-116127", - "ECommerce.productName": "DMI Eclipse Executive Suite Bookcases", - "ECommerce.profit": "-5.0098", - "ECommerce.quantity": "1", - "ECommerce.rowId": "9584", - "ECommerce.sales": "400.784", - "ECommerce.subCategory": "Bookcases", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 9198, + "orderData": 2020-12-25T00:00:00.000Z, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "BS-11380", - "ECommerce.customerName": "Customer 9", - "ECommerce.discount": "0.4", - "ECommerce.orderDate": "2020-11-16T00:00:00.000", - "ECommerce.orderId": "CA-2017-160633", - "ECommerce.productName": "Hewlett Packard 610 Color Digital Copier / Printer", - "ECommerce.profit": "74.9985", - "ECommerce.quantity": "3", - "ECommerce.rowId": "9618", - "ECommerce.sales": "899.982", - "ECommerce.subCategory": "Copiers", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 9198, + "orderData": 2020-12-25T00:00:00.000Z, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Bowling", - "ECommerce.customerId": "BS-11380", - "ECommerce.customerName": "Customer 9", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-11-16T00:00:00.000", - "ECommerce.orderId": "CA-2017-160633", - "ECommerce.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", - "ECommerce.profit": "5.3970", - "ECommerce.quantity": "3", - "ECommerce.rowId": "9619", - "ECommerce.sales": "86.352", - "ECommerce.subCategory": "Art", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 9198, + "orderData": null, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying ECommerce: dimensions + total 1`] = ` -Array [ Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Detroit", - "ECommerce.customerId": "MC-17605", - "ECommerce.customerName": "Customer 31", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-01-23T00:00:00.000", - "ECommerce.orderId": "CA-2017-145142", - "ECommerce.productName": "Balt Solid Wood Rectangular Table", - "ECommerce.profit": "21.0980", - "ECommerce.quantity": "2", - "ECommerce.rowId": "523", - "ECommerce.sales": "210.980", - "ECommerce.subCategory": "Tables", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 9381.82, + "orderData": 2020-11-02T00:00:00.000Z, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Lorain", - "ECommerce.customerId": "GA-14725", - "ECommerce.customerName": "Customer 19", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderId": "CA-2017-107503", - "ECommerce.productName": "Linden 10 Round Wall Clock, Black", - "ECommerce.profit": "8.5568", - "ECommerce.quantity": "4", - "ECommerce.rowId": "849", - "ECommerce.sales": "48.896", - "ECommerce.subCategory": "Furnishings", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 9381.82, + "orderData": 2020-11-02T00:00:00.000Z, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Olympia", - "ECommerce.customerId": "PF-19165", - "ECommerce.customerName": "Customer 36", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-06-17T00:00:00.000", - "ECommerce.orderId": "CA-2017-118437", - "ECommerce.productName": "Project Tote Personal File", - "ECommerce.profit": "4.0687", - "ECommerce.quantity": "1", - "ECommerce.rowId": "1013", - "ECommerce.sales": "14.030", - "ECommerce.subCategory": "Storage", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 9381.82, + "orderData": null, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Vancouver", - "ECommerce.customerId": "JW-15220", - "ECommerce.customerName": "Customer 26", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-10-30T00:00:00.000", - "ECommerce.orderId": "CA-2017-139661", - "ECommerce.productName": "Magna Visual Magnetic Picture Hangers", - "ECommerce.profit": "3.6632", - "ECommerce.quantity": "2", - "ECommerce.rowId": "1494", - "ECommerce.sales": "9.640", - "ECommerce.subCategory": "Furnishings", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": 9729.248, + "orderData": 2020-11-05T00:00:00.000Z, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "ML-17755", - "ECommerce.customerName": "Customer 33", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-06-25T00:00:00.000", - "ECommerce.orderId": "CA-2017-133648", - "ECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", - "ECommerce.profit": "-2.1195", - "ECommerce.quantity": "3", - "ECommerce.rowId": "1995", - "ECommerce.sales": "11.304", - "ECommerce.subCategory": "Fasteners", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 9729.248, + "orderData": 2020-11-05T00:00:00.000Z, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "KN-16705", - "ECommerce.customerName": "Customer 28", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-09-23T00:00:00.000", - "ECommerce.orderId": "CA-2017-138422", - "ECommerce.productName": "Wausau Papers Astrobrights Colored Envelopes", - "ECommerce.profit": "5.2026", - "ECommerce.quantity": "3", - "ECommerce.rowId": "2329", - "ECommerce.sales": "14.352", - "ECommerce.subCategory": "Envelopes", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 9729.248, + "orderData": null, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "New York City", - "ECommerce.customerId": "DB-13405", - "ECommerce.customerName": "Customer 15", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-03-17T00:00:00.000", - "ECommerce.orderId": "CA-2017-140949", - "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.2", - "ECommerce.profit": "13.6040", - "ECommerce.quantity": "8", - "ECommerce.rowId": "2455", - "ECommerce.sales": "71.600", - "ECommerce.subCategory": "Accessories", + "SUM(ECommerce.count)": "1", + "city": "Bowling", + "order": 9791.704, + "orderData": 2020-11-16T00:00:00.000Z, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "BM-11650", - "ECommerce.customerName": "Customer 8", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-05-13T00:00:00.000", - "ECommerce.orderId": "CA-2017-149048", - "ECommerce.productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", - "ECommerce.profit": "81.4320", - "ECommerce.quantity": "2", - "ECommerce.rowId": "2595", - "ECommerce.sales": "180.960", - "ECommerce.subCategory": "Envelopes", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 9791.704, + "orderData": 2020-11-16T00:00:00.000Z, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Provo", - "ECommerce.customerId": "AS-10225", - "ECommerce.customerName": "Customer 3", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-09-17T00:00:00.000", - "ECommerce.orderId": "CA-2017-112515", - "ECommerce.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", - "ECommerce.profit": "77.5764", - "ECommerce.quantity": "3", - "ECommerce.rowId": "2655", - "ECommerce.sales": "1292.940", - "ECommerce.subCategory": "Bookcases", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 9791.704, + "orderData": null, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "DG-13300", - "ECommerce.customerName": "Customer 16", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-11-28T00:00:00.000", - "ECommerce.orderId": "CA-2017-123372", - "ECommerce.productName": "Google Nexus 5", - "ECommerce.profit": "494.9725", - "ECommerce.quantity": "11", - "ECommerce.rowId": "2661", - "ECommerce.sales": "1979.890", - "ECommerce.subCategory": "Phones", + "SUM(ECommerce.count)": "1", + "city": "Morristown", + "order": 9838, + "orderData": 2020-09-17T00:00:00.000Z, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Glendale", - "ECommerce.customerId": "EM-14140", - "ECommerce.customerName": "Customer 18", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-11-12T00:00:00.000", - "ECommerce.orderId": "CA-2017-134915", - "ECommerce.productName": "Harbour Creations 67200 Series Stacking Chairs", - "ECommerce.profit": "9.9652", - "ECommerce.quantity": "2", - "ECommerce.rowId": "2952", - "ECommerce.sales": "113.888", - "ECommerce.subCategory": "Chairs", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 9838, + "orderData": 2020-09-17T00:00:00.000Z, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "San Francisco", - "ECommerce.customerId": "HH-15010", - "ECommerce.customerName": "Customer 21", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-10-19T00:00:00.000", - "ECommerce.orderId": "CA-2017-131492", - "ECommerce.productName": "Linden 10 Round Wall Clock, Black", - "ECommerce.profit": "10.3904", - "ECommerce.quantity": "2", - "ECommerce.rowId": "3059", - "ECommerce.sales": "30.560", - "ECommerce.subCategory": "Furnishings", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 9838, + "orderData": null, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "San Francisco", - "ECommerce.customerId": "HH-15010", - "ECommerce.customerName": "Customer 21", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-10-19T00:00:00.000", - "ECommerce.orderId": "CA-2017-131492", - "ECommerce.productName": "Anderson Hickey Conga Table Tops & Accessories", - "ECommerce.profit": "-3.3506", - "ECommerce.quantity": "2", - "ECommerce.rowId": "3060", - "ECommerce.sales": "24.368", - "ECommerce.subCategory": "Tables", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 10097.96, + "orderData": 2020-12-14T00:00:00.000Z, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Louisville", - "ECommerce.customerId": "DW-13480", - "ECommerce.customerName": "Customer 17", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-05-27T00:00:00.000", - "ECommerce.orderId": "US-2017-132297", - "ECommerce.productName": "Google Nexus 6", - "ECommerce.profit": "134.9925", - "ECommerce.quantity": "3", - "ECommerce.rowId": "3083", - "ECommerce.sales": "539.970", - "ECommerce.subCategory": "Phones", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 10097.96, + "orderData": 2020-12-14T00:00:00.000Z, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Auburn", - "ECommerce.customerId": "KN-16705", - "ECommerce.customerName": "Customer 28", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-06-11T00:00:00.000", - "ECommerce.orderId": "CA-2017-102554", - "ECommerce.productName": "OIC #2 Pencils, Medium Soft", - "ECommerce.profit": "1.0904", - "ECommerce.quantity": "2", - "ECommerce.rowId": "3448", - "ECommerce.sales": "3.760", - "ECommerce.subCategory": "Art", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 10097.96, + "orderData": null, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Omaha", - "ECommerce.customerId": "JO-15550", - "ECommerce.customerName": "Customer 24", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-05-29T00:00:00.000", - "ECommerce.orderId": "CA-2017-144568", - "ECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", - "ECommerce.profit": "1.1775", - "ECommerce.quantity": "5", - "ECommerce.rowId": "3717", - "ECommerce.sales": "23.550", - "ECommerce.subCategory": "Fasteners", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": 10385.568, + "orderData": 2020-06-25T00:00:00.000Z, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Bakersfield", - "ECommerce.customerId": "AW-10840", - "ECommerce.customerName": "Customer 4", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-09-02T00:00:00.000", - "ECommerce.orderId": "CA-2017-123001", - "ECommerce.productName": "OIC #2 Pencils, Medium Soft", - "ECommerce.profit": "2.7260", - "ECommerce.quantity": "5", - "ECommerce.rowId": "3934", - "ECommerce.sales": "9.400", - "ECommerce.subCategory": "Art", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 10385.568, + "orderData": 2020-06-25T00:00:00.000Z, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Philadelphia", - "ECommerce.customerId": "CC-12475", - "ECommerce.customerName": "Customer 12", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-11-21T00:00:00.000", - "ECommerce.orderId": "CA-2017-100811", - "ECommerce.productName": "Recycled Eldon Regeneration Jumbo File", - "ECommerce.profit": "3.9296", - "ECommerce.quantity": "4", - "ECommerce.rowId": "4012", - "ECommerce.sales": "39.296", - "ECommerce.subCategory": "Storage", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 10385.568, + "orderData": null, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Lafayette", - "ECommerce.customerId": "CS-12355", - "ECommerce.customerName": "Customer 14", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-12-24T00:00:00.000", - "ECommerce.orderId": "CA-2017-124296", - "ECommerce.productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", - "ECommerce.profit": "60.5488", - "ECommerce.quantity": "4", - "ECommerce.rowId": "4031", - "ECommerce.sales": "232.880", - "ECommerce.subCategory": "Chairs", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 11417.964, + "orderData": 2020-11-16T00:00:00.000Z, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "New York City", - "ECommerce.customerId": "AH-10465", - "ECommerce.customerName": "Customer 1", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-05-14T00:00:00.000", - "ECommerce.orderId": "CA-2017-115546", - "ECommerce.productName": "Google Nexus 7", - "ECommerce.profit": "134.9925", - "ECommerce.quantity": "3", - "ECommerce.rowId": "4161", - "ECommerce.sales": "539.970", - "ECommerce.subCategory": "Phones", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 11417.964, + "orderData": 2020-11-16T00:00:00.000Z, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "WB-21850", - "ECommerce.customerName": "Customer 41", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-11-11T00:00:00.000", - "ECommerce.orderId": "CA-2017-120327", - "ECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", - "ECommerce.profit": "21.5824", - "ECommerce.quantity": "4", - "ECommerce.rowId": "4227", - "ECommerce.sales": "45.920", - "ECommerce.subCategory": "Fasteners", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 11417.964, + "orderData": null, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "TB-21175", - "ECommerce.customerName": "Customer 39", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-11-02T00:00:00.000", - "ECommerce.orderId": "CA-2017-143567", - "ECommerce.productName": "Logitech di_Novo Edge Keyboard", - "ECommerce.profit": "517.4793", - "ECommerce.quantity": "9", - "ECommerce.rowId": "4882", - "ECommerce.sales": "2249.910", - "ECommerce.subCategory": "Accessories", + "SUM(ECommerce.count)": "1", + "city": "Houston", + "order": 11973.92, + "orderData": 2020-03-26T00:00:00.000Z, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Detroit", - "ECommerce.customerId": "CA-12775", - "ECommerce.customerName": "Customer 11", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-09-01T00:00:00.000", - "ECommerce.orderId": "CA-2017-145653", - "ECommerce.productName": "Harbour Creations 67200 Series Stacking Chairs", - "ECommerce.profit": "134.5302", - "ECommerce.quantity": "7", - "ECommerce.rowId": "5220", - "ECommerce.sales": "498.260", - "ECommerce.subCategory": "Chairs", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 11973.92, + "orderData": 2020-03-26T00:00:00.000Z, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "KL-16555", - "ECommerce.customerName": "Customer 27", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-12-14T00:00:00.000", - "ECommerce.orderId": "CA-2017-147333", - "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.0", - "ECommerce.profit": "8.5025", - "ECommerce.quantity": "5", - "ECommerce.rowId": "5277", - "ECommerce.sales": "44.750", - "ECommerce.subCategory": "Accessories", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 11973.92, + "orderData": null, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Los Angeles", - "ECommerce.customerId": "SS-20140", - "ECommerce.customerName": "Customer 38", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-06-03T00:00:00.000", - "ECommerce.orderId": "CA-2017-145772", - "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.1", - "ECommerce.profit": "8.5025", - "ECommerce.quantity": "5", - "ECommerce.rowId": "6125", - "ECommerce.sales": "44.750", - "ECommerce.subCategory": "Accessories", + "SUM(ECommerce.count)": "1", + "city": "Lakewood", + "order": 12734.8, + "orderData": 2020-10-12T00:00:00.000Z, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Marion", - "ECommerce.customerId": "MG-17650", - "ECommerce.customerName": "Customer 32", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-12-01T00:00:00.000", - "ECommerce.orderId": "CA-2017-145660", - "ECommerce.productName": "Magna Visual Magnetic Picture Hangers", - "ECommerce.profit": "1.7352", - "ECommerce.quantity": "2", - "ECommerce.rowId": "6205", - "ECommerce.sales": "7.712", - "ECommerce.subCategory": "Furnishings", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 12734.8, + "orderData": 2020-10-12T00:00:00.000Z, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Oakland", - "ECommerce.customerId": "BB-11545", - "ECommerce.customerName": "Customer 5", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-12-02T00:00:00.000", - "ECommerce.orderId": "CA-2017-102379", - "ECommerce.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", - "ECommerce.profit": "44.9750", - "ECommerce.quantity": "5", - "ECommerce.rowId": "6272", - "ECommerce.sales": "179.900", - "ECommerce.subCategory": "Art", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 12734.8, + "orderData": null, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Baltimore", - "ECommerce.customerId": "AJ-10780", - "ECommerce.customerName": "Customer 2", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-05-14T00:00:00.000", - "ECommerce.orderId": "US-2017-133361", - "ECommerce.productName": "OIC #2 Pencils, Medium Soft", - "ECommerce.profit": "1.0904", - "ECommerce.quantity": "2", - "ECommerce.rowId": "6459", - "ECommerce.sales": "3.760", - "ECommerce.subCategory": "Art", + "SUM(ECommerce.count)": "44", + "city": null, + "order": null, + "orderData": null, }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver SQL API: Rollup with aliases: rollup_with_aliases 1`] = ` +Array [ Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Arlington", - "ECommerce.customerId": "BF-11020", - "ECommerce.customerName": "Customer 6", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-09-08T00:00:00.000", - "ECommerce.orderId": "US-2017-124779", - "ECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", - "ECommerce.profit": "15.4980", - "ECommerce.quantity": "5", - "ECommerce.rowId": "6651", - "ECommerce.sales": "45.920", - "ECommerce.subCategory": "Fasteners", + "SUM(ECommerce.count)": "1", + "city": "Detroit", + "order": "CA-2017-145142", + "orderData": 2020-01-23T00:00:00.000Z, + "row": 523, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Houston", - "ECommerce.customerId": "HK-14890", - "ECommerce.customerName": "Customer 22", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-03-26T00:00:00.000", - "ECommerce.orderId": "US-2017-141677", - "ECommerce.productName": "Canon PC1080F Personal Copier", - "ECommerce.profit": "569.9905", - "ECommerce.quantity": "5", - "ECommerce.rowId": "7174", - "ECommerce.sales": "2399.960", - "ECommerce.subCategory": "Copiers", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-145142", + "orderData": 2020-01-23T00:00:00.000Z, + "row": 523, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "LR-16915", - "ECommerce.customerName": "Customer 30", - "ECommerce.discount": "0.5", - "ECommerce.orderDate": "2020-12-04T00:00:00.000", - "ECommerce.orderId": "CA-2017-109183", - "ECommerce.productName": "Okidata C610n Printer", - "ECommerce.profit": "-272.5800", - "ECommerce.quantity": "2", - "ECommerce.rowId": "7293", - "ECommerce.sales": "649.000", - "ECommerce.subCategory": "Machines", + "SUM(ECommerce.count)": "1", + "city": "Detroit", + "order": null, + "orderData": 2020-01-23T00:00:00.000Z, + "row": 523, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "New York City", - "ECommerce.customerId": "MM-18280", - "ECommerce.customerName": "Customer 34", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-06-10T00:00:00.000", - "ECommerce.orderId": "CA-2017-112172", - "ECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", - "ECommerce.profit": "0.7065", - "ECommerce.quantity": "3", - "ECommerce.rowId": "7310", - "ECommerce.sales": "14.130", - "ECommerce.subCategory": "Fasteners", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-01-23T00:00:00.000Z, + "row": 523, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Philadelphia", - "ECommerce.customerId": "BS-11755", - "ECommerce.customerName": "Customer 10", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-04-10T00:00:00.000", - "ECommerce.orderId": "CA-2017-135069", - "ECommerce.productName": "Linden 10 Round Wall Clock, Black", - "ECommerce.profit": "6.4176", - "ECommerce.quantity": "3", - "ECommerce.rowId": "7425", - "ECommerce.sales": "36.672", - "ECommerce.subCategory": "Furnishings", + "SUM(ECommerce.count)": "1", + "city": "Lorain", + "order": "CA-2017-107503", + "orderData": 2020-01-01T00:00:00.000Z, + "row": 849, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "BF-11170", - "ECommerce.customerName": "Customer 7", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-12-14T00:00:00.000", - "ECommerce.orderId": "CA-2017-151799", - "ECommerce.productName": "Canon PC1080F Personal Copier", - "ECommerce.profit": "467.9922", - "ECommerce.quantity": "2", - "ECommerce.rowId": "7698", - "ECommerce.sales": "1199.980", - "ECommerce.subCategory": "Copiers", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-107503", + "orderData": 2020-01-01T00:00:00.000Z, + "row": 849, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Lakewood", - "ECommerce.customerId": "NP-18670", - "ECommerce.customerName": "Customer 35", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-10-12T00:00:00.000", - "ECommerce.orderId": "CA-2017-150091", - "ECommerce.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", - "ECommerce.profit": "129.2940", - "ECommerce.quantity": "5", - "ECommerce.rowId": "8425", - "ECommerce.sales": "2154.900", - "ECommerce.subCategory": "Bookcases", + "SUM(ECommerce.count)": "1", + "city": "Lorain", + "order": null, + "orderData": 2020-01-01T00:00:00.000Z, + "row": 849, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Dallas", - "ECommerce.customerId": "LC-17050", - "ECommerce.customerName": "Customer 29", - "ECommerce.discount": "0.6", - "ECommerce.orderDate": "2020-11-06T00:00:00.000", - "ECommerce.orderId": "US-2017-119319", - "ECommerce.productName": "Linden 10 Round Wall Clock, Black", - "ECommerce.profit": "-19.8640", - "ECommerce.quantity": "5", - "ECommerce.rowId": "8621", - "ECommerce.sales": "30.560", - "ECommerce.subCategory": "Furnishings", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-01-01T00:00:00.000Z, + "row": 849, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Decatur", - "ECommerce.customerId": "JS-16030", - "ECommerce.customerName": "Customer 25", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-02-16T00:00:00.000", - "ECommerce.orderId": "CA-2017-163265", - "ECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", - "ECommerce.profit": "6.1992", - "ECommerce.quantity": "2", - "ECommerce.rowId": "8673", - "ECommerce.sales": "18.368", - "ECommerce.subCategory": "Fasteners", + "SUM(ECommerce.count)": "1", + "city": "Olympia", + "order": "CA-2017-118437", + "orderData": 2020-06-17T00:00:00.000Z, + "row": 1013, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "TS-21205", - "ECommerce.customerName": "Customer 40", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-06-15T00:00:00.000", - "ECommerce.orderId": "CA-2017-119284", - "ECommerce.productName": "HTC One", - "ECommerce.profit": "26.9973", - "ECommerce.quantity": "3", - "ECommerce.rowId": "8697", - "ECommerce.sales": "239.976", - "ECommerce.subCategory": "Phones", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-118437", + "orderData": 2020-06-17T00:00:00.000Z, + "row": 1013, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Morristown", - "ECommerce.customerId": "GZ-14470", - "ECommerce.customerName": "Customer 20", - "ECommerce.discount": "0.0", - "ECommerce.orderDate": "2020-09-17T00:00:00.000", - "ECommerce.orderId": "CA-2017-126928", - "ECommerce.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", - "ECommerce.profit": "225.6000", - "ECommerce.quantity": "4", - "ECommerce.rowId": "8878", - "ECommerce.sales": "480.000", - "ECommerce.subCategory": "Machines", + "SUM(ECommerce.count)": "1", + "city": "Olympia", + "order": null, + "orderData": 2020-06-17T00:00:00.000Z, + "row": 1013, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "JH-15430", - "ECommerce.customerName": "Customer 23", - "ECommerce.discount": "0.5", - "ECommerce.orderDate": "2020-12-25T00:00:00.000", - "ECommerce.orderId": "CA-2017-105620", - "ECommerce.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", - "ECommerce.profit": "-7.2000", - "ECommerce.quantity": "2", - "ECommerce.rowId": "8958", - "ECommerce.sales": "120.000", - "ECommerce.subCategory": "Machines", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-06-17T00:00:00.000Z, + "row": 1013, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "New York City", - "ECommerce.customerId": "CD-12280", - "ECommerce.customerName": "Customer 13", - "ECommerce.discount": "0.1", - "ECommerce.orderDate": "2020-11-05T00:00:00.000", - "ECommerce.orderId": "CA-2017-102925", - "ECommerce.productName": "Harbour Creations 67200 Series Stacking Chairs", - "ECommerce.profit": "24.2012", - "ECommerce.quantity": "2", - "ECommerce.rowId": "9473", - "ECommerce.sales": "128.124", - "ECommerce.subCategory": "Chairs", + "SUM(ECommerce.count)": "1", + "city": "Vancouver", + "order": "CA-2017-139661", + "orderData": 2020-10-30T00:00:00.000Z, + "row": 1494, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "New York City", - "ECommerce.customerId": "SB-20185", - "ECommerce.customerName": "Customer 37", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-06-25T00:00:00.000", - "ECommerce.orderId": "CA-2017-116127", - "ECommerce.productName": "DMI Eclipse Executive Suite Bookcases", - "ECommerce.profit": "-5.0098", - "ECommerce.quantity": "1", - "ECommerce.rowId": "9584", - "ECommerce.sales": "400.784", - "ECommerce.subCategory": "Bookcases", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-139661", + "orderData": 2020-10-30T00:00:00.000Z, + "row": 1494, }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "BS-11380", - "ECommerce.customerName": "Customer 9", - "ECommerce.discount": "0.4", - "ECommerce.orderDate": "2020-11-16T00:00:00.000", - "ECommerce.orderId": "CA-2017-160633", - "ECommerce.productName": "Hewlett Packard 610 Color Digital Copier / Printer", - "ECommerce.profit": "74.9985", - "ECommerce.quantity": "3", - "ECommerce.rowId": "9618", - "ECommerce.sales": "899.982", - "ECommerce.subCategory": "Copiers", + "SUM(ECommerce.count)": "1", + "city": "Vancouver", + "order": null, + "orderData": 2020-10-30T00:00:00.000Z, + "row": 1494, }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Bowling", - "ECommerce.customerId": "BS-11380", - "ECommerce.customerName": "Customer 9", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-11-16T00:00:00.000", - "ECommerce.orderId": "CA-2017-160633", - "ECommerce.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", - "ECommerce.profit": "5.3970", - "ECommerce.quantity": "3", - "ECommerce.rowId": "9619", - "ECommerce.sales": "86.352", - "ECommerce.subCategory": "Art", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-10-30T00:00:00.000Z, + "row": 1494, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying ECommerce: partitioned pre-agg 1`] = ` -Array [ Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-01-01T00:00:00.000", - "ECommerce.productName": "Balt Solid Wood Rectangular Table", - "ECommerce.totalQuantity": "2", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-133648", + "orderData": 2020-06-25T00:00:00.000Z, + "row": 1995, }, Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-01-01T00:00:00.000", - "ECommerce.productName": "Linden 10 Round Wall Clock, Black", - "ECommerce.totalQuantity": "4", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-133648", + "orderData": 2020-06-25T00:00:00.000Z, + "row": 1995, }, Object { - "ECommerce.orderDate": "2020-02-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-02-01T00:00:00.000", - "ECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", - "ECommerce.totalQuantity": "2", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-06-25T00:00:00.000Z, + "row": 1995, }, Object { - "ECommerce.orderDate": "2020-03-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-03-01T00:00:00.000", - "ECommerce.productName": "Canon PC1080F Personal Copier", - "ECommerce.totalQuantity": "5", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-06-25T00:00:00.000Z, + "row": 1995, }, Object { - "ECommerce.orderDate": "2020-03-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-03-01T00:00:00.000", - "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.2", - "ECommerce.totalQuantity": "8", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-138422", + "orderData": 2020-09-23T00:00:00.000Z, + "row": 2329, }, Object { - "ECommerce.orderDate": "2020-04-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-04-01T00:00:00.000", - "ECommerce.productName": "Linden 10 Round Wall Clock, Black", - "ECommerce.totalQuantity": "3", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-138422", + "orderData": 2020-09-23T00:00:00.000Z, + "row": 2329, }, Object { - "ECommerce.orderDate": "2020-05-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-05-01T00:00:00.000", - "ECommerce.productName": "Google Nexus 6", - "ECommerce.totalQuantity": "3", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-09-23T00:00:00.000Z, + "row": 2329, }, Object { - "ECommerce.orderDate": "2020-05-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-05-01T00:00:00.000", - "ECommerce.productName": "Google Nexus 7", - "ECommerce.totalQuantity": "3", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-09-23T00:00:00.000Z, + "row": 2329, }, Object { - "ECommerce.orderDate": "2020-05-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-05-01T00:00:00.000", - "ECommerce.productName": "OIC #2 Pencils, Medium Soft", - "ECommerce.totalQuantity": "2", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": "CA-2017-140949", + "orderData": 2020-03-17T00:00:00.000Z, + "row": 2455, }, Object { - "ECommerce.orderDate": "2020-05-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-05-01T00:00:00.000", - "ECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", - "ECommerce.totalQuantity": "5", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-140949", + "orderData": 2020-03-17T00:00:00.000Z, + "row": 2455, }, Object { - "ECommerce.orderDate": "2020-05-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-05-01T00:00:00.000", - "ECommerce.productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", - "ECommerce.totalQuantity": "2", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": null, + "orderData": 2020-03-17T00:00:00.000Z, + "row": 2455, }, Object { - "ECommerce.orderDate": "2020-06-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-06-01T00:00:00.000", - "ECommerce.productName": "DMI Eclipse Executive Suite Bookcases", - "ECommerce.totalQuantity": "1", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-03-17T00:00:00.000Z, + "row": 2455, }, Object { - "ECommerce.orderDate": "2020-06-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-06-01T00:00:00.000", - "ECommerce.productName": "HTC One", - "ECommerce.totalQuantity": "3", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-149048", + "orderData": 2020-05-13T00:00:00.000Z, + "row": 2595, }, Object { - "ECommerce.orderDate": "2020-06-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-06-01T00:00:00.000", - "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.1", - "ECommerce.totalQuantity": "5", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-149048", + "orderData": 2020-05-13T00:00:00.000Z, + "row": 2595, }, Object { - "ECommerce.orderDate": "2020-06-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-06-01T00:00:00.000", - "ECommerce.productName": "OIC #2 Pencils, Medium Soft", - "ECommerce.totalQuantity": "2", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-05-13T00:00:00.000Z, + "row": 2595, }, Object { - "ECommerce.orderDate": "2020-06-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-06-01T00:00:00.000", - "ECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", - "ECommerce.totalQuantity": "6", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-05-13T00:00:00.000Z, + "row": 2595, }, Object { - "ECommerce.orderDate": "2020-06-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-06-01T00:00:00.000", - "ECommerce.productName": "Project Tote Personal File", - "ECommerce.totalQuantity": "1", + "SUM(ECommerce.count)": "1", + "city": "Provo", + "order": "CA-2017-112515", + "orderData": 2020-09-17T00:00:00.000Z, + "row": 2655, }, Object { - "ECommerce.orderDate": "2020-09-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-09-01T00:00:00.000", - "ECommerce.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", - "ECommerce.totalQuantity": "3", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-112515", + "orderData": 2020-09-17T00:00:00.000Z, + "row": 2655, }, Object { - "ECommerce.orderDate": "2020-09-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-09-01T00:00:00.000", - "ECommerce.productName": "Harbour Creations 67200 Series Stacking Chairs", - "ECommerce.totalQuantity": "7", + "SUM(ECommerce.count)": "1", + "city": "Provo", + "order": null, + "orderData": 2020-09-17T00:00:00.000Z, + "row": 2655, }, Object { - "ECommerce.orderDate": "2020-09-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-09-01T00:00:00.000", - "ECommerce.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", - "ECommerce.totalQuantity": "4", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-09-17T00:00:00.000Z, + "row": 2655, }, Object { - "ECommerce.orderDate": "2020-09-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-09-01T00:00:00.000", - "ECommerce.productName": "OIC #2 Pencils, Medium Soft", - "ECommerce.totalQuantity": "5", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-123372", + "orderData": 2020-11-28T00:00:00.000Z, + "row": 2661, }, Object { - "ECommerce.orderDate": "2020-09-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-09-01T00:00:00.000", - "ECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", - "ECommerce.totalQuantity": "5", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-123372", + "orderData": 2020-11-28T00:00:00.000Z, + "row": 2661, }, Object { - "ECommerce.orderDate": "2020-09-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-09-01T00:00:00.000", - "ECommerce.productName": "Wausau Papers Astrobrights Colored Envelopes", - "ECommerce.totalQuantity": "3", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-11-28T00:00:00.000Z, + "row": 2661, }, Object { - "ECommerce.orderDate": "2020-10-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-10-01T00:00:00.000", - "ECommerce.productName": "Anderson Hickey Conga Table Tops & Accessories", - "ECommerce.totalQuantity": "2", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-11-28T00:00:00.000Z, + "row": 2661, }, Object { - "ECommerce.orderDate": "2020-10-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-10-01T00:00:00.000", - "ECommerce.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", - "ECommerce.totalQuantity": "5", + "SUM(ECommerce.count)": "1", + "city": "Glendale", + "order": "CA-2017-134915", + "orderData": 2020-11-12T00:00:00.000Z, + "row": 2952, }, Object { - "ECommerce.orderDate": "2020-10-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-10-01T00:00:00.000", - "ECommerce.productName": "Linden 10 Round Wall Clock, Black", - "ECommerce.totalQuantity": "2", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-134915", + "orderData": 2020-11-12T00:00:00.000Z, + "row": 2952, }, Object { - "ECommerce.orderDate": "2020-10-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-10-01T00:00:00.000", - "ECommerce.productName": "Magna Visual Magnetic Picture Hangers", - "ECommerce.totalQuantity": "2", + "SUM(ECommerce.count)": "1", + "city": "Glendale", + "order": null, + "orderData": 2020-11-12T00:00:00.000Z, + "row": 2952, }, Object { - "ECommerce.orderDate": "2020-11-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-11-01T00:00:00.000", - "ECommerce.productName": "Google Nexus 5", - "ECommerce.totalQuantity": "11", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-11-12T00:00:00.000Z, + "row": 2952, }, Object { - "ECommerce.orderDate": "2020-11-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-11-01T00:00:00.000", - "ECommerce.productName": "Harbour Creations 67200 Series Stacking Chairs", - "ECommerce.totalQuantity": "4", + "SUM(ECommerce.count)": "1", + "city": "San Francisco", + "order": "CA-2017-131492", + "orderData": 2020-10-19T00:00:00.000Z, + "row": 3059, }, Object { - "ECommerce.orderDate": "2020-11-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-11-01T00:00:00.000", - "ECommerce.productName": "Hewlett Packard 610 Color Digital Copier / Printer", - "ECommerce.totalQuantity": "3", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-131492", + "orderData": 2020-10-19T00:00:00.000Z, + "row": 3059, }, Object { - "ECommerce.orderDate": "2020-11-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-11-01T00:00:00.000", - "ECommerce.productName": "Linden 10 Round Wall Clock, Black", - "ECommerce.totalQuantity": "5", + "SUM(ECommerce.count)": "1", + "city": "San Francisco", + "order": null, + "orderData": 2020-10-19T00:00:00.000Z, + "row": 3059, }, Object { - "ECommerce.orderDate": "2020-11-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-11-01T00:00:00.000", - "ECommerce.productName": "Logitech di_Novo Edge Keyboard", - "ECommerce.totalQuantity": "9", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-10-19T00:00:00.000Z, + "row": 3059, }, Object { - "ECommerce.orderDate": "2020-11-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-11-01T00:00:00.000", - "ECommerce.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", - "ECommerce.totalQuantity": "3", + "SUM(ECommerce.count)": "1", + "city": "San Francisco", + "order": "CA-2017-131492", + "orderData": 2020-10-19T00:00:00.000Z, + "row": 3060, }, Object { - "ECommerce.orderDate": "2020-11-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-11-01T00:00:00.000", - "ECommerce.productName": "Recycled Eldon Regeneration Jumbo File", - "ECommerce.totalQuantity": "4", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-131492", + "orderData": 2020-10-19T00:00:00.000Z, + "row": 3060, }, Object { - "ECommerce.orderDate": "2020-11-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-11-01T00:00:00.000", - "ECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", - "ECommerce.totalQuantity": "4", + "SUM(ECommerce.count)": "1", + "city": "San Francisco", + "order": null, + "orderData": 2020-10-19T00:00:00.000Z, + "row": 3060, }, Object { - "ECommerce.orderDate": "2020-12-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-12-01T00:00:00.000", - "ECommerce.productName": "Canon PC1080F Personal Copier", - "ECommerce.totalQuantity": "2", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-10-19T00:00:00.000Z, + "row": 3060, }, Object { - "ECommerce.orderDate": "2020-12-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-12-01T00:00:00.000", - "ECommerce.productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", - "ECommerce.totalQuantity": "4", + "SUM(ECommerce.count)": "1", + "city": "Louisville", + "order": "US-2017-132297", + "orderData": 2020-05-27T00:00:00.000Z, + "row": 3083, }, Object { - "ECommerce.orderDate": "2020-12-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-12-01T00:00:00.000", - "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.0", - "ECommerce.totalQuantity": "5", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "US-2017-132297", + "orderData": 2020-05-27T00:00:00.000Z, + "row": 3083, }, Object { - "ECommerce.orderDate": "2020-12-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-12-01T00:00:00.000", - "ECommerce.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", - "ECommerce.totalQuantity": "2", + "SUM(ECommerce.count)": "1", + "city": "Louisville", + "order": null, + "orderData": 2020-05-27T00:00:00.000Z, + "row": 3083, }, Object { - "ECommerce.orderDate": "2020-12-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-12-01T00:00:00.000", - "ECommerce.productName": "Magna Visual Magnetic Picture Hangers", - "ECommerce.totalQuantity": "2", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-05-27T00:00:00.000Z, + "row": 3083, }, Object { - "ECommerce.orderDate": "2020-12-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-12-01T00:00:00.000", - "ECommerce.productName": "Okidata C610n Printer", - "ECommerce.totalQuantity": "2", + "SUM(ECommerce.count)": "1", + "city": "Auburn", + "order": "CA-2017-102554", + "orderData": 2020-06-11T00:00:00.000Z, + "row": 3448, }, Object { - "ECommerce.orderDate": "2020-12-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-12-01T00:00:00.000", - "ECommerce.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", - "ECommerce.totalQuantity": "5", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-102554", + "orderData": 2020-06-11T00:00:00.000Z, + "row": 3448, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying ECommerce: partitioned pre-agg higher granularity 1`] = ` -Array [ Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", - "ECommerce.productName": "Anderson Hickey Conga Table Tops & Accessories", - "ECommerce.totalQuantity": "2", + "SUM(ECommerce.count)": "1", + "city": "Auburn", + "order": null, + "orderData": 2020-06-11T00:00:00.000Z, + "row": 3448, }, Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", - "ECommerce.productName": "Balt Solid Wood Rectangular Table", - "ECommerce.totalQuantity": "2", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-06-11T00:00:00.000Z, + "row": 3448, }, Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", - "ECommerce.productName": "Canon PC1080F Personal Copier", - "ECommerce.totalQuantity": "7", + "SUM(ECommerce.count)": "1", + "city": "Omaha", + "order": "CA-2017-144568", + "orderData": 2020-05-29T00:00:00.000Z, + "row": 3717, }, Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", - "ECommerce.productName": "DMI Eclipse Executive Suite Bookcases", - "ECommerce.totalQuantity": "1", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-144568", + "orderData": 2020-05-29T00:00:00.000Z, + "row": 3717, }, Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", - "ECommerce.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", - "ECommerce.totalQuantity": "8", + "SUM(ECommerce.count)": "1", + "city": "Omaha", + "order": null, + "orderData": 2020-05-29T00:00:00.000Z, + "row": 3717, }, Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", - "ECommerce.productName": "Google Nexus 5", - "ECommerce.totalQuantity": "11", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-05-29T00:00:00.000Z, + "row": 3717, }, Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", - "ECommerce.productName": "Google Nexus 6", - "ECommerce.totalQuantity": "3", + "SUM(ECommerce.count)": "1", + "city": "Bakersfield", + "order": "CA-2017-123001", + "orderData": 2020-09-02T00:00:00.000Z, + "row": 3934, }, Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", - "ECommerce.productName": "Google Nexus 7", - "ECommerce.totalQuantity": "3", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-123001", + "orderData": 2020-09-02T00:00:00.000Z, + "row": 3934, }, Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", - "ECommerce.productName": "HTC One", - "ECommerce.totalQuantity": "3", + "SUM(ECommerce.count)": "1", + "city": "Bakersfield", + "order": null, + "orderData": 2020-09-02T00:00:00.000Z, + "row": 3934, }, Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", - "ECommerce.productName": "Harbour Creations 67200 Series Stacking Chairs", - "ECommerce.totalQuantity": "11", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-09-02T00:00:00.000Z, + "row": 3934, }, Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", - "ECommerce.productName": "Hewlett Packard 610 Color Digital Copier / Printer", - "ECommerce.totalQuantity": "3", + "SUM(ECommerce.count)": "1", + "city": "Philadelphia", + "order": "CA-2017-100811", + "orderData": 2020-11-21T00:00:00.000Z, + "row": 4012, }, Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", - "ECommerce.productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", - "ECommerce.totalQuantity": "4", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-100811", + "orderData": 2020-11-21T00:00:00.000Z, + "row": 4012, }, Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", - "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.0", - "ECommerce.totalQuantity": "5", + "SUM(ECommerce.count)": "1", + "city": "Philadelphia", + "order": null, + "orderData": 2020-11-21T00:00:00.000Z, + "row": 4012, }, Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", - "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.1", - "ECommerce.totalQuantity": "5", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-11-21T00:00:00.000Z, + "row": 4012, }, Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", - "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.2", - "ECommerce.totalQuantity": "8", + "SUM(ECommerce.count)": "1", + "city": "Lafayette", + "order": "CA-2017-124296", + "orderData": 2020-12-24T00:00:00.000Z, + "row": 4031, }, Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", - "ECommerce.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", - "ECommerce.totalQuantity": "6", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-124296", + "orderData": 2020-12-24T00:00:00.000Z, + "row": 4031, }, Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", - "ECommerce.productName": "Linden 10 Round Wall Clock, Black", - "ECommerce.totalQuantity": "14", + "SUM(ECommerce.count)": "1", + "city": "Lafayette", + "order": null, + "orderData": 2020-12-24T00:00:00.000Z, + "row": 4031, }, Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", - "ECommerce.productName": "Logitech di_Novo Edge Keyboard", - "ECommerce.totalQuantity": "9", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-12-24T00:00:00.000Z, + "row": 4031, }, Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", - "ECommerce.productName": "Magna Visual Magnetic Picture Hangers", - "ECommerce.totalQuantity": "4", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": "CA-2017-115546", + "orderData": 2020-05-14T00:00:00.000Z, + "row": 4161, }, Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", - "ECommerce.productName": "OIC #2 Pencils, Medium Soft", - "ECommerce.totalQuantity": "9", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-115546", + "orderData": 2020-05-14T00:00:00.000Z, + "row": 4161, }, Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", - "ECommerce.productName": "Okidata C610n Printer", - "ECommerce.totalQuantity": "2", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": null, + "orderData": 2020-05-14T00:00:00.000Z, + "row": 4161, }, Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", - "ECommerce.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", - "ECommerce.totalQuantity": "8", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-05-14T00:00:00.000Z, + "row": 4161, }, Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", - "ECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", - "ECommerce.totalQuantity": "11", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-120327", + "orderData": 2020-11-11T00:00:00.000Z, + "row": 4227, }, Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", - "ECommerce.productName": "Project Tote Personal File", - "ECommerce.totalQuantity": "1", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-120327", + "orderData": 2020-11-11T00:00:00.000Z, + "row": 4227, }, Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", - "ECommerce.productName": "Recycled Eldon Regeneration Jumbo File", - "ECommerce.totalQuantity": "4", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-11-11T00:00:00.000Z, + "row": 4227, }, Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", - "ECommerce.productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", - "ECommerce.totalQuantity": "2", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-11-11T00:00:00.000Z, + "row": 4227, }, Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", - "ECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", - "ECommerce.totalQuantity": "11", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-143567", + "orderData": 2020-11-02T00:00:00.000Z, + "row": 4882, }, Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", - "ECommerce.productName": "Wausau Papers Astrobrights Colored Envelopes", - "ECommerce.totalQuantity": "3", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-143567", + "orderData": 2020-11-02T00:00:00.000Z, + "row": 4882, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying Products: dimensions + order + limit + total 1`] = ` -Array [ Object { - "Products.category": "Furniture", - "Products.productName": "DMI Eclipse Executive Suite Bookcases", - "Products.subCategory": "Bookcases", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-11-02T00:00:00.000Z, + "row": 4882, }, Object { - "Products.category": "Furniture", - "Products.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", - "Products.subCategory": "Bookcases", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-11-02T00:00:00.000Z, + "row": 4882, }, Object { - "Products.category": "Furniture", - "Products.productName": "Harbour Creations 67200 Series Stacking Chairs", - "Products.subCategory": "Chairs", + "SUM(ECommerce.count)": "1", + "city": "Detroit", + "order": "CA-2017-145653", + "orderData": 2020-09-01T00:00:00.000Z, + "row": 5220, }, Object { - "Products.category": "Furniture", - "Products.productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", - "Products.subCategory": "Chairs", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-145653", + "orderData": 2020-09-01T00:00:00.000Z, + "row": 5220, }, Object { - "Products.category": "Furniture", - "Products.productName": "Linden 10 Round Wall Clock, Black", - "Products.subCategory": "Furnishings", + "SUM(ECommerce.count)": "1", + "city": "Detroit", + "order": null, + "orderData": 2020-09-01T00:00:00.000Z, + "row": 5220, }, Object { - "Products.category": "Furniture", - "Products.productName": "Magna Visual Magnetic Picture Hangers", - "Products.subCategory": "Furnishings", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-09-01T00:00:00.000Z, + "row": 5220, }, Object { - "Products.category": "Furniture", - "Products.productName": "Anderson Hickey Conga Table Tops & Accessories", - "Products.subCategory": "Tables", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-147333", + "orderData": 2020-12-14T00:00:00.000Z, + "row": 5277, }, Object { - "Products.category": "Furniture", - "Products.productName": "Balt Solid Wood Rectangular Table", - "Products.subCategory": "Tables", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-147333", + "orderData": 2020-12-14T00:00:00.000Z, + "row": 5277, }, Object { - "Products.category": "Office Supplies", - "Products.productName": "OIC #2 Pencils, Medium Soft", - "Products.subCategory": "Art", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-12-14T00:00:00.000Z, + "row": 5277, }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", - "Products.subCategory": "Art", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-12-14T00:00:00.000Z, + "row": 5277, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying Products: dimensions + order + limit 1`] = ` -Array [ Object { - "Products.category": "Furniture", - "Products.productName": "DMI Eclipse Executive Suite Bookcases", - "Products.subCategory": "Bookcases", + "SUM(ECommerce.count)": "1", + "city": "Los Angeles", + "order": "CA-2017-145772", + "orderData": 2020-06-03T00:00:00.000Z, + "row": 6125, }, Object { - "Products.category": "Furniture", - "Products.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", - "Products.subCategory": "Bookcases", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-145772", + "orderData": 2020-06-03T00:00:00.000Z, + "row": 6125, }, Object { - "Products.category": "Furniture", - "Products.productName": "Harbour Creations 67200 Series Stacking Chairs", - "Products.subCategory": "Chairs", + "SUM(ECommerce.count)": "1", + "city": "Los Angeles", + "order": null, + "orderData": 2020-06-03T00:00:00.000Z, + "row": 6125, }, Object { - "Products.category": "Furniture", - "Products.productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", - "Products.subCategory": "Chairs", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-06-03T00:00:00.000Z, + "row": 6125, }, Object { - "Products.category": "Furniture", - "Products.productName": "Linden 10 Round Wall Clock, Black", - "Products.subCategory": "Furnishings", + "SUM(ECommerce.count)": "1", + "city": "Marion", + "order": "CA-2017-145660", + "orderData": 2020-12-01T00:00:00.000Z, + "row": 6205, }, Object { - "Products.category": "Furniture", - "Products.productName": "Magna Visual Magnetic Picture Hangers", - "Products.subCategory": "Furnishings", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-145660", + "orderData": 2020-12-01T00:00:00.000Z, + "row": 6205, }, Object { - "Products.category": "Furniture", - "Products.productName": "Anderson Hickey Conga Table Tops & Accessories", - "Products.subCategory": "Tables", + "SUM(ECommerce.count)": "1", + "city": "Marion", + "order": null, + "orderData": 2020-12-01T00:00:00.000Z, + "row": 6205, }, Object { - "Products.category": "Furniture", - "Products.productName": "Balt Solid Wood Rectangular Table", - "Products.subCategory": "Tables", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-12-01T00:00:00.000Z, + "row": 6205, }, Object { - "Products.category": "Office Supplies", - "Products.productName": "OIC #2 Pencils, Medium Soft", - "Products.subCategory": "Art", + "SUM(ECommerce.count)": "1", + "city": "Oakland", + "order": "CA-2017-102379", + "orderData": 2020-12-02T00:00:00.000Z, + "row": 6272, }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", - "Products.subCategory": "Art", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-102379", + "orderData": 2020-12-02T00:00:00.000Z, + "row": 6272, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying Products: dimensions + order + total 1`] = ` -Array [ Object { - "Products.category": "Furniture", - "Products.productName": "DMI Eclipse Executive Suite Bookcases", - "Products.subCategory": "Bookcases", + "SUM(ECommerce.count)": "1", + "city": "Oakland", + "order": null, + "orderData": 2020-12-02T00:00:00.000Z, + "row": 6272, }, Object { - "Products.category": "Furniture", - "Products.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", - "Products.subCategory": "Bookcases", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-12-02T00:00:00.000Z, + "row": 6272, }, Object { - "Products.category": "Furniture", - "Products.productName": "Harbour Creations 67200 Series Stacking Chairs", - "Products.subCategory": "Chairs", + "SUM(ECommerce.count)": "1", + "city": "Baltimore", + "order": "US-2017-133361", + "orderData": 2020-05-14T00:00:00.000Z, + "row": 6459, }, Object { - "Products.category": "Furniture", - "Products.productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", - "Products.subCategory": "Chairs", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "US-2017-133361", + "orderData": 2020-05-14T00:00:00.000Z, + "row": 6459, }, Object { - "Products.category": "Furniture", - "Products.productName": "Linden 10 Round Wall Clock, Black", - "Products.subCategory": "Furnishings", + "SUM(ECommerce.count)": "1", + "city": "Baltimore", + "order": null, + "orderData": 2020-05-14T00:00:00.000Z, + "row": 6459, }, Object { - "Products.category": "Furniture", - "Products.productName": "Magna Visual Magnetic Picture Hangers", - "Products.subCategory": "Furnishings", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-05-14T00:00:00.000Z, + "row": 6459, }, Object { - "Products.category": "Furniture", - "Products.productName": "Anderson Hickey Conga Table Tops & Accessories", - "Products.subCategory": "Tables", + "SUM(ECommerce.count)": "1", + "city": "Arlington", + "order": "US-2017-124779", + "orderData": 2020-09-08T00:00:00.000Z, + "row": 6651, }, Object { - "Products.category": "Furniture", - "Products.productName": "Balt Solid Wood Rectangular Table", - "Products.subCategory": "Tables", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "US-2017-124779", + "orderData": 2020-09-08T00:00:00.000Z, + "row": 6651, }, Object { - "Products.category": "Office Supplies", - "Products.productName": "OIC #2 Pencils, Medium Soft", - "Products.subCategory": "Art", + "SUM(ECommerce.count)": "1", + "city": "Arlington", + "order": null, + "orderData": 2020-09-08T00:00:00.000Z, + "row": 6651, }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", - "Products.subCategory": "Art", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-09-08T00:00:00.000Z, + "row": 6651, }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", - "Products.subCategory": "Envelopes", + "SUM(ECommerce.count)": "1", + "city": "Houston", + "order": "US-2017-141677", + "orderData": 2020-03-26T00:00:00.000Z, + "row": 7174, }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Wausau Papers Astrobrights Colored Envelopes", - "Products.subCategory": "Envelopes", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "US-2017-141677", + "orderData": 2020-03-26T00:00:00.000Z, + "row": 7174, }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Plymouth Boxed Rubber Bands by Plymouth", - "Products.subCategory": "Fasteners", + "SUM(ECommerce.count)": "1", + "city": "Houston", + "order": null, + "orderData": 2020-03-26T00:00:00.000Z, + "row": 7174, }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", - "Products.subCategory": "Fasteners", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-03-26T00:00:00.000Z, + "row": 7174, }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Project Tote Personal File", - "Products.subCategory": "Storage", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-109183", + "orderData": 2020-12-04T00:00:00.000Z, + "row": 7293, }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Recycled Eldon Regeneration Jumbo File", - "Products.subCategory": "Storage", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-109183", + "orderData": 2020-12-04T00:00:00.000Z, + "row": 7293, }, Object { - "Products.category": "Technology", - "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.0", - "Products.subCategory": "Accessories", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-12-04T00:00:00.000Z, + "row": 7293, }, Object { - "Products.category": "Technology", - "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.1", - "Products.subCategory": "Accessories", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-12-04T00:00:00.000Z, + "row": 7293, }, Object { - "Products.category": "Technology", - "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.2", - "Products.subCategory": "Accessories", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": "CA-2017-112172", + "orderData": 2020-06-10T00:00:00.000Z, + "row": 7310, }, Object { - "Products.category": "Technology", - "Products.productName": "Logitech di_Novo Edge Keyboard", - "Products.subCategory": "Accessories", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-112172", + "orderData": 2020-06-10T00:00:00.000Z, + "row": 7310, }, Object { - "Products.category": "Technology", - "Products.productName": "Canon PC1080F Personal Copier", - "Products.subCategory": "Copiers", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": null, + "orderData": 2020-06-10T00:00:00.000Z, + "row": 7310, }, Object { - "Products.category": "Technology", - "Products.productName": "Hewlett Packard 610 Color Digital Copier / Printer", - "Products.subCategory": "Copiers", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-06-10T00:00:00.000Z, + "row": 7310, }, Object { - "Products.category": "Technology", - "Products.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", - "Products.subCategory": "Machines", + "SUM(ECommerce.count)": "1", + "city": "Philadelphia", + "order": "CA-2017-135069", + "orderData": 2020-04-10T00:00:00.000Z, + "row": 7425, }, Object { - "Products.category": "Technology", - "Products.productName": "Okidata C610n Printer", - "Products.subCategory": "Machines", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-135069", + "orderData": 2020-04-10T00:00:00.000Z, + "row": 7425, }, Object { - "Products.category": "Technology", - "Products.productName": "Google Nexus 5", - "Products.subCategory": "Phones", + "SUM(ECommerce.count)": "1", + "city": "Philadelphia", + "order": null, + "orderData": 2020-04-10T00:00:00.000Z, + "row": 7425, }, Object { - "Products.category": "Technology", - "Products.productName": "Google Nexus 6", - "Products.subCategory": "Phones", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-04-10T00:00:00.000Z, + "row": 7425, }, Object { - "Products.category": "Technology", - "Products.productName": "Google Nexus 7", - "Products.subCategory": "Phones", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-151799", + "orderData": 2020-12-14T00:00:00.000Z, + "row": 7698, }, Object { - "Products.category": "Technology", - "Products.productName": "HTC One", - "Products.subCategory": "Phones", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-151799", + "orderData": 2020-12-14T00:00:00.000Z, + "row": 7698, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying Products: dimensions + order 1`] = ` -Array [ Object { - "Products.category": "Furniture", - "Products.productName": "DMI Eclipse Executive Suite Bookcases", - "Products.subCategory": "Bookcases", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-12-14T00:00:00.000Z, + "row": 7698, }, Object { - "Products.category": "Furniture", - "Products.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", - "Products.subCategory": "Bookcases", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-12-14T00:00:00.000Z, + "row": 7698, }, Object { - "Products.category": "Furniture", - "Products.productName": "Harbour Creations 67200 Series Stacking Chairs", - "Products.subCategory": "Chairs", + "SUM(ECommerce.count)": "1", + "city": "Lakewood", + "order": "CA-2017-150091", + "orderData": 2020-10-12T00:00:00.000Z, + "row": 8425, }, Object { - "Products.category": "Furniture", - "Products.productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", - "Products.subCategory": "Chairs", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-150091", + "orderData": 2020-10-12T00:00:00.000Z, + "row": 8425, }, Object { - "Products.category": "Furniture", - "Products.productName": "Linden 10 Round Wall Clock, Black", - "Products.subCategory": "Furnishings", + "SUM(ECommerce.count)": "1", + "city": "Lakewood", + "order": null, + "orderData": 2020-10-12T00:00:00.000Z, + "row": 8425, }, Object { - "Products.category": "Furniture", - "Products.productName": "Magna Visual Magnetic Picture Hangers", - "Products.subCategory": "Furnishings", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-10-12T00:00:00.000Z, + "row": 8425, }, Object { - "Products.category": "Furniture", - "Products.productName": "Anderson Hickey Conga Table Tops & Accessories", - "Products.subCategory": "Tables", + "SUM(ECommerce.count)": "1", + "city": "Dallas", + "order": "US-2017-119319", + "orderData": 2020-11-06T00:00:00.000Z, + "row": 8621, }, Object { - "Products.category": "Furniture", - "Products.productName": "Balt Solid Wood Rectangular Table", - "Products.subCategory": "Tables", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "US-2017-119319", + "orderData": 2020-11-06T00:00:00.000Z, + "row": 8621, }, Object { - "Products.category": "Office Supplies", - "Products.productName": "OIC #2 Pencils, Medium Soft", - "Products.subCategory": "Art", + "SUM(ECommerce.count)": "1", + "city": "Dallas", + "order": null, + "orderData": 2020-11-06T00:00:00.000Z, + "row": 8621, }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", - "Products.subCategory": "Art", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-11-06T00:00:00.000Z, + "row": 8621, }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", - "Products.subCategory": "Envelopes", + "SUM(ECommerce.count)": "1", + "city": "Decatur", + "order": "CA-2017-163265", + "orderData": 2020-02-16T00:00:00.000Z, + "row": 8673, }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Wausau Papers Astrobrights Colored Envelopes", - "Products.subCategory": "Envelopes", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-163265", + "orderData": 2020-02-16T00:00:00.000Z, + "row": 8673, }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Plymouth Boxed Rubber Bands by Plymouth", - "Products.subCategory": "Fasteners", + "SUM(ECommerce.count)": "1", + "city": "Decatur", + "order": null, + "orderData": 2020-02-16T00:00:00.000Z, + "row": 8673, }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", - "Products.subCategory": "Fasteners", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-02-16T00:00:00.000Z, + "row": 8673, }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Project Tote Personal File", - "Products.subCategory": "Storage", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-119284", + "orderData": 2020-06-15T00:00:00.000Z, + "row": 8697, }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Recycled Eldon Regeneration Jumbo File", - "Products.subCategory": "Storage", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-119284", + "orderData": 2020-06-15T00:00:00.000Z, + "row": 8697, }, Object { - "Products.category": "Technology", - "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.0", - "Products.subCategory": "Accessories", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-06-15T00:00:00.000Z, + "row": 8697, }, Object { - "Products.category": "Technology", - "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.1", - "Products.subCategory": "Accessories", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-06-15T00:00:00.000Z, + "row": 8697, }, Object { - "Products.category": "Technology", - "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.2", - "Products.subCategory": "Accessories", + "SUM(ECommerce.count)": "1", + "city": "Morristown", + "order": "CA-2017-126928", + "orderData": 2020-09-17T00:00:00.000Z, + "row": 8878, }, Object { - "Products.category": "Technology", - "Products.productName": "Logitech di_Novo Edge Keyboard", - "Products.subCategory": "Accessories", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-126928", + "orderData": 2020-09-17T00:00:00.000Z, + "row": 8878, }, Object { - "Products.category": "Technology", - "Products.productName": "Canon PC1080F Personal Copier", - "Products.subCategory": "Copiers", + "SUM(ECommerce.count)": "1", + "city": "Morristown", + "order": null, + "orderData": 2020-09-17T00:00:00.000Z, + "row": 8878, }, Object { - "Products.category": "Technology", - "Products.productName": "Hewlett Packard 610 Color Digital Copier / Printer", - "Products.subCategory": "Copiers", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-09-17T00:00:00.000Z, + "row": 8878, }, Object { - "Products.category": "Technology", - "Products.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", - "Products.subCategory": "Machines", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-105620", + "orderData": 2020-12-25T00:00:00.000Z, + "row": 8958, }, Object { - "Products.category": "Technology", - "Products.productName": "Okidata C610n Printer", - "Products.subCategory": "Machines", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-105620", + "orderData": 2020-12-25T00:00:00.000Z, + "row": 8958, }, Object { - "Products.category": "Technology", - "Products.productName": "Google Nexus 5", - "Products.subCategory": "Phones", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-12-25T00:00:00.000Z, + "row": 8958, }, Object { - "Products.category": "Technology", - "Products.productName": "Google Nexus 6", - "Products.subCategory": "Phones", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-12-25T00:00:00.000Z, + "row": 8958, }, Object { - "Products.category": "Technology", - "Products.productName": "Google Nexus 7", - "Products.subCategory": "Phones", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": "CA-2017-102925", + "orderData": 2020-11-05T00:00:00.000Z, + "row": 9473, }, Object { - "Products.category": "Technology", - "Products.productName": "HTC One", - "Products.subCategory": "Phones", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-102925", + "orderData": 2020-11-05T00:00:00.000Z, + "row": 9473, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying custom granularities ECommerce: count by half_year + dimension 1`] = ` -Array [ Object { - "ECommerce.city": "Lorain", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2019-07-17T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2019-07-17T00:00:00.000", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": null, + "orderData": 2020-11-05T00:00:00.000Z, + "row": 9473, }, Object { - "ECommerce.city": "Auburn", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-01-14T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-14T00:00:00.000", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-11-05T00:00:00.000Z, + "row": 9473, }, Object { - "ECommerce.city": "Baltimore", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-01-14T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-14T00:00:00.000", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": "CA-2017-116127", + "orderData": 2020-06-25T00:00:00.000Z, + "row": 9584, }, Object { - "ECommerce.city": "Columbus", - "ECommerce.count": "3", - "ECommerce.customOrderDateNoPreAgg": "2020-01-14T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-14T00:00:00.000", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-116127", + "orderData": 2020-06-25T00:00:00.000Z, + "row": 9584, }, Object { - "ECommerce.city": "Decatur", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-01-14T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-14T00:00:00.000", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": null, + "orderData": 2020-06-25T00:00:00.000Z, + "row": 9584, }, Object { - "ECommerce.city": "Detroit", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-01-14T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-14T00:00:00.000", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-06-25T00:00:00.000Z, + "row": 9584, }, Object { - "ECommerce.city": "Houston", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-01-14T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-14T00:00:00.000", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-160633", + "orderData": 2020-11-16T00:00:00.000Z, + "row": 9618, }, Object { - "ECommerce.city": "Los Angeles", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-01-14T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-14T00:00:00.000", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-160633", + "orderData": 2020-11-16T00:00:00.000Z, + "row": 9618, }, Object { - "ECommerce.city": "Louisville", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-01-14T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-14T00:00:00.000", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-11-16T00:00:00.000Z, + "row": 9618, }, Object { - "ECommerce.city": "New York City", - "ECommerce.count": "4", - "ECommerce.customOrderDateNoPreAgg": "2020-01-14T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-14T00:00:00.000", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-11-16T00:00:00.000Z, + "row": 9618, }, Object { - "ECommerce.city": "Olympia", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-01-14T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-14T00:00:00.000", + "SUM(ECommerce.count)": "1", + "city": "Bowling", + "order": "CA-2017-160633", + "orderData": 2020-11-16T00:00:00.000Z, + "row": 9619, }, Object { - "ECommerce.city": "Omaha", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-01-14T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-14T00:00:00.000", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-160633", + "orderData": 2020-11-16T00:00:00.000Z, + "row": 9619, }, Object { - "ECommerce.city": "Philadelphia", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-01-14T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-14T00:00:00.000", + "SUM(ECommerce.count)": "1", + "city": "Bowling", + "order": null, + "orderData": 2020-11-16T00:00:00.000Z, + "row": 9619, }, Object { - "ECommerce.city": "Arlington", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-07-13T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-13T00:00:00.000", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-11-16T00:00:00.000Z, + "row": 9619, }, Object { - "ECommerce.city": "Bakersfield", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-07-13T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-13T00:00:00.000", + "SUM(ECommerce.count)": "1", + "city": "Lorain", + "order": null, + "orderData": 2020-01-01T00:00:00.000Z, + "row": null, }, Object { - "ECommerce.city": "Bowling", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-07-13T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-13T00:00:00.000", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-01-01T00:00:00.000Z, + "row": null, }, Object { - "ECommerce.city": "Columbus", - "ECommerce.count": "9", - "ECommerce.customOrderDateNoPreAgg": "2020-07-13T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-13T00:00:00.000", + "SUM(ECommerce.count)": "1", + "city": "Detroit", + "order": null, + "orderData": 2020-01-23T00:00:00.000Z, + "row": null, }, Object { - "ECommerce.city": "Dallas", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-07-13T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-13T00:00:00.000", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-01-23T00:00:00.000Z, + "row": null, }, Object { - "ECommerce.city": "Detroit", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-07-13T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-13T00:00:00.000", + "SUM(ECommerce.count)": "1", + "city": "Decatur", + "order": null, + "orderData": 2020-02-16T00:00:00.000Z, + "row": null, }, Object { - "ECommerce.city": "Glendale", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-07-13T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-13T00:00:00.000", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-02-16T00:00:00.000Z, + "row": null, }, Object { - "ECommerce.city": "Lafayette", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-07-13T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-13T00:00:00.000", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": null, + "orderData": 2020-03-17T00:00:00.000Z, + "row": null, }, Object { - "ECommerce.city": "Lakewood", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-07-13T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-13T00:00:00.000", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-03-17T00:00:00.000Z, + "row": null, }, Object { - "ECommerce.city": "Marion", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-07-13T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-13T00:00:00.000", + "SUM(ECommerce.count)": "1", + "city": "Houston", + "order": null, + "orderData": 2020-03-26T00:00:00.000Z, + "row": null, }, Object { - "ECommerce.city": "Morristown", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-07-13T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-13T00:00:00.000", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-03-26T00:00:00.000Z, + "row": null, }, Object { - "ECommerce.city": "New York City", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-07-13T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-13T00:00:00.000", + "SUM(ECommerce.count)": "1", + "city": "Philadelphia", + "order": null, + "orderData": 2020-04-10T00:00:00.000Z, + "row": null, }, Object { - "ECommerce.city": "Oakland", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-07-13T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-13T00:00:00.000", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-04-10T00:00:00.000Z, + "row": null, }, Object { - "ECommerce.city": "Philadelphia", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-07-13T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-13T00:00:00.000", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-05-13T00:00:00.000Z, + "row": null, }, Object { - "ECommerce.city": "Provo", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-07-13T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-13T00:00:00.000", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-05-13T00:00:00.000Z, + "row": null, }, Object { - "ECommerce.city": "San Francisco", - "ECommerce.count": "2", - "ECommerce.customOrderDateNoPreAgg": "2020-07-13T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-13T00:00:00.000", + "SUM(ECommerce.count)": "1", + "city": "Baltimore", + "order": null, + "orderData": 2020-05-14T00:00:00.000Z, + "row": null, }, Object { - "ECommerce.city": "Vancouver", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-07-13T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-13T00:00:00.000", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": null, + "orderData": 2020-05-14T00:00:00.000Z, + "row": null, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying custom granularities ECommerce: count by half_year + no dimension 1`] = ` -Array [ Object { - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2019-07-17T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2019-07-17T00:00:00.000", + "SUM(ECommerce.count)": "2", + "city": null, + "order": null, + "orderData": 2020-05-14T00:00:00.000Z, + "row": null, }, Object { - "ECommerce.count": "17", - "ECommerce.customOrderDateNoPreAgg": "2020-01-14T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-14T00:00:00.000", + "SUM(ECommerce.count)": "1", + "city": "Louisville", + "order": null, + "orderData": 2020-05-27T00:00:00.000Z, + "row": null, }, Object { - "ECommerce.count": "26", - "ECommerce.customOrderDateNoPreAgg": "2020-07-13T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-13T00:00:00.000", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-05-27T00:00:00.000Z, + "row": null, }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying custom granularities ECommerce: count by half_year_by_1st_april + dimension 1`] = ` -Array [ Object { - "ECommerce.city": "Decatur", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2019-10-16T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2019-10-16T00:00:00.000", + "SUM(ECommerce.count)": "1", + "city": "Omaha", + "order": null, + "orderData": 2020-05-29T00:00:00.000Z, + "row": null, }, Object { - "ECommerce.city": "Detroit", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2019-10-16T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2019-10-16T00:00:00.000", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-05-29T00:00:00.000Z, + "row": null, }, Object { - "ECommerce.city": "Houston", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2019-10-16T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2019-10-16T00:00:00.000", + "SUM(ECommerce.count)": "1", + "city": "Los Angeles", + "order": null, + "orderData": 2020-06-03T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-06-03T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": null, + "orderData": 2020-06-10T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-06-10T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Auburn", + "order": null, + "orderData": 2020-06-11T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-06-11T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-06-15T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-06-15T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Olympia", + "order": null, + "orderData": 2020-06-17T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-06-17T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-06-25T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": null, + "orderData": 2020-06-25T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "2", + "city": null, + "order": null, + "orderData": 2020-06-25T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Detroit", + "order": null, + "orderData": 2020-09-01T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-09-01T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Bakersfield", + "order": null, + "orderData": 2020-09-02T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-09-02T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Arlington", + "order": null, + "orderData": 2020-09-08T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-09-08T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Morristown", + "order": null, + "orderData": 2020-09-17T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Provo", + "order": null, + "orderData": 2020-09-17T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "2", + "city": null, + "order": null, + "orderData": 2020-09-17T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-09-23T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-09-23T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Lakewood", + "order": null, + "orderData": 2020-10-12T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-10-12T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "2", + "city": "San Francisco", + "order": null, + "orderData": 2020-10-19T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "2", + "city": null, + "order": null, + "orderData": 2020-10-19T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Vancouver", + "order": null, + "orderData": 2020-10-30T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-10-30T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-11-02T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-11-02T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": null, + "orderData": 2020-11-05T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-11-05T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Dallas", + "order": null, + "orderData": 2020-11-06T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-11-06T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-11-11T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-11-11T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Glendale", + "order": null, + "orderData": 2020-11-12T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-11-12T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Bowling", + "order": null, + "orderData": 2020-11-16T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-11-16T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "2", + "city": null, + "order": null, + "orderData": 2020-11-16T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Philadelphia", + "order": null, + "orderData": 2020-11-21T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-11-21T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-11-28T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-11-28T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Marion", + "order": null, + "orderData": 2020-12-01T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-12-01T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Oakland", + "order": null, + "orderData": 2020-12-02T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-12-02T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-12-04T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-12-04T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "2", + "city": "Columbus", + "order": null, + "orderData": 2020-12-14T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "2", + "city": null, + "order": null, + "orderData": 2020-12-14T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Lafayette", + "order": null, + "orderData": 2020-12-24T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-12-24T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-12-25T00:00:00.000Z, + "row": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-12-25T00:00:00.000Z, + "row": null, + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver SQL API: Simple Rollup: simple_rollup 1`] = ` +Array [ + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-01-23T00:00:00.000Z, + "orderId": "CA-2017-145142", + "rowId": 523, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-145142", + "rowId": 523, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 523, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-01-01T00:00:00.000Z, + "orderId": "CA-2017-107503", + "rowId": 849, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-107503", + "rowId": 849, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 849, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-06-17T00:00:00.000Z, + "orderId": "CA-2017-118437", + "rowId": 1013, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-118437", + "rowId": 1013, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 1013, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-10-30T00:00:00.000Z, + "orderId": "CA-2017-139661", + "rowId": 1494, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-139661", + "rowId": 1494, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 1494, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-06-25T00:00:00.000Z, + "orderId": "CA-2017-133648", + "rowId": 1995, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-133648", + "rowId": 1995, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 1995, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-09-23T00:00:00.000Z, + "orderId": "CA-2017-138422", + "rowId": 2329, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-138422", + "rowId": 2329, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2329, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-03-17T00:00:00.000Z, + "orderId": "CA-2017-140949", + "rowId": 2455, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-140949", + "rowId": 2455, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2455, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-05-13T00:00:00.000Z, + "orderId": "CA-2017-149048", + "rowId": 2595, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-149048", + "rowId": 2595, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2595, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-09-17T00:00:00.000Z, + "orderId": "CA-2017-112515", + "rowId": 2655, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-112515", + "rowId": 2655, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2655, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-11-28T00:00:00.000Z, + "orderId": "CA-2017-123372", + "rowId": 2661, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-123372", + "rowId": 2661, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2661, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-11-12T00:00:00.000Z, + "orderId": "CA-2017-134915", + "rowId": 2952, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-134915", + "rowId": 2952, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2952, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-10-19T00:00:00.000Z, + "orderId": "CA-2017-131492", + "rowId": 3059, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-131492", + "rowId": 3059, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3059, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-10-19T00:00:00.000Z, + "orderId": "CA-2017-131492", + "rowId": 3060, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-131492", + "rowId": 3060, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3060, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-05-27T00:00:00.000Z, + "orderId": "US-2017-132297", + "rowId": 3083, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "US-2017-132297", + "rowId": 3083, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3083, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-06-11T00:00:00.000Z, + "orderId": "CA-2017-102554", + "rowId": 3448, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-102554", + "rowId": 3448, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3448, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-05-29T00:00:00.000Z, + "orderId": "CA-2017-144568", + "rowId": 3717, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-144568", + "rowId": 3717, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3717, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-09-02T00:00:00.000Z, + "orderId": "CA-2017-123001", + "rowId": 3934, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-123001", + "rowId": 3934, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3934, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-11-21T00:00:00.000Z, + "orderId": "CA-2017-100811", + "rowId": 4012, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-100811", + "rowId": 4012, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 4012, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-12-24T00:00:00.000Z, + "orderId": "CA-2017-124296", + "rowId": 4031, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-124296", + "rowId": 4031, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 4031, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-05-14T00:00:00.000Z, + "orderId": "CA-2017-115546", + "rowId": 4161, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-115546", + "rowId": 4161, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 4161, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-11-11T00:00:00.000Z, + "orderId": "CA-2017-120327", + "rowId": 4227, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-120327", + "rowId": 4227, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 4227, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-11-02T00:00:00.000Z, + "orderId": "CA-2017-143567", + "rowId": 4882, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-143567", + "rowId": 4882, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 4882, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-09-01T00:00:00.000Z, + "orderId": "CA-2017-145653", + "rowId": 5220, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-145653", + "rowId": 5220, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 5220, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-12-14T00:00:00.000Z, + "orderId": "CA-2017-147333", + "rowId": 5277, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-147333", + "rowId": 5277, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 5277, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-06-03T00:00:00.000Z, + "orderId": "CA-2017-145772", + "rowId": 6125, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-145772", + "rowId": 6125, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 6125, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-12-01T00:00:00.000Z, + "orderId": "CA-2017-145660", + "rowId": 6205, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-145660", + "rowId": 6205, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 6205, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-12-02T00:00:00.000Z, + "orderId": "CA-2017-102379", + "rowId": 6272, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-102379", + "rowId": 6272, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 6272, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-05-14T00:00:00.000Z, + "orderId": "US-2017-133361", + "rowId": 6459, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "US-2017-133361", + "rowId": 6459, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 6459, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-09-08T00:00:00.000Z, + "orderId": "US-2017-124779", + "rowId": 6651, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "US-2017-124779", + "rowId": 6651, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 6651, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-03-26T00:00:00.000Z, + "orderId": "US-2017-141677", + "rowId": 7174, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "US-2017-141677", + "rowId": 7174, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 7174, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-12-04T00:00:00.000Z, + "orderId": "CA-2017-109183", + "rowId": 7293, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-109183", + "rowId": 7293, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 7293, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-06-10T00:00:00.000Z, + "orderId": "CA-2017-112172", + "rowId": 7310, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-112172", + "rowId": 7310, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 7310, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-04-10T00:00:00.000Z, + "orderId": "CA-2017-135069", + "rowId": 7425, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-135069", + "rowId": 7425, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 7425, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-12-14T00:00:00.000Z, + "orderId": "CA-2017-151799", + "rowId": 7698, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-151799", + "rowId": 7698, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 7698, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-10-12T00:00:00.000Z, + "orderId": "CA-2017-150091", + "rowId": 8425, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-150091", + "rowId": 8425, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8425, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-11-06T00:00:00.000Z, + "orderId": "US-2017-119319", + "rowId": 8621, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "US-2017-119319", + "rowId": 8621, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8621, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-02-16T00:00:00.000Z, + "orderId": "CA-2017-163265", + "rowId": 8673, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-163265", + "rowId": 8673, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8673, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-06-15T00:00:00.000Z, + "orderId": "CA-2017-119284", + "rowId": 8697, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-119284", + "rowId": 8697, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8697, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-09-17T00:00:00.000Z, + "orderId": "CA-2017-126928", + "rowId": 8878, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-126928", + "rowId": 8878, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8878, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-12-25T00:00:00.000Z, + "orderId": "CA-2017-105620", + "rowId": 8958, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-105620", + "rowId": 8958, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8958, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-11-05T00:00:00.000Z, + "orderId": "CA-2017-102925", + "rowId": 9473, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-102925", + "rowId": 9473, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 9473, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-06-25T00:00:00.000Z, + "orderId": "CA-2017-116127", + "rowId": 9584, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-116127", + "rowId": 9584, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 9584, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-11-16T00:00:00.000Z, + "orderId": "CA-2017-160633", + "rowId": 9618, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-160633", + "rowId": 9618, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 9618, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-11-16T00:00:00.000Z, + "orderId": "CA-2017-160633", + "rowId": 9619, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-160633", + "rowId": 9619, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 9619, + }, + Object { + "SUM(ECommerce.count)": "44", + "orderDate": null, + "orderId": null, + "rowId": null, + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver SQL API: metabase count cast to float32 from push down: metabase_count_cast_to_float32_from_push_down 1`] = ` +Array [ + Object { + "a0": 41, + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver SQL API: post-aggregate percentage of total: post_aggregate_percentage_of_total 1`] = ` +Array [ + Object { + "SUM(BigECommerce.percentageOfTotalForStatus)": 100, + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver SQL API: powerbi min max push down: powerbi_min_max_push_down 1`] = ` +Array [ + Object { + "a0": 2020-12-25T00:00:00.000Z, + "a1": 2020-01-01T00:00:00.000Z, + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver SQL API: powerbi min max ungrouped flag: powerbi_min_max_ungrouped_flag 1`] = ` +Array [ + Object { + "a0": "39", + "a1": 3.76, + "a2": 2399.96, + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver SQL API: reuse params: reuse_params 1`] = ` +Array [ + Object { + "c0": 2020-01-01T00:00:00.000Z, + "m0": 17372, + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver SQL API: ungrouped pre-agg: ungrouped_pre_agg 1`] = ` +Array [ + Object { + "productName": "Canon PC1080F Personal Copier", + "totalSales": 2399.96, + }, + Object { + "productName": "Logitech di_Novo Edge Keyboard", + "totalSales": 2249.91, + }, + Object { + "productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", + "totalSales": 2154.9, + }, + Object { + "productName": "Google Nexus 5", + "totalSales": 1979.89, + }, + Object { + "productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", + "totalSales": 1292.94, + }, + Object { + "productName": "Canon PC1080F Personal Copier", + "totalSales": 1199.98, + }, + Object { + "productName": "Hewlett Packard 610 Color Digital Copier / Printer", + "totalSales": 899.982, + }, + Object { + "productName": "Okidata C610n Printer", + "totalSales": 649, + }, + Object { + "productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", + "totalSales": 600, + }, + Object { + "productName": "Google Nexus 6", + "totalSales": 539.97, + }, + Object { + "productName": "Google Nexus 7", + "totalSales": 539.97, + }, + Object { + "productName": "Harbour Creations 67200 Series Stacking Chairs", + "totalSales": 498.26, + }, + Object { + "productName": "DMI Eclipse Executive Suite Bookcases", + "totalSales": 400.784, + }, + Object { + "productName": "HTC One", + "totalSales": 239.976, + }, + Object { + "productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", + "totalSales": 232.88, + }, + Object { + "productName": "Balt Solid Wood Rectangular Table", + "totalSales": 210.98, + }, + Object { + "productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", + "totalSales": 180.96, + }, + Object { + "productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", + "totalSales": 179.9, + }, + Object { + "productName": "Harbour Creations 67200 Series Stacking Chairs", + "totalSales": 128.124, + }, + Object { + "productName": "Harbour Creations 67200 Series Stacking Chairs", + "totalSales": 113.888, + }, + Object { + "productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", + "totalSales": 86.352, + }, + Object { + "productName": "Kingston Digital DataTraveler 16GB USB 2.2", + "totalSales": 71.6, + }, + Object { + "productName": "Linden 10 Round Wall Clock, Black", + "totalSales": 48.896, + }, + Object { + "productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", + "totalSales": 45.92, + }, + Object { + "productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", + "totalSales": 45.92, + }, + Object { + "productName": "Kingston Digital DataTraveler 16GB USB 2.0", + "totalSales": 44.75, + }, + Object { + "productName": "Kingston Digital DataTraveler 16GB USB 2.1", + "totalSales": 44.75, + }, + Object { + "productName": "Recycled Eldon Regeneration Jumbo File", + "totalSales": 39.296, + }, + Object { + "productName": "Linden 10 Round Wall Clock, Black", + "totalSales": 36.672, + }, + Object { + "productName": "Linden 10 Round Wall Clock, Black", + "totalSales": 30.56, + }, + Object { + "productName": "Linden 10 Round Wall Clock, Black", + "totalSales": 30.56, + }, + Object { + "productName": "Anderson Hickey Conga Table Tops & Accessories", + "totalSales": 24.368, + }, + Object { + "productName": "Plymouth Boxed Rubber Bands by Plymouth", + "totalSales": 23.55, + }, + Object { + "productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", + "totalSales": 18.368, + }, + Object { + "productName": "Wausau Papers Astrobrights Colored Envelopes", + "totalSales": 14.352, + }, + Object { + "productName": "Plymouth Boxed Rubber Bands by Plymouth", + "totalSales": 14.13, + }, + Object { + "productName": "Project Tote Personal File", + "totalSales": 14.03, + }, + Object { + "productName": "Plymouth Boxed Rubber Bands by Plymouth", + "totalSales": 11.304, + }, + Object { + "productName": "Magna Visual Magnetic Picture Hangers", + "totalSales": 9.64, + }, + Object { + "productName": "OIC #2 Pencils, Medium Soft", + "totalSales": 9.4, + }, + Object { + "productName": "Magna Visual Magnetic Picture Hangers", + "totalSales": 7.712, + }, + Object { + "productName": "OIC #2 Pencils, Medium Soft", + "totalSales": 3.76, + }, + Object { + "productName": "OIC #2 Pencils, Medium Soft", + "totalSales": 3.76, + }, + Object { + "productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", + "totalSales": null, + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver filtering Customers: contains + dimensions, first 1`] = ` +Array [ + Object { + "Customers.customerId": "AH-10465", + "Customers.customerName": "Customer 1", + }, + Object { + "Customers.customerId": "AJ-10780", + "Customers.customerName": "Customer 2", + }, + Object { + "Customers.customerId": "AS-10225", + "Customers.customerName": "Customer 3", + }, + Object { + "Customers.customerId": "AW-10840", + "Customers.customerName": "Customer 4", + }, + Object { + "Customers.customerId": "BB-11545", + "Customers.customerName": "Customer 5", + }, + Object { + "Customers.customerId": "BF-11020", + "Customers.customerName": "Customer 6", + }, + Object { + "Customers.customerId": "BF-11170", + "Customers.customerName": "Customer 7", + }, + Object { + "Customers.customerId": "BM-11650", + "Customers.customerName": "Customer 8", + }, + Object { + "Customers.customerId": "BS-11380", + "Customers.customerName": "Customer 9", + }, + Object { + "Customers.customerId": "BS-11755", + "Customers.customerName": "Customer 10", + }, + Object { + "Customers.customerId": "CA-12775", + "Customers.customerName": "Customer 11", + }, + Object { + "Customers.customerId": "CC-12475", + "Customers.customerName": "Customer 12", + }, + Object { + "Customers.customerId": "CD-12280", + "Customers.customerName": "Customer 13", + }, + Object { + "Customers.customerId": "CS-12355", + "Customers.customerName": "Customer 14", + }, + Object { + "Customers.customerId": "DB-13405", + "Customers.customerName": "Customer 15", + }, + Object { + "Customers.customerId": "DG-13300", + "Customers.customerName": "Customer 16", + }, + Object { + "Customers.customerId": "DW-13480", + "Customers.customerName": "Customer 17", + }, + Object { + "Customers.customerId": "EM-14140", + "Customers.customerName": "Customer 18", + }, + Object { + "Customers.customerId": "GA-14725", + "Customers.customerName": "Customer 19", + }, + Object { + "Customers.customerId": "GZ-14470", + "Customers.customerName": "Customer 20", + }, + Object { + "Customers.customerId": "HH-15010", + "Customers.customerName": "Customer 21", + }, + Object { + "Customers.customerId": "HK-14890", + "Customers.customerName": "Customer 22", + }, + Object { + "Customers.customerId": "JH-15430", + "Customers.customerName": "Customer 23", + }, + Object { + "Customers.customerId": "JO-15550", + "Customers.customerName": "Customer 24", + }, + Object { + "Customers.customerId": "JS-16030", + "Customers.customerName": "Customer 25", + }, + Object { + "Customers.customerId": "JW-15220", + "Customers.customerName": "Customer 26", + }, + Object { + "Customers.customerId": "KL-16555", + "Customers.customerName": "Customer 27", + }, + Object { + "Customers.customerId": "KN-16705", + "Customers.customerName": "Customer 28", + }, + Object { + "Customers.customerId": "LC-17050", + "Customers.customerName": "Customer 29", + }, + Object { + "Customers.customerId": "LR-16915", + "Customers.customerName": "Customer 30", + }, + Object { + "Customers.customerId": "MC-17605", + "Customers.customerName": "Customer 31", + }, + Object { + "Customers.customerId": "MG-17650", + "Customers.customerName": "Customer 32", + }, + Object { + "Customers.customerId": "ML-17755", + "Customers.customerName": "Customer 33", + }, + Object { + "Customers.customerId": "MM-18280", + "Customers.customerName": "Customer 34", + }, + Object { + "Customers.customerId": "NP-18670", + "Customers.customerName": "Customer 35", + }, + Object { + "Customers.customerId": "PF-19165", + "Customers.customerName": "Customer 36", + }, + Object { + "Customers.customerId": "SB-20185", + "Customers.customerName": "Customer 37", + }, + Object { + "Customers.customerId": "SS-20140", + "Customers.customerName": "Customer 38", + }, + Object { + "Customers.customerId": "TB-21175", + "Customers.customerName": "Customer 39", + }, + Object { + "Customers.customerId": "TS-21205", + "Customers.customerName": "Customer 40", + }, + Object { + "Customers.customerId": "WB-21850", + "Customers.customerName": "Customer 41", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver filtering Customers: contains + dimensions, second 1`] = ` +Array [ + Object { + "Customers.customerId": "AH-10465", + "Customers.customerName": "Customer 1", + }, + Object { + "Customers.customerId": "AJ-10780", + "Customers.customerName": "Customer 2", + }, + Object { + "Customers.customerId": "AS-10225", + "Customers.customerName": "Customer 3", + }, + Object { + "Customers.customerId": "AW-10840", + "Customers.customerName": "Customer 4", + }, + Object { + "Customers.customerId": "BB-11545", + "Customers.customerName": "Customer 5", + }, + Object { + "Customers.customerId": "BF-11020", + "Customers.customerName": "Customer 6", + }, + Object { + "Customers.customerId": "BF-11170", + "Customers.customerName": "Customer 7", + }, + Object { + "Customers.customerId": "BM-11650", + "Customers.customerName": "Customer 8", + }, + Object { + "Customers.customerId": "BS-11380", + "Customers.customerName": "Customer 9", + }, + Object { + "Customers.customerId": "BS-11755", + "Customers.customerName": "Customer 10", + }, + Object { + "Customers.customerId": "CA-12775", + "Customers.customerName": "Customer 11", + }, + Object { + "Customers.customerId": "CC-12475", + "Customers.customerName": "Customer 12", + }, + Object { + "Customers.customerId": "CD-12280", + "Customers.customerName": "Customer 13", + }, + Object { + "Customers.customerId": "CS-12355", + "Customers.customerName": "Customer 14", + }, + Object { + "Customers.customerId": "DB-13405", + "Customers.customerName": "Customer 15", + }, + Object { + "Customers.customerId": "DG-13300", + "Customers.customerName": "Customer 16", + }, + Object { + "Customers.customerId": "DW-13480", + "Customers.customerName": "Customer 17", + }, + Object { + "Customers.customerId": "EM-14140", + "Customers.customerName": "Customer 18", + }, + Object { + "Customers.customerId": "GA-14725", + "Customers.customerName": "Customer 19", + }, + Object { + "Customers.customerId": "GZ-14470", + "Customers.customerName": "Customer 20", + }, + Object { + "Customers.customerId": "HH-15010", + "Customers.customerName": "Customer 21", + }, + Object { + "Customers.customerId": "HK-14890", + "Customers.customerName": "Customer 22", + }, + Object { + "Customers.customerId": "JH-15430", + "Customers.customerName": "Customer 23", + }, + Object { + "Customers.customerId": "JO-15550", + "Customers.customerName": "Customer 24", + }, + Object { + "Customers.customerId": "JS-16030", + "Customers.customerName": "Customer 25", + }, + Object { + "Customers.customerId": "JW-15220", + "Customers.customerName": "Customer 26", + }, + Object { + "Customers.customerId": "KL-16555", + "Customers.customerName": "Customer 27", + }, + Object { + "Customers.customerId": "KN-16705", + "Customers.customerName": "Customer 28", + }, + Object { + "Customers.customerId": "LC-17050", + "Customers.customerName": "Customer 29", + }, + Object { + "Customers.customerId": "LR-16915", + "Customers.customerName": "Customer 30", + }, + Object { + "Customers.customerId": "MC-17605", + "Customers.customerName": "Customer 31", + }, + Object { + "Customers.customerId": "MG-17650", + "Customers.customerName": "Customer 32", + }, + Object { + "Customers.customerId": "ML-17755", + "Customers.customerName": "Customer 33", + }, + Object { + "Customers.customerId": "MM-18280", + "Customers.customerName": "Customer 34", + }, + Object { + "Customers.customerId": "NP-18670", + "Customers.customerName": "Customer 35", + }, + Object { + "Customers.customerId": "PF-19165", + "Customers.customerName": "Customer 36", + }, + Object { + "Customers.customerId": "SB-20185", + "Customers.customerName": "Customer 37", + }, + Object { + "Customers.customerId": "SS-20140", + "Customers.customerName": "Customer 38", + }, + Object { + "Customers.customerId": "TB-21175", + "Customers.customerName": "Customer 39", + }, + Object { + "Customers.customerId": "TS-21205", + "Customers.customerName": "Customer 40", + }, + Object { + "Customers.customerId": "WB-21850", + "Customers.customerName": "Customer 41", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver filtering Customers: contains + dimensions, third 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/snowflake-driver filtering Customers: endsWith filter + dimensions, first 1`] = ` +Array [ + Object { + "Customers.customerId": "AJ-10780", + "Customers.customerName": "Customer 2", + }, + Object { + "Customers.customerId": "AW-10840", + "Customers.customerName": "Customer 4", + }, + Object { + "Customers.customerId": "BF-11020", + "Customers.customerName": "Customer 6", + }, + Object { + "Customers.customerId": "BF-11170", + "Customers.customerName": "Customer 7", + }, + Object { + "Customers.customerId": "BM-11650", + "Customers.customerName": "Customer 8", + }, + Object { + "Customers.customerId": "BS-11380", + "Customers.customerName": "Customer 9", + }, + Object { + "Customers.customerId": "CD-12280", + "Customers.customerName": "Customer 13", + }, + Object { + "Customers.customerId": "DG-13300", + "Customers.customerName": "Customer 16", + }, + Object { + "Customers.customerId": "DW-13480", + "Customers.customerName": "Customer 17", + }, + Object { + "Customers.customerId": "EM-14140", + "Customers.customerName": "Customer 18", + }, + Object { + "Customers.customerId": "GZ-14470", + "Customers.customerName": "Customer 20", + }, + Object { + "Customers.customerId": "HH-15010", + "Customers.customerName": "Customer 21", + }, + Object { + "Customers.customerId": "HK-14890", + "Customers.customerName": "Customer 22", + }, + Object { + "Customers.customerId": "JH-15430", + "Customers.customerName": "Customer 23", + }, + Object { + "Customers.customerId": "JO-15550", + "Customers.customerName": "Customer 24", + }, + Object { + "Customers.customerId": "JS-16030", + "Customers.customerName": "Customer 25", + }, + Object { + "Customers.customerId": "JW-15220", + "Customers.customerName": "Customer 26", + }, + Object { + "Customers.customerId": "LC-17050", + "Customers.customerName": "Customer 29", + }, + Object { + "Customers.customerId": "MG-17650", + "Customers.customerName": "Customer 32", + }, + Object { + "Customers.customerId": "MM-18280", + "Customers.customerName": "Customer 34", + }, + Object { + "Customers.customerId": "NP-18670", + "Customers.customerName": "Customer 35", + }, + Object { + "Customers.customerId": "SS-20140", + "Customers.customerName": "Customer 38", + }, + Object { + "Customers.customerId": "WB-21850", + "Customers.customerName": "Customer 41", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver filtering Customers: endsWith filter + dimensions, second 1`] = ` +Array [ + Object { + "Customers.customerId": "AH-10465", + "Customers.customerName": "Customer 1", + }, + Object { + "Customers.customerId": "AJ-10780", + "Customers.customerName": "Customer 2", + }, + Object { + "Customers.customerId": "AS-10225", + "Customers.customerName": "Customer 3", + }, + Object { + "Customers.customerId": "AW-10840", + "Customers.customerName": "Customer 4", + }, + Object { + "Customers.customerId": "BB-11545", + "Customers.customerName": "Customer 5", + }, + Object { + "Customers.customerId": "BF-11020", + "Customers.customerName": "Customer 6", + }, + Object { + "Customers.customerId": "BF-11170", + "Customers.customerName": "Customer 7", + }, + Object { + "Customers.customerId": "BM-11650", + "Customers.customerName": "Customer 8", + }, + Object { + "Customers.customerId": "BS-11380", + "Customers.customerName": "Customer 9", + }, + Object { + "Customers.customerId": "BS-11755", + "Customers.customerName": "Customer 10", + }, + Object { + "Customers.customerId": "CA-12775", + "Customers.customerName": "Customer 11", + }, + Object { + "Customers.customerId": "CC-12475", + "Customers.customerName": "Customer 12", + }, + Object { + "Customers.customerId": "CD-12280", + "Customers.customerName": "Customer 13", + }, + Object { + "Customers.customerId": "CS-12355", + "Customers.customerName": "Customer 14", + }, + Object { + "Customers.customerId": "DB-13405", + "Customers.customerName": "Customer 15", + }, + Object { + "Customers.customerId": "DG-13300", + "Customers.customerName": "Customer 16", + }, + Object { + "Customers.customerId": "DW-13480", + "Customers.customerName": "Customer 17", + }, + Object { + "Customers.customerId": "EM-14140", + "Customers.customerName": "Customer 18", + }, + Object { + "Customers.customerId": "GA-14725", + "Customers.customerName": "Customer 19", + }, + Object { + "Customers.customerId": "GZ-14470", + "Customers.customerName": "Customer 20", + }, + Object { + "Customers.customerId": "HH-15010", + "Customers.customerName": "Customer 21", + }, + Object { + "Customers.customerId": "HK-14890", + "Customers.customerName": "Customer 22", + }, + Object { + "Customers.customerId": "JH-15430", + "Customers.customerName": "Customer 23", + }, + Object { + "Customers.customerId": "JO-15550", + "Customers.customerName": "Customer 24", + }, + Object { + "Customers.customerId": "JS-16030", + "Customers.customerName": "Customer 25", + }, + Object { + "Customers.customerId": "JW-15220", + "Customers.customerName": "Customer 26", + }, + Object { + "Customers.customerId": "KL-16555", + "Customers.customerName": "Customer 27", + }, + Object { + "Customers.customerId": "KN-16705", + "Customers.customerName": "Customer 28", + }, + Object { + "Customers.customerId": "LC-17050", + "Customers.customerName": "Customer 29", + }, + Object { + "Customers.customerId": "LR-16915", + "Customers.customerName": "Customer 30", + }, + Object { + "Customers.customerId": "MC-17605", + "Customers.customerName": "Customer 31", + }, + Object { + "Customers.customerId": "MG-17650", + "Customers.customerName": "Customer 32", + }, + Object { + "Customers.customerId": "ML-17755", + "Customers.customerName": "Customer 33", + }, + Object { + "Customers.customerId": "MM-18280", + "Customers.customerName": "Customer 34", + }, + Object { + "Customers.customerId": "NP-18670", + "Customers.customerName": "Customer 35", + }, + Object { + "Customers.customerId": "PF-19165", + "Customers.customerName": "Customer 36", + }, + Object { + "Customers.customerId": "SB-20185", + "Customers.customerName": "Customer 37", + }, + Object { + "Customers.customerId": "SS-20140", + "Customers.customerName": "Customer 38", + }, + Object { + "Customers.customerId": "TB-21175", + "Customers.customerName": "Customer 39", + }, + Object { + "Customers.customerId": "TS-21205", + "Customers.customerName": "Customer 40", + }, + Object { + "Customers.customerId": "WB-21850", + "Customers.customerName": "Customer 41", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver filtering Customers: endsWith filter + dimensions, third 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/snowflake-driver filtering Customers: notEndsWith filter + dimensions, first 1`] = ` +Array [ + Object { + "Customers.customerId": "AH-10465", + "Customers.customerName": "Customer 1", + }, + Object { + "Customers.customerId": "AS-10225", + "Customers.customerName": "Customer 3", + }, + Object { + "Customers.customerId": "BB-11545", + "Customers.customerName": "Customer 5", + }, + Object { + "Customers.customerId": "BS-11755", + "Customers.customerName": "Customer 10", + }, + Object { + "Customers.customerId": "CA-12775", + "Customers.customerName": "Customer 11", + }, + Object { + "Customers.customerId": "CC-12475", + "Customers.customerName": "Customer 12", + }, + Object { + "Customers.customerId": "CS-12355", + "Customers.customerName": "Customer 14", + }, + Object { + "Customers.customerId": "DB-13405", + "Customers.customerName": "Customer 15", + }, + Object { + "Customers.customerId": "GA-14725", + "Customers.customerName": "Customer 19", + }, + Object { + "Customers.customerId": "KL-16555", + "Customers.customerName": "Customer 27", + }, + Object { + "Customers.customerId": "KN-16705", + "Customers.customerName": "Customer 28", + }, + Object { + "Customers.customerId": "LR-16915", + "Customers.customerName": "Customer 30", + }, + Object { + "Customers.customerId": "MC-17605", + "Customers.customerName": "Customer 31", + }, + Object { + "Customers.customerId": "ML-17755", + "Customers.customerName": "Customer 33", + }, + Object { + "Customers.customerId": "PF-19165", + "Customers.customerName": "Customer 36", + }, + Object { + "Customers.customerId": "SB-20185", + "Customers.customerName": "Customer 37", + }, + Object { + "Customers.customerId": "TB-21175", + "Customers.customerName": "Customer 39", + }, + Object { + "Customers.customerId": "TS-21205", + "Customers.customerName": "Customer 40", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver filtering Customers: notEndsWith filter + dimensions, second 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/snowflake-driver filtering Customers: notEndsWith filter + dimensions, third 1`] = ` +Array [ + Object { + "Customers.customerId": "AH-10465", + "Customers.customerName": "Customer 1", + }, + Object { + "Customers.customerId": "AJ-10780", + "Customers.customerName": "Customer 2", + }, + Object { + "Customers.customerId": "AS-10225", + "Customers.customerName": "Customer 3", + }, + Object { + "Customers.customerId": "AW-10840", + "Customers.customerName": "Customer 4", + }, + Object { + "Customers.customerId": "BB-11545", + "Customers.customerName": "Customer 5", + }, + Object { + "Customers.customerId": "BF-11020", + "Customers.customerName": "Customer 6", + }, + Object { + "Customers.customerId": "BF-11170", + "Customers.customerName": "Customer 7", + }, + Object { + "Customers.customerId": "BM-11650", + "Customers.customerName": "Customer 8", + }, + Object { + "Customers.customerId": "BS-11380", + "Customers.customerName": "Customer 9", + }, + Object { + "Customers.customerId": "BS-11755", + "Customers.customerName": "Customer 10", + }, + Object { + "Customers.customerId": "CA-12775", + "Customers.customerName": "Customer 11", + }, + Object { + "Customers.customerId": "CC-12475", + "Customers.customerName": "Customer 12", + }, + Object { + "Customers.customerId": "CD-12280", + "Customers.customerName": "Customer 13", + }, + Object { + "Customers.customerId": "CS-12355", + "Customers.customerName": "Customer 14", + }, + Object { + "Customers.customerId": "DB-13405", + "Customers.customerName": "Customer 15", + }, + Object { + "Customers.customerId": "DG-13300", + "Customers.customerName": "Customer 16", + }, + Object { + "Customers.customerId": "DW-13480", + "Customers.customerName": "Customer 17", + }, + Object { + "Customers.customerId": "EM-14140", + "Customers.customerName": "Customer 18", + }, + Object { + "Customers.customerId": "GA-14725", + "Customers.customerName": "Customer 19", + }, + Object { + "Customers.customerId": "GZ-14470", + "Customers.customerName": "Customer 20", + }, + Object { + "Customers.customerId": "HH-15010", + "Customers.customerName": "Customer 21", + }, + Object { + "Customers.customerId": "HK-14890", + "Customers.customerName": "Customer 22", + }, + Object { + "Customers.customerId": "JH-15430", + "Customers.customerName": "Customer 23", + }, + Object { + "Customers.customerId": "JO-15550", + "Customers.customerName": "Customer 24", + }, + Object { + "Customers.customerId": "JS-16030", + "Customers.customerName": "Customer 25", + }, + Object { + "Customers.customerId": "JW-15220", + "Customers.customerName": "Customer 26", + }, + Object { + "Customers.customerId": "KL-16555", + "Customers.customerName": "Customer 27", + }, + Object { + "Customers.customerId": "KN-16705", + "Customers.customerName": "Customer 28", + }, + Object { + "Customers.customerId": "LC-17050", + "Customers.customerName": "Customer 29", + }, + Object { + "Customers.customerId": "LR-16915", + "Customers.customerName": "Customer 30", + }, + Object { + "Customers.customerId": "MC-17605", + "Customers.customerName": "Customer 31", + }, + Object { + "Customers.customerId": "MG-17650", + "Customers.customerName": "Customer 32", + }, + Object { + "Customers.customerId": "ML-17755", + "Customers.customerName": "Customer 33", + }, + Object { + "Customers.customerId": "MM-18280", + "Customers.customerName": "Customer 34", + }, + Object { + "Customers.customerId": "NP-18670", + "Customers.customerName": "Customer 35", + }, + Object { + "Customers.customerId": "PF-19165", + "Customers.customerName": "Customer 36", + }, + Object { + "Customers.customerId": "SB-20185", + "Customers.customerName": "Customer 37", + }, + Object { + "Customers.customerId": "SS-20140", + "Customers.customerName": "Customer 38", + }, + Object { + "Customers.customerId": "TB-21175", + "Customers.customerName": "Customer 39", + }, + Object { + "Customers.customerId": "TS-21205", + "Customers.customerName": "Customer 40", + }, + Object { + "Customers.customerId": "WB-21850", + "Customers.customerName": "Customer 41", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver filtering Customers: notStartsWith + dimensions, first 1`] = ` +Array [ + Object { + "Customers.customerId": "BB-11545", + "Customers.customerName": "Customer 5", + }, + Object { + "Customers.customerId": "BF-11020", + "Customers.customerName": "Customer 6", + }, + Object { + "Customers.customerId": "BF-11170", + "Customers.customerName": "Customer 7", + }, + Object { + "Customers.customerId": "BM-11650", + "Customers.customerName": "Customer 8", + }, + Object { + "Customers.customerId": "BS-11380", + "Customers.customerName": "Customer 9", + }, + Object { + "Customers.customerId": "BS-11755", + "Customers.customerName": "Customer 10", + }, + Object { + "Customers.customerId": "CA-12775", + "Customers.customerName": "Customer 11", + }, + Object { + "Customers.customerId": "CC-12475", + "Customers.customerName": "Customer 12", + }, + Object { + "Customers.customerId": "CD-12280", + "Customers.customerName": "Customer 13", + }, + Object { + "Customers.customerId": "CS-12355", + "Customers.customerName": "Customer 14", + }, + Object { + "Customers.customerId": "DB-13405", + "Customers.customerName": "Customer 15", + }, + Object { + "Customers.customerId": "DG-13300", + "Customers.customerName": "Customer 16", + }, + Object { + "Customers.customerId": "DW-13480", + "Customers.customerName": "Customer 17", + }, + Object { + "Customers.customerId": "EM-14140", + "Customers.customerName": "Customer 18", + }, + Object { + "Customers.customerId": "GA-14725", + "Customers.customerName": "Customer 19", + }, + Object { + "Customers.customerId": "GZ-14470", + "Customers.customerName": "Customer 20", + }, + Object { + "Customers.customerId": "HH-15010", + "Customers.customerName": "Customer 21", + }, + Object { + "Customers.customerId": "HK-14890", + "Customers.customerName": "Customer 22", + }, + Object { + "Customers.customerId": "JH-15430", + "Customers.customerName": "Customer 23", + }, + Object { + "Customers.customerId": "JO-15550", + "Customers.customerName": "Customer 24", + }, + Object { + "Customers.customerId": "JS-16030", + "Customers.customerName": "Customer 25", + }, + Object { + "Customers.customerId": "JW-15220", + "Customers.customerName": "Customer 26", + }, + Object { + "Customers.customerId": "KL-16555", + "Customers.customerName": "Customer 27", + }, + Object { + "Customers.customerId": "KN-16705", + "Customers.customerName": "Customer 28", + }, + Object { + "Customers.customerId": "LC-17050", + "Customers.customerName": "Customer 29", + }, + Object { + "Customers.customerId": "LR-16915", + "Customers.customerName": "Customer 30", + }, + Object { + "Customers.customerId": "MC-17605", + "Customers.customerName": "Customer 31", + }, + Object { + "Customers.customerId": "MG-17650", + "Customers.customerName": "Customer 32", + }, + Object { + "Customers.customerId": "ML-17755", + "Customers.customerName": "Customer 33", + }, + Object { + "Customers.customerId": "MM-18280", + "Customers.customerName": "Customer 34", + }, + Object { + "Customers.customerId": "NP-18670", + "Customers.customerName": "Customer 35", + }, + Object { + "Customers.customerId": "PF-19165", + "Customers.customerName": "Customer 36", + }, + Object { + "Customers.customerId": "SB-20185", + "Customers.customerName": "Customer 37", + }, + Object { + "Customers.customerId": "SS-20140", + "Customers.customerName": "Customer 38", + }, + Object { + "Customers.customerId": "TB-21175", + "Customers.customerName": "Customer 39", + }, + Object { + "Customers.customerId": "TS-21205", + "Customers.customerName": "Customer 40", + }, + Object { + "Customers.customerId": "WB-21850", + "Customers.customerName": "Customer 41", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver filtering Customers: notStartsWith + dimensions, second 1`] = ` +Array [ + Object { + "Customers.customerId": "CA-12775", + "Customers.customerName": "Customer 11", + }, + Object { + "Customers.customerId": "CC-12475", + "Customers.customerName": "Customer 12", + }, + Object { + "Customers.customerId": "CD-12280", + "Customers.customerName": "Customer 13", + }, + Object { + "Customers.customerId": "CS-12355", + "Customers.customerName": "Customer 14", + }, + Object { + "Customers.customerId": "DB-13405", + "Customers.customerName": "Customer 15", + }, + Object { + "Customers.customerId": "DG-13300", + "Customers.customerName": "Customer 16", + }, + Object { + "Customers.customerId": "DW-13480", + "Customers.customerName": "Customer 17", + }, + Object { + "Customers.customerId": "EM-14140", + "Customers.customerName": "Customer 18", + }, + Object { + "Customers.customerId": "GA-14725", + "Customers.customerName": "Customer 19", + }, + Object { + "Customers.customerId": "GZ-14470", + "Customers.customerName": "Customer 20", + }, + Object { + "Customers.customerId": "HH-15010", + "Customers.customerName": "Customer 21", + }, + Object { + "Customers.customerId": "HK-14890", + "Customers.customerName": "Customer 22", + }, + Object { + "Customers.customerId": "JH-15430", + "Customers.customerName": "Customer 23", + }, + Object { + "Customers.customerId": "JO-15550", + "Customers.customerName": "Customer 24", + }, + Object { + "Customers.customerId": "JS-16030", + "Customers.customerName": "Customer 25", + }, + Object { + "Customers.customerId": "JW-15220", + "Customers.customerName": "Customer 26", + }, + Object { + "Customers.customerId": "KL-16555", + "Customers.customerName": "Customer 27", + }, + Object { + "Customers.customerId": "KN-16705", + "Customers.customerName": "Customer 28", + }, + Object { + "Customers.customerId": "LC-17050", + "Customers.customerName": "Customer 29", + }, + Object { + "Customers.customerId": "LR-16915", + "Customers.customerName": "Customer 30", + }, + Object { + "Customers.customerId": "MC-17605", + "Customers.customerName": "Customer 31", + }, + Object { + "Customers.customerId": "MG-17650", + "Customers.customerName": "Customer 32", + }, + Object { + "Customers.customerId": "ML-17755", + "Customers.customerName": "Customer 33", + }, + Object { + "Customers.customerId": "MM-18280", + "Customers.customerName": "Customer 34", + }, + Object { + "Customers.customerId": "NP-18670", + "Customers.customerName": "Customer 35", + }, + Object { + "Customers.customerId": "PF-19165", + "Customers.customerName": "Customer 36", + }, + Object { + "Customers.customerId": "SB-20185", + "Customers.customerName": "Customer 37", + }, + Object { + "Customers.customerId": "SS-20140", + "Customers.customerName": "Customer 38", + }, + Object { + "Customers.customerId": "TB-21175", + "Customers.customerName": "Customer 39", + }, + Object { + "Customers.customerId": "TS-21205", + "Customers.customerName": "Customer 40", + }, + Object { + "Customers.customerId": "WB-21850", + "Customers.customerName": "Customer 41", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver filtering Customers: notStartsWith + dimensions, third 1`] = ` +Array [ + Object { + "Customers.customerId": "AH-10465", + "Customers.customerName": "Customer 1", + }, + Object { + "Customers.customerId": "AJ-10780", + "Customers.customerName": "Customer 2", + }, + Object { + "Customers.customerId": "AS-10225", + "Customers.customerName": "Customer 3", + }, + Object { + "Customers.customerId": "AW-10840", + "Customers.customerName": "Customer 4", + }, + Object { + "Customers.customerId": "BB-11545", + "Customers.customerName": "Customer 5", + }, + Object { + "Customers.customerId": "BF-11020", + "Customers.customerName": "Customer 6", + }, + Object { + "Customers.customerId": "BF-11170", + "Customers.customerName": "Customer 7", + }, + Object { + "Customers.customerId": "BM-11650", + "Customers.customerName": "Customer 8", + }, + Object { + "Customers.customerId": "BS-11380", + "Customers.customerName": "Customer 9", + }, + Object { + "Customers.customerId": "BS-11755", + "Customers.customerName": "Customer 10", + }, + Object { + "Customers.customerId": "CA-12775", + "Customers.customerName": "Customer 11", + }, + Object { + "Customers.customerId": "CC-12475", + "Customers.customerName": "Customer 12", + }, + Object { + "Customers.customerId": "CD-12280", + "Customers.customerName": "Customer 13", + }, + Object { + "Customers.customerId": "CS-12355", + "Customers.customerName": "Customer 14", + }, + Object { + "Customers.customerId": "DB-13405", + "Customers.customerName": "Customer 15", + }, + Object { + "Customers.customerId": "DG-13300", + "Customers.customerName": "Customer 16", + }, + Object { + "Customers.customerId": "DW-13480", + "Customers.customerName": "Customer 17", + }, + Object { + "Customers.customerId": "EM-14140", + "Customers.customerName": "Customer 18", + }, + Object { + "Customers.customerId": "GA-14725", + "Customers.customerName": "Customer 19", + }, + Object { + "Customers.customerId": "GZ-14470", + "Customers.customerName": "Customer 20", + }, + Object { + "Customers.customerId": "HH-15010", + "Customers.customerName": "Customer 21", + }, + Object { + "Customers.customerId": "HK-14890", + "Customers.customerName": "Customer 22", + }, + Object { + "Customers.customerId": "JH-15430", + "Customers.customerName": "Customer 23", + }, + Object { + "Customers.customerId": "JO-15550", + "Customers.customerName": "Customer 24", + }, + Object { + "Customers.customerId": "JS-16030", + "Customers.customerName": "Customer 25", + }, + Object { + "Customers.customerId": "JW-15220", + "Customers.customerName": "Customer 26", + }, + Object { + "Customers.customerId": "KL-16555", + "Customers.customerName": "Customer 27", + }, + Object { + "Customers.customerId": "KN-16705", + "Customers.customerName": "Customer 28", + }, + Object { + "Customers.customerId": "LC-17050", + "Customers.customerName": "Customer 29", + }, + Object { + "Customers.customerId": "LR-16915", + "Customers.customerName": "Customer 30", + }, + Object { + "Customers.customerId": "MC-17605", + "Customers.customerName": "Customer 31", + }, + Object { + "Customers.customerId": "MG-17650", + "Customers.customerName": "Customer 32", + }, + Object { + "Customers.customerId": "ML-17755", + "Customers.customerName": "Customer 33", + }, + Object { + "Customers.customerId": "MM-18280", + "Customers.customerName": "Customer 34", + }, + Object { + "Customers.customerId": "NP-18670", + "Customers.customerName": "Customer 35", + }, + Object { + "Customers.customerId": "PF-19165", + "Customers.customerName": "Customer 36", + }, + Object { + "Customers.customerId": "SB-20185", + "Customers.customerName": "Customer 37", + }, + Object { + "Customers.customerId": "SS-20140", + "Customers.customerName": "Customer 38", + }, + Object { + "Customers.customerId": "TB-21175", + "Customers.customerName": "Customer 39", + }, + Object { + "Customers.customerId": "TS-21205", + "Customers.customerName": "Customer 40", + }, + Object { + "Customers.customerId": "WB-21850", + "Customers.customerName": "Customer 41", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver filtering Customers: startsWith + dimensions, first 1`] = ` +Array [ + Object { + "Customers.customerId": "AH-10465", + "Customers.customerName": "Customer 1", + }, + Object { + "Customers.customerId": "AJ-10780", + "Customers.customerName": "Customer 2", + }, + Object { + "Customers.customerId": "AS-10225", + "Customers.customerName": "Customer 3", + }, + Object { + "Customers.customerId": "AW-10840", + "Customers.customerName": "Customer 4", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver filtering Customers: startsWith + dimensions, second 1`] = ` +Array [ + Object { + "Customers.customerId": "AH-10465", + "Customers.customerName": "Customer 1", + }, + Object { + "Customers.customerId": "AJ-10780", + "Customers.customerName": "Customer 2", + }, + Object { + "Customers.customerId": "AS-10225", + "Customers.customerName": "Customer 3", + }, + Object { + "Customers.customerId": "AW-10840", + "Customers.customerName": "Customer 4", + }, + Object { + "Customers.customerId": "BB-11545", + "Customers.customerName": "Customer 5", + }, + Object { + "Customers.customerId": "BF-11020", + "Customers.customerName": "Customer 6", + }, + Object { + "Customers.customerId": "BF-11170", + "Customers.customerName": "Customer 7", + }, + Object { + "Customers.customerId": "BM-11650", + "Customers.customerName": "Customer 8", + }, + Object { + "Customers.customerId": "BS-11380", + "Customers.customerName": "Customer 9", + }, + Object { + "Customers.customerId": "BS-11755", + "Customers.customerName": "Customer 10", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver filtering Customers: startsWith + dimensions, third 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/snowflake-driver filtering ECommerce: contains dimensions, first 1`] = ` +Array [ + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Detroit", + "ECommerce.customerId": "MC-17605", + "ECommerce.customerName": "Customer 31", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-01-23T00:00:00.000", + "ECommerce.orderId": "CA-2017-145142", + "ECommerce.productName": "Balt Solid Wood Rectangular Table", + "ECommerce.profit": "21.0980", + "ECommerce.quantity": "2", + "ECommerce.rowId": "523", + "ECommerce.sales": "210.980", + "ECommerce.subCategory": "Tables", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "San Francisco", + "ECommerce.customerId": "HH-15010", + "ECommerce.customerName": "Customer 21", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-10-19T00:00:00.000", + "ECommerce.orderId": "CA-2017-131492", + "ECommerce.productName": "Anderson Hickey Conga Table Tops & Accessories", + "ECommerce.profit": "-3.3506", + "ECommerce.quantity": "2", + "ECommerce.rowId": "3060", + "ECommerce.sales": "24.368", + "ECommerce.subCategory": "Tables", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver filtering ECommerce: contains dimensions, second 1`] = ` +Array [ + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Detroit", + "ECommerce.customerId": "MC-17605", + "ECommerce.customerName": "Customer 31", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-01-23T00:00:00.000", + "ECommerce.orderId": "CA-2017-145142", + "ECommerce.productName": "Balt Solid Wood Rectangular Table", + "ECommerce.profit": "21.0980", + "ECommerce.quantity": "2", + "ECommerce.rowId": "523", + "ECommerce.sales": "210.980", + "ECommerce.subCategory": "Tables", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Lorain", + "ECommerce.customerId": "GA-14725", + "ECommerce.customerName": "Customer 19", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderId": "CA-2017-107503", + "ECommerce.productName": "Linden 10 Round Wall Clock, Black", + "ECommerce.profit": "8.5568", + "ECommerce.quantity": "4", + "ECommerce.rowId": "849", + "ECommerce.sales": "48.896", + "ECommerce.subCategory": "Furnishings", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Vancouver", + "ECommerce.customerId": "JW-15220", + "ECommerce.customerName": "Customer 26", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-10-30T00:00:00.000", + "ECommerce.orderId": "CA-2017-139661", + "ECommerce.productName": "Magna Visual Magnetic Picture Hangers", + "ECommerce.profit": "3.6632", + "ECommerce.quantity": "2", + "ECommerce.rowId": "1494", + "ECommerce.sales": "9.640", + "ECommerce.subCategory": "Furnishings", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "San Francisco", + "ECommerce.customerId": "HH-15010", + "ECommerce.customerName": "Customer 21", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-10-19T00:00:00.000", + "ECommerce.orderId": "CA-2017-131492", + "ECommerce.productName": "Linden 10 Round Wall Clock, Black", + "ECommerce.profit": "10.3904", + "ECommerce.quantity": "2", + "ECommerce.rowId": "3059", + "ECommerce.sales": "30.560", + "ECommerce.subCategory": "Furnishings", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "San Francisco", + "ECommerce.customerId": "HH-15010", + "ECommerce.customerName": "Customer 21", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-10-19T00:00:00.000", + "ECommerce.orderId": "CA-2017-131492", + "ECommerce.productName": "Anderson Hickey Conga Table Tops & Accessories", + "ECommerce.profit": "-3.3506", + "ECommerce.quantity": "2", + "ECommerce.rowId": "3060", + "ECommerce.sales": "24.368", + "ECommerce.subCategory": "Tables", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Marion", + "ECommerce.customerId": "MG-17650", + "ECommerce.customerName": "Customer 32", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-12-01T00:00:00.000", + "ECommerce.orderId": "CA-2017-145660", + "ECommerce.productName": "Magna Visual Magnetic Picture Hangers", + "ECommerce.profit": "1.7352", + "ECommerce.quantity": "2", + "ECommerce.rowId": "6205", + "ECommerce.sales": "7.712", + "ECommerce.subCategory": "Furnishings", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Philadelphia", + "ECommerce.customerId": "BS-11755", + "ECommerce.customerName": "Customer 10", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-04-10T00:00:00.000", + "ECommerce.orderId": "CA-2017-135069", + "ECommerce.productName": "Linden 10 Round Wall Clock, Black", + "ECommerce.profit": "6.4176", + "ECommerce.quantity": "3", + "ECommerce.rowId": "7425", + "ECommerce.sales": "36.672", + "ECommerce.subCategory": "Furnishings", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Dallas", + "ECommerce.customerId": "LC-17050", + "ECommerce.customerName": "Customer 29", + "ECommerce.discount": "0.6", + "ECommerce.orderDate": "2020-11-06T00:00:00.000", + "ECommerce.orderId": "US-2017-119319", + "ECommerce.productName": "Linden 10 Round Wall Clock, Black", + "ECommerce.profit": "-19.8640", + "ECommerce.quantity": "5", + "ECommerce.rowId": "8621", + "ECommerce.sales": "30.560", + "ECommerce.subCategory": "Furnishings", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver filtering ECommerce: contains dimensions, third 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/snowflake-driver filtering ECommerce: endsWith + dimensions, first 1`] = ` +Array [ + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Marion", + "ECommerce.customerId": "MG-17650", + "ECommerce.customerName": "Customer 32", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-12-01T00:00:00.000", + "ECommerce.orderId": "CA-2017-145660", + "ECommerce.productName": "Magna Visual Magnetic Picture Hangers", + "ECommerce.profit": "1.7352", + "ECommerce.quantity": "2", + "ECommerce.rowId": "6205", + "ECommerce.sales": "7.712", + "ECommerce.subCategory": "Furnishings", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "JH-15430", + "ECommerce.customerName": "Customer 23", + "ECommerce.discount": "0.5", + "ECommerce.orderDate": "2020-12-25T00:00:00.000", + "ECommerce.orderId": "CA-2017-105620", + "ECommerce.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", + "ECommerce.profit": "-7.2000", + "ECommerce.quantity": "2", + "ECommerce.rowId": "8958", + "ECommerce.sales": "120.000", + "ECommerce.subCategory": "Machines", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver filtering ECommerce: endsWith + dimensions, second 1`] = ` +Array [ + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Detroit", + "ECommerce.customerId": "MC-17605", + "ECommerce.customerName": "Customer 31", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-01-23T00:00:00.000", + "ECommerce.orderId": "CA-2017-145142", + "ECommerce.productName": "Balt Solid Wood Rectangular Table", + "ECommerce.profit": "21.0980", + "ECommerce.quantity": "2", + "ECommerce.rowId": "523", + "ECommerce.sales": "210.980", + "ECommerce.subCategory": "Tables", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Vancouver", + "ECommerce.customerId": "JW-15220", + "ECommerce.customerName": "Customer 26", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-10-30T00:00:00.000", + "ECommerce.orderId": "CA-2017-139661", + "ECommerce.productName": "Magna Visual Magnetic Picture Hangers", + "ECommerce.profit": "3.6632", + "ECommerce.quantity": "2", + "ECommerce.rowId": "1494", + "ECommerce.sales": "9.640", + "ECommerce.subCategory": "Furnishings", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "KN-16705", + "ECommerce.customerName": "Customer 28", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-09-23T00:00:00.000", + "ECommerce.orderId": "CA-2017-138422", + "ECommerce.productName": "Wausau Papers Astrobrights Colored Envelopes", + "ECommerce.profit": "5.2026", + "ECommerce.quantity": "3", + "ECommerce.rowId": "2329", + "ECommerce.sales": "14.352", + "ECommerce.subCategory": "Envelopes", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "DG-13300", + "ECommerce.customerName": "Customer 16", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-11-28T00:00:00.000", + "ECommerce.orderId": "CA-2017-123372", + "ECommerce.productName": "Google Nexus 5", + "ECommerce.profit": "494.9725", + "ECommerce.quantity": "11", + "ECommerce.rowId": "2661", + "ECommerce.sales": "1979.890", + "ECommerce.subCategory": "Phones", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "San Francisco", + "ECommerce.customerId": "HH-15010", + "ECommerce.customerName": "Customer 21", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-10-19T00:00:00.000", + "ECommerce.orderId": "CA-2017-131492", + "ECommerce.productName": "Linden 10 Round Wall Clock, Black", + "ECommerce.profit": "10.3904", + "ECommerce.quantity": "2", + "ECommerce.rowId": "3059", + "ECommerce.sales": "30.560", + "ECommerce.subCategory": "Furnishings", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "San Francisco", + "ECommerce.customerId": "HH-15010", + "ECommerce.customerName": "Customer 21", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-10-19T00:00:00.000", + "ECommerce.orderId": "CA-2017-131492", + "ECommerce.productName": "Anderson Hickey Conga Table Tops & Accessories", + "ECommerce.profit": "-3.3506", + "ECommerce.quantity": "2", + "ECommerce.rowId": "3060", + "ECommerce.sales": "24.368", + "ECommerce.subCategory": "Tables", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Bakersfield", + "ECommerce.customerId": "AW-10840", + "ECommerce.customerName": "Customer 4", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-09-02T00:00:00.000", + "ECommerce.orderId": "CA-2017-123001", + "ECommerce.productName": "OIC #2 Pencils, Medium Soft", + "ECommerce.profit": "2.7260", + "ECommerce.quantity": "5", + "ECommerce.rowId": "3934", + "ECommerce.sales": "9.400", + "ECommerce.subCategory": "Art", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Philadelphia", + "ECommerce.customerId": "CC-12475", + "ECommerce.customerName": "Customer 12", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-11-21T00:00:00.000", + "ECommerce.orderId": "CA-2017-100811", + "ECommerce.productName": "Recycled Eldon Regeneration Jumbo File", + "ECommerce.profit": "3.9296", + "ECommerce.quantity": "4", + "ECommerce.rowId": "4012", + "ECommerce.sales": "39.296", + "ECommerce.subCategory": "Storage", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Los Angeles", + "ECommerce.customerId": "SS-20140", + "ECommerce.customerName": "Customer 38", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-06-03T00:00:00.000", + "ECommerce.orderId": "CA-2017-145772", + "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.1", + "ECommerce.profit": "8.5025", + "ECommerce.quantity": "5", + "ECommerce.rowId": "6125", + "ECommerce.sales": "44.750", + "ECommerce.subCategory": "Accessories", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Baltimore", + "ECommerce.customerId": "AJ-10780", + "ECommerce.customerName": "Customer 2", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-05-14T00:00:00.000", + "ECommerce.orderId": "US-2017-133361", + "ECommerce.productName": "OIC #2 Pencils, Medium Soft", + "ECommerce.profit": "1.0904", + "ECommerce.quantity": "2", + "ECommerce.rowId": "6459", + "ECommerce.sales": "3.760", + "ECommerce.subCategory": "Art", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "New York City", + "ECommerce.customerId": "MM-18280", + "ECommerce.customerName": "Customer 34", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-06-10T00:00:00.000", + "ECommerce.orderId": "CA-2017-112172", + "ECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", + "ECommerce.profit": "0.7065", + "ECommerce.quantity": "3", + "ECommerce.rowId": "7310", + "ECommerce.sales": "14.130", + "ECommerce.subCategory": "Fasteners", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Lakewood", + "ECommerce.customerId": "NP-18670", + "ECommerce.customerName": "Customer 35", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-10-12T00:00:00.000", + "ECommerce.orderId": "CA-2017-150091", + "ECommerce.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", + "ECommerce.profit": "129.2940", + "ECommerce.quantity": "5", + "ECommerce.rowId": "8425", + "ECommerce.sales": "2154.900", + "ECommerce.subCategory": "Bookcases", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver filtering ECommerce: endsWith + dimensions, third 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/snowflake-driver filtering ECommerce: startsWith + dimensions, first 1`] = ` +Array [ + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Provo", + "ECommerce.customerId": "AS-10225", + "ECommerce.customerName": "Customer 3", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-09-17T00:00:00.000", + "ECommerce.orderId": "CA-2017-112515", + "ECommerce.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", + "ECommerce.profit": "77.5764", + "ECommerce.quantity": "3", + "ECommerce.rowId": "2655", + "ECommerce.sales": "1292.940", + "ECommerce.subCategory": "Bookcases", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Bakersfield", + "ECommerce.customerId": "AW-10840", + "ECommerce.customerName": "Customer 4", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-09-02T00:00:00.000", + "ECommerce.orderId": "CA-2017-123001", + "ECommerce.productName": "OIC #2 Pencils, Medium Soft", + "ECommerce.profit": "2.7260", + "ECommerce.quantity": "5", + "ECommerce.rowId": "3934", + "ECommerce.sales": "9.400", + "ECommerce.subCategory": "Art", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "New York City", + "ECommerce.customerId": "AH-10465", + "ECommerce.customerName": "Customer 1", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-05-14T00:00:00.000", + "ECommerce.orderId": "CA-2017-115546", + "ECommerce.productName": "Google Nexus 7", + "ECommerce.profit": "134.9925", + "ECommerce.quantity": "3", + "ECommerce.rowId": "4161", + "ECommerce.sales": "539.970", + "ECommerce.subCategory": "Phones", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Baltimore", + "ECommerce.customerId": "AJ-10780", + "ECommerce.customerName": "Customer 2", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-05-14T00:00:00.000", + "ECommerce.orderId": "US-2017-133361", + "ECommerce.productName": "OIC #2 Pencils, Medium Soft", + "ECommerce.profit": "1.0904", + "ECommerce.quantity": "2", + "ECommerce.rowId": "6459", + "ECommerce.sales": "3.760", + "ECommerce.subCategory": "Art", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver filtering ECommerce: startsWith + dimensions, second 1`] = ` +Array [ + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "BM-11650", + "ECommerce.customerName": "Customer 8", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-05-13T00:00:00.000", + "ECommerce.orderId": "CA-2017-149048", + "ECommerce.productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", + "ECommerce.profit": "81.4320", + "ECommerce.quantity": "2", + "ECommerce.rowId": "2595", + "ECommerce.sales": "180.960", + "ECommerce.subCategory": "Envelopes", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Provo", + "ECommerce.customerId": "AS-10225", + "ECommerce.customerName": "Customer 3", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-09-17T00:00:00.000", + "ECommerce.orderId": "CA-2017-112515", + "ECommerce.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", + "ECommerce.profit": "77.5764", + "ECommerce.quantity": "3", + "ECommerce.rowId": "2655", + "ECommerce.sales": "1292.940", + "ECommerce.subCategory": "Bookcases", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Bakersfield", + "ECommerce.customerId": "AW-10840", + "ECommerce.customerName": "Customer 4", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-09-02T00:00:00.000", + "ECommerce.orderId": "CA-2017-123001", + "ECommerce.productName": "OIC #2 Pencils, Medium Soft", + "ECommerce.profit": "2.7260", + "ECommerce.quantity": "5", + "ECommerce.rowId": "3934", + "ECommerce.sales": "9.400", + "ECommerce.subCategory": "Art", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "New York City", + "ECommerce.customerId": "AH-10465", + "ECommerce.customerName": "Customer 1", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-05-14T00:00:00.000", + "ECommerce.orderId": "CA-2017-115546", + "ECommerce.productName": "Google Nexus 7", + "ECommerce.profit": "134.9925", + "ECommerce.quantity": "3", + "ECommerce.rowId": "4161", + "ECommerce.sales": "539.970", + "ECommerce.subCategory": "Phones", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Oakland", + "ECommerce.customerId": "BB-11545", + "ECommerce.customerName": "Customer 5", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-12-02T00:00:00.000", + "ECommerce.orderId": "CA-2017-102379", + "ECommerce.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", + "ECommerce.profit": "44.9750", + "ECommerce.quantity": "5", + "ECommerce.rowId": "6272", + "ECommerce.sales": "179.900", + "ECommerce.subCategory": "Art", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Baltimore", + "ECommerce.customerId": "AJ-10780", + "ECommerce.customerName": "Customer 2", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-05-14T00:00:00.000", + "ECommerce.orderId": "US-2017-133361", + "ECommerce.productName": "OIC #2 Pencils, Medium Soft", + "ECommerce.profit": "1.0904", + "ECommerce.quantity": "2", + "ECommerce.rowId": "6459", + "ECommerce.sales": "3.760", + "ECommerce.subCategory": "Art", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Arlington", + "ECommerce.customerId": "BF-11020", + "ECommerce.customerName": "Customer 6", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-09-08T00:00:00.000", + "ECommerce.orderId": "US-2017-124779", + "ECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", + "ECommerce.profit": "15.4980", + "ECommerce.quantity": "5", + "ECommerce.rowId": "6651", + "ECommerce.sales": "45.920", + "ECommerce.subCategory": "Fasteners", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Philadelphia", + "ECommerce.customerId": "BS-11755", + "ECommerce.customerName": "Customer 10", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-04-10T00:00:00.000", + "ECommerce.orderId": "CA-2017-135069", + "ECommerce.productName": "Linden 10 Round Wall Clock, Black", + "ECommerce.profit": "6.4176", + "ECommerce.quantity": "3", + "ECommerce.rowId": "7425", + "ECommerce.sales": "36.672", + "ECommerce.subCategory": "Furnishings", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "BF-11170", + "ECommerce.customerName": "Customer 7", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-12-14T00:00:00.000", + "ECommerce.orderId": "CA-2017-151799", + "ECommerce.productName": "Canon PC1080F Personal Copier", + "ECommerce.profit": "467.9922", + "ECommerce.quantity": "2", + "ECommerce.rowId": "7698", + "ECommerce.sales": "1199.980", + "ECommerce.subCategory": "Copiers", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "BS-11380", + "ECommerce.customerName": "Customer 9", + "ECommerce.discount": "0.4", + "ECommerce.orderDate": "2020-11-16T00:00:00.000", + "ECommerce.orderId": "CA-2017-160633", + "ECommerce.productName": "Hewlett Packard 610 Color Digital Copier / Printer", + "ECommerce.profit": "74.9985", + "ECommerce.quantity": "3", + "ECommerce.rowId": "9618", + "ECommerce.sales": "899.982", + "ECommerce.subCategory": "Copiers", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Bowling", + "ECommerce.customerId": "BS-11380", + "ECommerce.customerName": "Customer 9", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-11-16T00:00:00.000", + "ECommerce.orderId": "CA-2017-160633", + "ECommerce.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", + "ECommerce.profit": "5.3970", + "ECommerce.quantity": "3", + "ECommerce.rowId": "9619", + "ECommerce.sales": "86.352", + "ECommerce.subCategory": "Art", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver filtering ECommerce: startsWith + dimensions, third 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/snowflake-driver filtering Products: contains + dimensions + order, first 1`] = ` +Array [ + Object { + "Products.category": "Furniture", + "Products.productName": "Anderson Hickey Conga Table Tops & Accessories", + "Products.subCategory": "Tables", + }, + Object { + "Products.category": "Furniture", + "Products.productName": "Balt Solid Wood Rectangular Table", + "Products.subCategory": "Tables", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver filtering Products: contains + dimensions + order, second 1`] = ` +Array [ + Object { + "Products.category": "Furniture", + "Products.productName": "Linden 10 Round Wall Clock, Black", + "Products.subCategory": "Furnishings", + }, + Object { + "Products.category": "Furniture", + "Products.productName": "Magna Visual Magnetic Picture Hangers", + "Products.subCategory": "Furnishings", + }, + Object { + "Products.category": "Furniture", + "Products.productName": "Anderson Hickey Conga Table Tops & Accessories", + "Products.subCategory": "Tables", + }, + Object { + "Products.category": "Furniture", + "Products.productName": "Balt Solid Wood Rectangular Table", + "Products.subCategory": "Tables", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver filtering Products: contains + dimensions + order, third 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/snowflake-driver filtering Products: contains with special chars + dimensions 1`] = ` +Array [ + Object { + "Products.productName": "Logitech di_Novo Edge Keyboard", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver filtering Products: endsWith filter + dimensions + order, first 1`] = ` +Array [ + Object { + "Products.category": "Furniture", + "Products.productName": "DMI Eclipse Executive Suite Bookcases", + "Products.subCategory": "Bookcases", + }, + Object { + "Products.category": "Furniture", + "Products.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", + "Products.subCategory": "Bookcases", + }, + Object { + "Products.category": "Furniture", + "Products.productName": "Anderson Hickey Conga Table Tops & Accessories", + "Products.subCategory": "Tables", + }, + Object { + "Products.category": "Furniture", + "Products.productName": "Balt Solid Wood Rectangular Table", + "Products.subCategory": "Tables", + }, + Object { + "Products.category": "Office Supplies", + "Products.productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", + "Products.subCategory": "Envelopes", + }, + Object { + "Products.category": "Office Supplies", + "Products.productName": "Wausau Papers Astrobrights Colored Envelopes", + "Products.subCategory": "Envelopes", + }, + Object { + "Products.category": "Technology", + "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.0", + "Products.subCategory": "Accessories", + }, + Object { + "Products.category": "Technology", + "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.1", + "Products.subCategory": "Accessories", + }, + Object { + "Products.category": "Technology", + "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.2", + "Products.subCategory": "Accessories", + }, + Object { + "Products.category": "Technology", + "Products.productName": "Logitech di_Novo Edge Keyboard", + "Products.subCategory": "Accessories", + }, + Object { + "Products.category": "Technology", + "Products.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", + "Products.subCategory": "Machines", + }, + Object { + "Products.category": "Technology", + "Products.productName": "Okidata C610n Printer", + "Products.subCategory": "Machines", + }, + Object { + "Products.category": "Technology", + "Products.productName": "Google Nexus 5", + "Products.subCategory": "Phones", + }, + Object { + "Products.category": "Technology", + "Products.productName": "Google Nexus 6", + "Products.subCategory": "Phones", + }, + Object { + "Products.category": "Technology", + "Products.productName": "Google Nexus 7", + "Products.subCategory": "Phones", + }, + Object { + "Products.category": "Technology", + "Products.productName": "HTC One", + "Products.subCategory": "Phones", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver filtering Products: endsWith filter + dimensions + order, second 1`] = ` +Array [ + Object { + "Products.category": "Furniture", + "Products.productName": "DMI Eclipse Executive Suite Bookcases", + "Products.subCategory": "Bookcases", + }, + Object { + "Products.category": "Furniture", + "Products.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", + "Products.subCategory": "Bookcases", + }, + Object { + "Products.category": "Furniture", + "Products.productName": "Linden 10 Round Wall Clock, Black", + "Products.subCategory": "Furnishings", + }, + Object { + "Products.category": "Furniture", + "Products.productName": "Magna Visual Magnetic Picture Hangers", + "Products.subCategory": "Furnishings", + }, + Object { + "Products.category": "Furniture", + "Products.productName": "Anderson Hickey Conga Table Tops & Accessories", + "Products.subCategory": "Tables", + }, + Object { + "Products.category": "Furniture", + "Products.productName": "Balt Solid Wood Rectangular Table", + "Products.subCategory": "Tables", + }, + Object { + "Products.category": "Office Supplies", + "Products.productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", + "Products.subCategory": "Envelopes", + }, + Object { + "Products.category": "Office Supplies", + "Products.productName": "Wausau Papers Astrobrights Colored Envelopes", + "Products.subCategory": "Envelopes", + }, + Object { + "Products.category": "Technology", + "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.0", + "Products.subCategory": "Accessories", + }, + Object { + "Products.category": "Technology", + "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.1", + "Products.subCategory": "Accessories", + }, + Object { + "Products.category": "Technology", + "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.2", + "Products.subCategory": "Accessories", + }, + Object { + "Products.category": "Technology", + "Products.productName": "Logitech di_Novo Edge Keyboard", + "Products.subCategory": "Accessories", + }, + Object { + "Products.category": "Technology", + "Products.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", + "Products.subCategory": "Machines", + }, + Object { + "Products.category": "Technology", + "Products.productName": "Okidata C610n Printer", + "Products.subCategory": "Machines", + }, + Object { + "Products.category": "Technology", + "Products.productName": "Google Nexus 5", + "Products.subCategory": "Phones", + }, + Object { + "Products.category": "Technology", + "Products.productName": "Google Nexus 6", + "Products.subCategory": "Phones", + }, + Object { + "Products.category": "Technology", + "Products.productName": "Google Nexus 7", + "Products.subCategory": "Phones", + }, + Object { + "Products.category": "Technology", + "Products.productName": "HTC One", + "Products.subCategory": "Phones", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver filtering Products: endsWith filter + dimensions + order, third 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/snowflake-driver filtering Products: startsWith filter + dimensions + order, first 1`] = ` +Array [ + Object { + "Products.category": "Office Supplies", + "Products.productName": "OIC #2 Pencils, Medium Soft", + "Products.subCategory": "Art", + }, + Object { + "Products.category": "Technology", + "Products.productName": "Okidata C610n Printer", + "Products.subCategory": "Machines", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver filtering Products: startsWith filter + dimensions + order, second 1`] = ` +Array [ + Object { + "Products.category": "Office Supplies", + "Products.productName": "OIC #2 Pencils, Medium Soft", + "Products.subCategory": "Art", + }, + Object { + "Products.category": "Technology", + "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.0", + "Products.subCategory": "Accessories", + }, + Object { + "Products.category": "Technology", + "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.1", + "Products.subCategory": "Accessories", + }, + Object { + "Products.category": "Technology", + "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.2", + "Products.subCategory": "Accessories", + }, + Object { + "Products.category": "Technology", + "Products.productName": "Okidata C610n Printer", + "Products.subCategory": "Machines", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver filtering Products: startsWith filter + dimensions + order, third 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/snowflake-driver pre-aggregations Customers: running total without time dimension 1`] = ` +Array [ + Object { + "Customers.runningTotal": "41", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver querying BigECommerce: partitioned pre-agg 1`] = ` +Array [ + Object { + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.productName": "Balt Solid Wood Rectangular Table", + "BigECommerce.totalQuantity": "2", + }, + Object { + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.productName": "Linden 10 Round Wall Clock, Black", + "BigECommerce.totalQuantity": "4", + }, + Object { + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", + "BigECommerce.totalQuantity": "2", + }, + Object { + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + "BigECommerce.productName": "Canon PC1080F Personal Copier", + "BigECommerce.totalQuantity": "5", + }, + Object { + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + "BigECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.2", + "BigECommerce.totalQuantity": "8", + }, + Object { + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + "BigECommerce.productName": "Linden 10 Round Wall Clock, Black", + "BigECommerce.totalQuantity": "3", + }, + Object { + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + "BigECommerce.productName": "Google Nexus 6", + "BigECommerce.totalQuantity": "3", + }, + Object { + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + "BigECommerce.productName": "Google Nexus 7", + "BigECommerce.totalQuantity": "3", + }, + Object { + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + "BigECommerce.productName": "OIC #2 Pencils, Medium Soft", + "BigECommerce.totalQuantity": "2", + }, + Object { + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + "BigECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", + "BigECommerce.totalQuantity": "5", + }, + Object { + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + "BigECommerce.productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", + "BigECommerce.totalQuantity": "2", + }, + Object { + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + "BigECommerce.productName": "DMI Eclipse Executive Suite Bookcases", + "BigECommerce.totalQuantity": "1", + }, + Object { + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + "BigECommerce.productName": "HTC One", + "BigECommerce.totalQuantity": "3", + }, + Object { + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + "BigECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.1", + "BigECommerce.totalQuantity": "5", + }, + Object { + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + "BigECommerce.productName": "OIC #2 Pencils, Medium Soft", + "BigECommerce.totalQuantity": "2", + }, + Object { + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + "BigECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", + "BigECommerce.totalQuantity": "6", + }, + Object { + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + "BigECommerce.productName": "Project Tote Personal File", + "BigECommerce.totalQuantity": "1", + }, + Object { + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + "BigECommerce.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", + "BigECommerce.totalQuantity": "3", + }, + Object { + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + "BigECommerce.productName": "Harbour Creations 67200 Series Stacking Chairs", + "BigECommerce.totalQuantity": "7", + }, + Object { + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + "BigECommerce.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", + "BigECommerce.totalQuantity": "4", + }, + Object { + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + "BigECommerce.productName": "OIC #2 Pencils, Medium Soft", + "BigECommerce.totalQuantity": "5", + }, + Object { + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + "BigECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", + "BigECommerce.totalQuantity": "5", + }, + Object { + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + "BigECommerce.productName": "Wausau Papers Astrobrights Colored Envelopes", + "BigECommerce.totalQuantity": "3", + }, + Object { + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + "BigECommerce.productName": "Anderson Hickey Conga Table Tops & Accessories", + "BigECommerce.totalQuantity": "2", + }, + Object { + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + "BigECommerce.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", + "BigECommerce.totalQuantity": "5", + }, + Object { + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + "BigECommerce.productName": "Linden 10 Round Wall Clock, Black", + "BigECommerce.totalQuantity": "2", + }, + Object { + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + "BigECommerce.productName": "Magna Visual Magnetic Picture Hangers", + "BigECommerce.totalQuantity": "2", + }, + Object { + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "BigECommerce.productName": "Google Nexus 5", + "BigECommerce.totalQuantity": "11", + }, + Object { + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "BigECommerce.productName": "Harbour Creations 67200 Series Stacking Chairs", + "BigECommerce.totalQuantity": "4", + }, + Object { + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "BigECommerce.productName": "Hewlett Packard 610 Color Digital Copier / Printer", + "BigECommerce.totalQuantity": "3", + }, + Object { + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "BigECommerce.productName": "Linden 10 Round Wall Clock, Black", + "BigECommerce.totalQuantity": "5", + }, + Object { + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "BigECommerce.productName": "Logitech di_Novo Edge Keyboard", + "BigECommerce.totalQuantity": "9", + }, + Object { + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "BigECommerce.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", + "BigECommerce.totalQuantity": "3", + }, + Object { + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "BigECommerce.productName": "Recycled Eldon Regeneration Jumbo File", + "BigECommerce.totalQuantity": "4", + }, + Object { + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "BigECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", + "BigECommerce.totalQuantity": "4", + }, + Object { + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + "BigECommerce.productName": "Canon PC1080F Personal Copier", + "BigECommerce.totalQuantity": "2", + }, + Object { + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + "BigECommerce.productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", + "BigECommerce.totalQuantity": "4", + }, + Object { + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + "BigECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.0", + "BigECommerce.totalQuantity": "5", + }, + Object { + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + "BigECommerce.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", + "BigECommerce.totalQuantity": "2", + }, + Object { + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + "BigECommerce.productName": "Magna Visual Magnetic Picture Hangers", + "BigECommerce.totalQuantity": "2", + }, + Object { + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + "BigECommerce.productName": "Okidata C610n Printer", + "BigECommerce.totalQuantity": "2", + }, + Object { + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + "BigECommerce.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", + "BigECommerce.totalQuantity": "5", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver querying BigECommerce: partitioned pre-agg with multi time dimension 1`] = ` +Array [ + Object { + "BigECommerce.completedDate": "2020-01-02T00:00:00.000", + "BigECommerce.completedDate.day": "2020-01-02T00:00:00.000", + "BigECommerce.count": "1", + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-01T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-01-24T00:00:00.000", + "BigECommerce.completedDate.day": "2020-01-24T00:00:00.000", + "BigECommerce.count": "1", + "BigECommerce.orderDate": "2020-01-23T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-23T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-02-17T00:00:00.000", + "BigECommerce.completedDate.day": "2020-02-17T00:00:00.000", + "BigECommerce.count": "1", + "BigECommerce.orderDate": "2020-02-16T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-16T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-03-18T00:00:00.000", + "BigECommerce.completedDate.day": "2020-03-18T00:00:00.000", + "BigECommerce.count": "1", + "BigECommerce.orderDate": "2020-03-17T00:00:00.000", + "BigECommerce.orderDate.day": "2020-03-17T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-03-27T00:00:00.000", + "BigECommerce.completedDate.day": "2020-03-27T00:00:00.000", + "BigECommerce.count": "1", + "BigECommerce.orderDate": "2020-03-26T00:00:00.000", + "BigECommerce.orderDate.day": "2020-03-26T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-04-11T00:00:00.000", + "BigECommerce.completedDate.day": "2020-04-11T00:00:00.000", + "BigECommerce.count": "1", + "BigECommerce.orderDate": "2020-04-10T00:00:00.000", + "BigECommerce.orderDate.day": "2020-04-10T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-05-14T00:00:00.000", + "BigECommerce.completedDate.day": "2020-05-14T00:00:00.000", + "BigECommerce.count": "1", + "BigECommerce.orderDate": "2020-05-13T00:00:00.000", + "BigECommerce.orderDate.day": "2020-05-13T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-05-15T00:00:00.000", + "BigECommerce.completedDate.day": "2020-05-15T00:00:00.000", + "BigECommerce.count": "2", + "BigECommerce.orderDate": "2020-05-14T00:00:00.000", + "BigECommerce.orderDate.day": "2020-05-14T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-05-28T00:00:00.000", + "BigECommerce.completedDate.day": "2020-05-28T00:00:00.000", + "BigECommerce.count": "1", + "BigECommerce.orderDate": "2020-05-27T00:00:00.000", + "BigECommerce.orderDate.day": "2020-05-27T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-05-30T00:00:00.000", + "BigECommerce.completedDate.day": "2020-05-30T00:00:00.000", + "BigECommerce.count": "1", + "BigECommerce.orderDate": "2020-05-29T00:00:00.000", + "BigECommerce.orderDate.day": "2020-05-29T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-06-04T00:00:00.000", + "BigECommerce.completedDate.day": "2020-06-04T00:00:00.000", + "BigECommerce.count": "1", + "BigECommerce.orderDate": "2020-06-03T00:00:00.000", + "BigECommerce.orderDate.day": "2020-06-03T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-06-11T00:00:00.000", + "BigECommerce.completedDate.day": "2020-06-11T00:00:00.000", + "BigECommerce.count": "1", + "BigECommerce.orderDate": "2020-06-10T00:00:00.000", + "BigECommerce.orderDate.day": "2020-06-10T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-06-12T00:00:00.000", + "BigECommerce.completedDate.day": "2020-06-12T00:00:00.000", + "BigECommerce.count": "1", + "BigECommerce.orderDate": "2020-06-11T00:00:00.000", + "BigECommerce.orderDate.day": "2020-06-11T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-06-16T00:00:00.000", + "BigECommerce.completedDate.day": "2020-06-16T00:00:00.000", + "BigECommerce.count": "1", + "BigECommerce.orderDate": "2020-06-15T00:00:00.000", + "BigECommerce.orderDate.day": "2020-06-15T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-06-18T00:00:00.000", + "BigECommerce.completedDate.day": "2020-06-18T00:00:00.000", + "BigECommerce.count": "1", + "BigECommerce.orderDate": "2020-06-17T00:00:00.000", + "BigECommerce.orderDate.day": "2020-06-17T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-06-26T00:00:00.000", + "BigECommerce.completedDate.day": "2020-06-26T00:00:00.000", + "BigECommerce.count": "2", + "BigECommerce.orderDate": "2020-06-25T00:00:00.000", + "BigECommerce.orderDate.day": "2020-06-25T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-09-02T00:00:00.000", + "BigECommerce.completedDate.day": "2020-09-02T00:00:00.000", + "BigECommerce.count": "1", + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.day": "2020-09-01T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-09-03T00:00:00.000", + "BigECommerce.completedDate.day": "2020-09-03T00:00:00.000", + "BigECommerce.count": "1", + "BigECommerce.orderDate": "2020-09-02T00:00:00.000", + "BigECommerce.orderDate.day": "2020-09-02T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-09-09T00:00:00.000", + "BigECommerce.completedDate.day": "2020-09-09T00:00:00.000", + "BigECommerce.count": "1", + "BigECommerce.orderDate": "2020-09-08T00:00:00.000", + "BigECommerce.orderDate.day": "2020-09-08T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-09-18T00:00:00.000", + "BigECommerce.completedDate.day": "2020-09-18T00:00:00.000", + "BigECommerce.count": "2", + "BigECommerce.orderDate": "2020-09-17T00:00:00.000", + "BigECommerce.orderDate.day": "2020-09-17T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-09-24T00:00:00.000", + "BigECommerce.completedDate.day": "2020-09-24T00:00:00.000", + "BigECommerce.count": "1", + "BigECommerce.orderDate": "2020-09-23T00:00:00.000", + "BigECommerce.orderDate.day": "2020-09-23T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-10-13T00:00:00.000", + "BigECommerce.completedDate.day": "2020-10-13T00:00:00.000", + "BigECommerce.count": "1", + "BigECommerce.orderDate": "2020-10-12T00:00:00.000", + "BigECommerce.orderDate.day": "2020-10-12T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-10-20T00:00:00.000", + "BigECommerce.completedDate.day": "2020-10-20T00:00:00.000", + "BigECommerce.count": "2", + "BigECommerce.orderDate": "2020-10-19T00:00:00.000", + "BigECommerce.orderDate.day": "2020-10-19T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-11-01T00:00:00.000", + "BigECommerce.completedDate.day": "2020-11-01T00:00:00.000", + "BigECommerce.count": "1", + "BigECommerce.orderDate": "2020-10-30T00:00:00.000", + "BigECommerce.orderDate.day": "2020-10-30T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-11-03T00:00:00.000", + "BigECommerce.completedDate.day": "2020-11-03T00:00:00.000", + "BigECommerce.count": "1", + "BigECommerce.orderDate": "2020-11-02T00:00:00.000", + "BigECommerce.orderDate.day": "2020-11-02T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-11-06T00:00:00.000", + "BigECommerce.completedDate.day": "2020-11-06T00:00:00.000", + "BigECommerce.count": "1", + "BigECommerce.orderDate": "2020-11-05T00:00:00.000", + "BigECommerce.orderDate.day": "2020-11-05T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-11-07T00:00:00.000", + "BigECommerce.completedDate.day": "2020-11-07T00:00:00.000", + "BigECommerce.count": "1", + "BigECommerce.orderDate": "2020-11-06T00:00:00.000", + "BigECommerce.orderDate.day": "2020-11-06T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-11-12T00:00:00.000", + "BigECommerce.completedDate.day": "2020-11-12T00:00:00.000", + "BigECommerce.count": "1", + "BigECommerce.orderDate": "2020-11-11T00:00:00.000", + "BigECommerce.orderDate.day": "2020-11-11T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-11-13T00:00:00.000", + "BigECommerce.completedDate.day": "2020-11-13T00:00:00.000", + "BigECommerce.count": "1", + "BigECommerce.orderDate": "2020-11-12T00:00:00.000", + "BigECommerce.orderDate.day": "2020-11-12T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-11-17T00:00:00.000", + "BigECommerce.completedDate.day": "2020-11-17T00:00:00.000", + "BigECommerce.count": "2", + "BigECommerce.orderDate": "2020-11-16T00:00:00.000", + "BigECommerce.orderDate.day": "2020-11-16T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-11-22T00:00:00.000", + "BigECommerce.completedDate.day": "2020-11-22T00:00:00.000", + "BigECommerce.count": "1", + "BigECommerce.orderDate": "2020-11-21T00:00:00.000", + "BigECommerce.orderDate.day": "2020-11-21T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-11-29T00:00:00.000", + "BigECommerce.completedDate.day": "2020-11-29T00:00:00.000", + "BigECommerce.count": "1", + "BigECommerce.orderDate": "2020-11-28T00:00:00.000", + "BigECommerce.orderDate.day": "2020-11-28T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-12-02T00:00:00.000", + "BigECommerce.completedDate.day": "2020-12-02T00:00:00.000", + "BigECommerce.count": "1", + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.day": "2020-12-01T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-12-03T00:00:00.000", + "BigECommerce.completedDate.day": "2020-12-03T00:00:00.000", + "BigECommerce.count": "1", + "BigECommerce.orderDate": "2020-12-02T00:00:00.000", + "BigECommerce.orderDate.day": "2020-12-02T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-12-05T00:00:00.000", + "BigECommerce.completedDate.day": "2020-12-05T00:00:00.000", + "BigECommerce.count": "1", + "BigECommerce.orderDate": "2020-12-04T00:00:00.000", + "BigECommerce.orderDate.day": "2020-12-04T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-12-15T00:00:00.000", + "BigECommerce.completedDate.day": "2020-12-15T00:00:00.000", + "BigECommerce.count": "2", + "BigECommerce.orderDate": "2020-12-14T00:00:00.000", + "BigECommerce.orderDate.day": "2020-12-14T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-12-25T00:00:00.000", + "BigECommerce.completedDate.day": "2020-12-25T00:00:00.000", + "BigECommerce.count": "1", + "BigECommerce.orderDate": "2020-12-24T00:00:00.000", + "BigECommerce.orderDate.day": "2020-12-24T00:00:00.000", + }, + Object { + "BigECommerce.completedDate": "2020-12-26T00:00:00.000", + "BigECommerce.completedDate.day": "2020-12-26T00:00:00.000", + "BigECommerce.count": "1", + "BigECommerce.orderDate": "2020-12-25T00:00:00.000", + "BigECommerce.orderDate.day": "2020-12-25T00:00:00.000", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver querying BigECommerce: rolling count_distinct_approx window by 2 day 1`] = ` +Array [ + Object { + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Day": "0", + }, + Object { + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Day": "0", + }, + Object { + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Day": "0", + }, + Object { + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Day": "0", + }, + Object { + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Day": "0", + }, + Object { + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Day": "0", + }, + Object { + "BigECommerce.orderDate": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Day": "0", + }, + Object { + "BigECommerce.orderDate": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Day": "0", + }, + Object { + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Day": "0", + }, + Object { + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Day": "1", + }, + Object { + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Day": "0", + }, + Object { + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Day": "0", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver querying BigECommerce: rolling count_distinct_approx window by 2 month 1`] = ` +Array [ + Object { + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Month": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Month": "3", + }, + Object { + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Month": "3", + }, + Object { + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Month": "3", + }, + Object { + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Month": "6", + }, + Object { + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Month": "12", + }, + Object { + "BigECommerce.orderDate": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Month": "7", + }, + Object { + "BigECommerce.orderDate": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Month": "0", + }, + Object { + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Month": "6", + }, + Object { + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Month": "9", + }, + Object { + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Month": "11", + }, + Object { + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Month": "15", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver querying BigECommerce: rolling count_distinct_approx window by 2 week 1`] = ` +Array [ + Object { + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Week": "1", + }, + Object { + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Week": "1", + }, + Object { + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Week": "1", + }, + Object { + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Week": "0", + }, + Object { + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Week": "2", + }, + Object { + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Week": "3", + }, + Object { + "BigECommerce.orderDate": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Week": "0", + }, + Object { + "BigECommerce.orderDate": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Week": "0", + }, + Object { + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Week": "3", + }, + Object { + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Week": "2", + }, + Object { + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Week": "2", + }, + Object { + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + "BigECommerce.rollingCountApproxBy2Week": "2", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver querying BigECommerce: rolling window by 2 day 1`] = ` +Array [ + Object { + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.rollingCountBy2Day": null, + }, + Object { + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.rollingCountBy2Day": null, + }, + Object { + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + "BigECommerce.rollingCountBy2Day": null, + }, + Object { + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + "BigECommerce.rollingCountBy2Day": null, + }, + Object { + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + "BigECommerce.rollingCountBy2Day": null, + }, + Object { + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + "BigECommerce.rollingCountBy2Day": null, + }, + Object { + "BigECommerce.orderDate": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + "BigECommerce.rollingCountBy2Day": null, + }, + Object { + "BigECommerce.orderDate": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + "BigECommerce.rollingCountBy2Day": null, + }, + Object { + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + "BigECommerce.rollingCountBy2Day": null, + }, + Object { + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + "BigECommerce.rollingCountBy2Day": "1", + }, + Object { + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "BigECommerce.rollingCountBy2Day": null, + }, + Object { + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + "BigECommerce.rollingCountBy2Day": null, + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver querying BigECommerce: rolling window by 2 month 1`] = ` +Array [ + Object { + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.rollingCountBy2Month": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.rollingCountBy2Month": "3", + }, + Object { + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + "BigECommerce.rollingCountBy2Month": "3", + }, + Object { + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + "BigECommerce.rollingCountBy2Month": "3", + }, + Object { + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + "BigECommerce.rollingCountBy2Month": "6", + }, + Object { + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + "BigECommerce.rollingCountBy2Month": "12", + }, + Object { + "BigECommerce.orderDate": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + "BigECommerce.rollingCountBy2Month": "7", + }, + Object { + "BigECommerce.orderDate": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + "BigECommerce.rollingCountBy2Month": null, + }, + Object { + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + "BigECommerce.rollingCountBy2Month": "6", + }, + Object { + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + "BigECommerce.rollingCountBy2Month": "10", + }, + Object { + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "BigECommerce.rollingCountBy2Month": "13", + }, + Object { + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + "BigECommerce.rollingCountBy2Month": "16", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver querying BigECommerce: rolling window by 2 week 1`] = ` +Array [ + Object { + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.rollingCountBy2Week": "1", + }, + Object { + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.rollingCountBy2Week": "1", + }, + Object { + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + "BigECommerce.rollingCountBy2Week": "1", + }, + Object { + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + "BigECommerce.rollingCountBy2Week": null, + }, + Object { + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + "BigECommerce.rollingCountBy2Week": "2", + }, + Object { + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + "BigECommerce.rollingCountBy2Week": "3", + }, + Object { + "BigECommerce.orderDate": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + "BigECommerce.rollingCountBy2Week": null, + }, + Object { + "BigECommerce.orderDate": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + "BigECommerce.rollingCountBy2Week": null, + }, + Object { + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + "BigECommerce.rollingCountBy2Week": "3", + }, + Object { + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + "BigECommerce.rollingCountBy2Week": "3", + }, + Object { + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "BigECommerce.rollingCountBy2Week": "2", + }, + Object { + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + "BigECommerce.rollingCountBy2Week": "2", + }, +] +`; + +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`] = ` +Array [ + Object { + "Customers.customerId": "AH-10465", + "Customers.customerName": "Customer 1", + }, + Object { + "Customers.customerId": "AJ-10780", + "Customers.customerName": "Customer 2", + }, + Object { + "Customers.customerId": "AS-10225", + "Customers.customerName": "Customer 3", + }, + Object { + "Customers.customerId": "AW-10840", + "Customers.customerName": "Customer 4", + }, + Object { + "Customers.customerId": "BB-11545", + "Customers.customerName": "Customer 5", + }, + Object { + "Customers.customerId": "BF-11020", + "Customers.customerName": "Customer 6", + }, + Object { + "Customers.customerId": "BF-11170", + "Customers.customerName": "Customer 7", + }, + Object { + "Customers.customerId": "BM-11650", + "Customers.customerName": "Customer 8", + }, + Object { + "Customers.customerId": "BS-11380", + "Customers.customerName": "Customer 9", + }, + Object { + "Customers.customerId": "BS-11755", + "Customers.customerName": "Customer 10", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver querying Customers: dimensions + order + limit + total + offset 1`] = ` +Array [ + Object { + "Customers.customerId": "GA-14725", + "Customers.customerName": "Customer 19", + }, + Object { + "Customers.customerId": "AJ-10780", + "Customers.customerName": "Customer 2", + }, + Object { + "Customers.customerId": "GZ-14470", + "Customers.customerName": "Customer 20", + }, + Object { + "Customers.customerId": "HH-15010", + "Customers.customerName": "Customer 21", + }, + Object { + "Customers.customerId": "HK-14890", + "Customers.customerName": "Customer 22", + }, + Object { + "Customers.customerId": "JH-15430", + "Customers.customerName": "Customer 23", + }, + Object { + "Customers.customerId": "JO-15550", + "Customers.customerName": "Customer 24", + }, + Object { + "Customers.customerId": "JS-16030", + "Customers.customerName": "Customer 25", + }, + Object { + "Customers.customerId": "JW-15220", + "Customers.customerName": "Customer 26", + }, + Object { + "Customers.customerId": "KL-16555", + "Customers.customerName": "Customer 27", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver querying Customers: dimensions + order + limit + total 1`] = ` +Array [ + Object { + "Customers.customerId": "AH-10465", + "Customers.customerName": "Customer 1", + }, + Object { + "Customers.customerId": "BS-11755", + "Customers.customerName": "Customer 10", + }, + Object { + "Customers.customerId": "CA-12775", + "Customers.customerName": "Customer 11", + }, + Object { + "Customers.customerId": "CC-12475", + "Customers.customerName": "Customer 12", + }, + Object { + "Customers.customerId": "CD-12280", + "Customers.customerName": "Customer 13", + }, + Object { + "Customers.customerId": "CS-12355", + "Customers.customerName": "Customer 14", + }, + Object { + "Customers.customerId": "DB-13405", + "Customers.customerName": "Customer 15", + }, + Object { + "Customers.customerId": "DG-13300", + "Customers.customerName": "Customer 16", + }, + Object { + "Customers.customerId": "DW-13480", + "Customers.customerName": "Customer 17", + }, + Object { + "Customers.customerId": "EM-14140", + "Customers.customerName": "Customer 18", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver querying Customers: dimensions + order + total + offset 1`] = ` +Array [ + Object { + "Customers.customerId": "BS-11380", + "Customers.customerName": "Customer 9", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver querying Customers: dimensions + order 1`] = ` +Array [ + Object { + "Customers.customerId": "AH-10465", + "Customers.customerName": "Customer 1", + }, + Object { + "Customers.customerId": "AJ-10780", + "Customers.customerName": "Customer 2", + }, + Object { + "Customers.customerId": "AS-10225", + "Customers.customerName": "Customer 3", + }, + Object { + "Customers.customerId": "AW-10840", + "Customers.customerName": "Customer 4", + }, + Object { + "Customers.customerId": "BB-11545", + "Customers.customerName": "Customer 5", + }, + Object { + "Customers.customerId": "BF-11020", + "Customers.customerName": "Customer 6", + }, + Object { + "Customers.customerId": "BF-11170", + "Customers.customerName": "Customer 7", + }, + Object { + "Customers.customerId": "BM-11650", + "Customers.customerName": "Customer 8", + }, + Object { + "Customers.customerId": "BS-11380", + "Customers.customerName": "Customer 9", + }, + Object { + "Customers.customerId": "BS-11755", + "Customers.customerName": "Customer 10", + }, + Object { + "Customers.customerId": "CA-12775", + "Customers.customerName": "Customer 11", + }, + Object { + "Customers.customerId": "CC-12475", + "Customers.customerName": "Customer 12", + }, + Object { + "Customers.customerId": "CD-12280", + "Customers.customerName": "Customer 13", + }, + Object { + "Customers.customerId": "CS-12355", + "Customers.customerName": "Customer 14", + }, + Object { + "Customers.customerId": "DB-13405", + "Customers.customerName": "Customer 15", + }, + Object { + "Customers.customerId": "DG-13300", + "Customers.customerName": "Customer 16", + }, + Object { + "Customers.customerId": "DW-13480", + "Customers.customerName": "Customer 17", + }, + Object { + "Customers.customerId": "EM-14140", + "Customers.customerName": "Customer 18", + }, + Object { + "Customers.customerId": "GA-14725", + "Customers.customerName": "Customer 19", + }, + Object { + "Customers.customerId": "GZ-14470", + "Customers.customerName": "Customer 20", + }, + Object { + "Customers.customerId": "HH-15010", + "Customers.customerName": "Customer 21", + }, + Object { + "Customers.customerId": "HK-14890", + "Customers.customerName": "Customer 22", + }, + Object { + "Customers.customerId": "JH-15430", + "Customers.customerName": "Customer 23", + }, + Object { + "Customers.customerId": "JO-15550", + "Customers.customerName": "Customer 24", + }, + Object { + "Customers.customerId": "JS-16030", + "Customers.customerName": "Customer 25", + }, + Object { + "Customers.customerId": "JW-15220", + "Customers.customerName": "Customer 26", + }, + Object { + "Customers.customerId": "KL-16555", + "Customers.customerName": "Customer 27", + }, + Object { + "Customers.customerId": "KN-16705", + "Customers.customerName": "Customer 28", + }, + Object { + "Customers.customerId": "LC-17050", + "Customers.customerName": "Customer 29", + }, + Object { + "Customers.customerId": "LR-16915", + "Customers.customerName": "Customer 30", + }, + Object { + "Customers.customerId": "MC-17605", + "Customers.customerName": "Customer 31", + }, + Object { + "Customers.customerId": "MG-17650", + "Customers.customerName": "Customer 32", + }, + Object { + "Customers.customerId": "ML-17755", + "Customers.customerName": "Customer 33", + }, + Object { + "Customers.customerId": "MM-18280", + "Customers.customerName": "Customer 34", + }, + Object { + "Customers.customerId": "NP-18670", + "Customers.customerName": "Customer 35", + }, + Object { + "Customers.customerId": "PF-19165", + "Customers.customerName": "Customer 36", + }, + Object { + "Customers.customerId": "SB-20185", + "Customers.customerName": "Customer 37", + }, + Object { + "Customers.customerId": "SS-20140", + "Customers.customerName": "Customer 38", + }, + Object { + "Customers.customerId": "TB-21175", + "Customers.customerName": "Customer 39", + }, + Object { + "Customers.customerId": "TS-21205", + "Customers.customerName": "Customer 40", + }, + Object { + "Customers.customerId": "WB-21850", + "Customers.customerName": "Customer 41", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver querying Customers: dimensions + total 1`] = ` +Array [ + Object { + "Customers.customerId": "AH-10465", + "Customers.customerName": "Customer 1", + }, + Object { + "Customers.customerId": "AJ-10780", + "Customers.customerName": "Customer 2", + }, + Object { + "Customers.customerId": "AS-10225", + "Customers.customerName": "Customer 3", + }, + Object { + "Customers.customerId": "AW-10840", + "Customers.customerName": "Customer 4", + }, + Object { + "Customers.customerId": "BB-11545", + "Customers.customerName": "Customer 5", + }, + Object { + "Customers.customerId": "BF-11020", + "Customers.customerName": "Customer 6", + }, + Object { + "Customers.customerId": "BF-11170", + "Customers.customerName": "Customer 7", + }, + Object { + "Customers.customerId": "BM-11650", + "Customers.customerName": "Customer 8", + }, + Object { + "Customers.customerId": "BS-11380", + "Customers.customerName": "Customer 9", + }, + Object { + "Customers.customerId": "BS-11755", + "Customers.customerName": "Customer 10", + }, + Object { + "Customers.customerId": "CA-12775", + "Customers.customerName": "Customer 11", + }, + Object { + "Customers.customerId": "CC-12475", + "Customers.customerName": "Customer 12", + }, + Object { + "Customers.customerId": "CD-12280", + "Customers.customerName": "Customer 13", + }, + Object { + "Customers.customerId": "CS-12355", + "Customers.customerName": "Customer 14", + }, + Object { + "Customers.customerId": "DB-13405", + "Customers.customerName": "Customer 15", + }, + Object { + "Customers.customerId": "DG-13300", + "Customers.customerName": "Customer 16", + }, + Object { + "Customers.customerId": "DW-13480", + "Customers.customerName": "Customer 17", + }, + Object { + "Customers.customerId": "EM-14140", + "Customers.customerName": "Customer 18", + }, + Object { + "Customers.customerId": "GA-14725", + "Customers.customerName": "Customer 19", + }, + Object { + "Customers.customerId": "GZ-14470", + "Customers.customerName": "Customer 20", + }, + Object { + "Customers.customerId": "HH-15010", + "Customers.customerName": "Customer 21", + }, + Object { + "Customers.customerId": "HK-14890", + "Customers.customerName": "Customer 22", + }, + Object { + "Customers.customerId": "JH-15430", + "Customers.customerName": "Customer 23", + }, + Object { + "Customers.customerId": "JO-15550", + "Customers.customerName": "Customer 24", + }, + Object { + "Customers.customerId": "JS-16030", + "Customers.customerName": "Customer 25", + }, + Object { + "Customers.customerId": "JW-15220", + "Customers.customerName": "Customer 26", + }, + Object { + "Customers.customerId": "KL-16555", + "Customers.customerName": "Customer 27", + }, + Object { + "Customers.customerId": "KN-16705", + "Customers.customerName": "Customer 28", + }, + Object { + "Customers.customerId": "LC-17050", + "Customers.customerName": "Customer 29", + }, + Object { + "Customers.customerId": "LR-16915", + "Customers.customerName": "Customer 30", + }, + Object { + "Customers.customerId": "MC-17605", + "Customers.customerName": "Customer 31", + }, + Object { + "Customers.customerId": "MG-17650", + "Customers.customerName": "Customer 32", + }, + Object { + "Customers.customerId": "ML-17755", + "Customers.customerName": "Customer 33", + }, + Object { + "Customers.customerId": "MM-18280", + "Customers.customerName": "Customer 34", + }, + Object { + "Customers.customerId": "NP-18670", + "Customers.customerName": "Customer 35", + }, + Object { + "Customers.customerId": "PF-19165", + "Customers.customerName": "Customer 36", + }, + Object { + "Customers.customerId": "SB-20185", + "Customers.customerName": "Customer 37", + }, + Object { + "Customers.customerId": "SS-20140", + "Customers.customerName": "Customer 38", + }, + Object { + "Customers.customerId": "TB-21175", + "Customers.customerName": "Customer 39", + }, + Object { + "Customers.customerId": "TS-21205", + "Customers.customerName": "Customer 40", + }, + Object { + "Customers.customerId": "WB-21850", + "Customers.customerName": "Customer 41", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver querying Customers: dimensions 1`] = ` +Array [ + Object { + "Customers.customerId": "AH-10465", + "Customers.customerName": "Customer 1", + }, + Object { + "Customers.customerId": "AJ-10780", + "Customers.customerName": "Customer 2", + }, + Object { + "Customers.customerId": "AS-10225", + "Customers.customerName": "Customer 3", + }, + Object { + "Customers.customerId": "AW-10840", + "Customers.customerName": "Customer 4", + }, + Object { + "Customers.customerId": "BB-11545", + "Customers.customerName": "Customer 5", + }, + Object { + "Customers.customerId": "BF-11020", + "Customers.customerName": "Customer 6", + }, + Object { + "Customers.customerId": "BF-11170", + "Customers.customerName": "Customer 7", + }, + Object { + "Customers.customerId": "BM-11650", + "Customers.customerName": "Customer 8", + }, + Object { + "Customers.customerId": "BS-11380", + "Customers.customerName": "Customer 9", + }, + Object { + "Customers.customerId": "BS-11755", + "Customers.customerName": "Customer 10", + }, + Object { + "Customers.customerId": "CA-12775", + "Customers.customerName": "Customer 11", + }, + Object { + "Customers.customerId": "CC-12475", + "Customers.customerName": "Customer 12", + }, + Object { + "Customers.customerId": "CD-12280", + "Customers.customerName": "Customer 13", + }, + Object { + "Customers.customerId": "CS-12355", + "Customers.customerName": "Customer 14", + }, + Object { + "Customers.customerId": "DB-13405", + "Customers.customerName": "Customer 15", + }, + Object { + "Customers.customerId": "DG-13300", + "Customers.customerName": "Customer 16", + }, + Object { + "Customers.customerId": "DW-13480", + "Customers.customerName": "Customer 17", + }, + Object { + "Customers.customerId": "EM-14140", + "Customers.customerName": "Customer 18", + }, + Object { + "Customers.customerId": "GA-14725", + "Customers.customerName": "Customer 19", + }, + Object { + "Customers.customerId": "GZ-14470", + "Customers.customerName": "Customer 20", + }, + Object { + "Customers.customerId": "HH-15010", + "Customers.customerName": "Customer 21", + }, + Object { + "Customers.customerId": "HK-14890", + "Customers.customerName": "Customer 22", + }, + Object { + "Customers.customerId": "JH-15430", + "Customers.customerName": "Customer 23", + }, + Object { + "Customers.customerId": "JO-15550", + "Customers.customerName": "Customer 24", + }, + Object { + "Customers.customerId": "JS-16030", + "Customers.customerName": "Customer 25", + }, + Object { + "Customers.customerId": "JW-15220", + "Customers.customerName": "Customer 26", + }, + Object { + "Customers.customerId": "KL-16555", + "Customers.customerName": "Customer 27", + }, + Object { + "Customers.customerId": "KN-16705", + "Customers.customerName": "Customer 28", + }, + Object { + "Customers.customerId": "LC-17050", + "Customers.customerName": "Customer 29", + }, + Object { + "Customers.customerId": "LR-16915", + "Customers.customerName": "Customer 30", + }, + Object { + "Customers.customerId": "MC-17605", + "Customers.customerName": "Customer 31", + }, + Object { + "Customers.customerId": "MG-17650", + "Customers.customerName": "Customer 32", + }, + Object { + "Customers.customerId": "ML-17755", + "Customers.customerName": "Customer 33", + }, + Object { + "Customers.customerId": "MM-18280", + "Customers.customerName": "Customer 34", + }, + Object { + "Customers.customerId": "NP-18670", + "Customers.customerName": "Customer 35", + }, + Object { + "Customers.customerId": "PF-19165", + "Customers.customerName": "Customer 36", + }, + Object { + "Customers.customerId": "SB-20185", + "Customers.customerName": "Customer 37", + }, + Object { + "Customers.customerId": "SS-20140", + "Customers.customerName": "Customer 38", + }, + Object { + "Customers.customerId": "TB-21175", + "Customers.customerName": "Customer 39", + }, + Object { + "Customers.customerId": "TS-21205", + "Customers.customerName": "Customer 40", + }, + Object { + "Customers.customerId": "WB-21850", + "Customers.customerName": "Customer 41", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver querying ECommerce: count by cities + order 1`] = ` +Array [ + Object { + "ECommerce.city": "Columbus", + "ECommerce.count": "12", + }, + Object { + "ECommerce.city": "New York City", + "ECommerce.count": "5", + }, + Object { + "ECommerce.city": "Detroit", + "ECommerce.count": "2", + }, + Object { + "ECommerce.city": "Philadelphia", + "ECommerce.count": "2", + }, + Object { + "ECommerce.city": "San Francisco", + "ECommerce.count": "2", + }, + Object { + "ECommerce.city": "Arlington", + "ECommerce.count": "1", + }, + Object { + "ECommerce.city": "Auburn", + "ECommerce.count": "1", + }, + Object { + "ECommerce.city": "Bakersfield", + "ECommerce.count": "1", + }, + Object { + "ECommerce.city": "Baltimore", + "ECommerce.count": "1", + }, + Object { + "ECommerce.city": "Bowling", + "ECommerce.count": "1", + }, + Object { + "ECommerce.city": "Dallas", + "ECommerce.count": "1", + }, + Object { + "ECommerce.city": "Decatur", + "ECommerce.count": "1", + }, + Object { + "ECommerce.city": "Glendale", + "ECommerce.count": "1", + }, + Object { + "ECommerce.city": "Houston", + "ECommerce.count": "1", + }, + Object { + "ECommerce.city": "Lafayette", + "ECommerce.count": "1", + }, + Object { + "ECommerce.city": "Lakewood", + "ECommerce.count": "1", + }, + Object { + "ECommerce.city": "Lorain", + "ECommerce.count": "1", + }, + Object { + "ECommerce.city": "Los Angeles", + "ECommerce.count": "1", + }, + Object { + "ECommerce.city": "Louisville", + "ECommerce.count": "1", + }, + Object { + "ECommerce.city": "Marion", + "ECommerce.count": "1", + }, + Object { + "ECommerce.city": "Morristown", + "ECommerce.count": "1", + }, + Object { + "ECommerce.city": "Oakland", + "ECommerce.count": "1", + }, + Object { + "ECommerce.city": "Olympia", + "ECommerce.count": "1", + }, + Object { + "ECommerce.city": "Omaha", + "ECommerce.count": "1", + }, + Object { + "ECommerce.city": "Provo", + "ECommerce.count": "1", + }, + Object { + "ECommerce.city": "Vancouver", + "ECommerce.count": "1", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver querying ECommerce: dimensions + limit 1`] = ` +Array [ + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Detroit", + "ECommerce.customerId": "MC-17605", + "ECommerce.customerName": "Customer 31", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-01-23T00:00:00.000", + "ECommerce.orderId": "CA-2017-145142", + "ECommerce.productName": "Balt Solid Wood Rectangular Table", + "ECommerce.profit": "21.0980", + "ECommerce.quantity": "2", + "ECommerce.rowId": "523", + "ECommerce.sales": "210.980", + "ECommerce.subCategory": "Tables", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Lorain", + "ECommerce.customerId": "GA-14725", + "ECommerce.customerName": "Customer 19", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderId": "CA-2017-107503", + "ECommerce.productName": "Linden 10 Round Wall Clock, Black", + "ECommerce.profit": "8.5568", + "ECommerce.quantity": "4", + "ECommerce.rowId": "849", + "ECommerce.sales": "48.896", + "ECommerce.subCategory": "Furnishings", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Olympia", + "ECommerce.customerId": "PF-19165", + "ECommerce.customerName": "Customer 36", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-06-17T00:00:00.000", + "ECommerce.orderId": "CA-2017-118437", + "ECommerce.productName": "Project Tote Personal File", + "ECommerce.profit": "4.0687", + "ECommerce.quantity": "1", + "ECommerce.rowId": "1013", + "ECommerce.sales": "14.030", + "ECommerce.subCategory": "Storage", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Vancouver", + "ECommerce.customerId": "JW-15220", + "ECommerce.customerName": "Customer 26", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-10-30T00:00:00.000", + "ECommerce.orderId": "CA-2017-139661", + "ECommerce.productName": "Magna Visual Magnetic Picture Hangers", + "ECommerce.profit": "3.6632", + "ECommerce.quantity": "2", + "ECommerce.rowId": "1494", + "ECommerce.sales": "9.640", + "ECommerce.subCategory": "Furnishings", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "ML-17755", + "ECommerce.customerName": "Customer 33", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-06-25T00:00:00.000", + "ECommerce.orderId": "CA-2017-133648", + "ECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", + "ECommerce.profit": "-2.1195", + "ECommerce.quantity": "3", + "ECommerce.rowId": "1995", + "ECommerce.sales": "11.304", + "ECommerce.subCategory": "Fasteners", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "KN-16705", + "ECommerce.customerName": "Customer 28", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-09-23T00:00:00.000", + "ECommerce.orderId": "CA-2017-138422", + "ECommerce.productName": "Wausau Papers Astrobrights Colored Envelopes", + "ECommerce.profit": "5.2026", + "ECommerce.quantity": "3", + "ECommerce.rowId": "2329", + "ECommerce.sales": "14.352", + "ECommerce.subCategory": "Envelopes", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "New York City", + "ECommerce.customerId": "DB-13405", + "ECommerce.customerName": "Customer 15", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-03-17T00:00:00.000", + "ECommerce.orderId": "CA-2017-140949", + "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.2", + "ECommerce.profit": "13.6040", + "ECommerce.quantity": "8", + "ECommerce.rowId": "2455", + "ECommerce.sales": "71.600", + "ECommerce.subCategory": "Accessories", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "BM-11650", + "ECommerce.customerName": "Customer 8", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-05-13T00:00:00.000", + "ECommerce.orderId": "CA-2017-149048", + "ECommerce.productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", + "ECommerce.profit": "81.4320", + "ECommerce.quantity": "2", + "ECommerce.rowId": "2595", + "ECommerce.sales": "180.960", + "ECommerce.subCategory": "Envelopes", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Provo", + "ECommerce.customerId": "AS-10225", + "ECommerce.customerName": "Customer 3", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-09-17T00:00:00.000", + "ECommerce.orderId": "CA-2017-112515", + "ECommerce.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", + "ECommerce.profit": "77.5764", + "ECommerce.quantity": "3", + "ECommerce.rowId": "2655", + "ECommerce.sales": "1292.940", + "ECommerce.subCategory": "Bookcases", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "DG-13300", + "ECommerce.customerName": "Customer 16", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-11-28T00:00:00.000", + "ECommerce.orderId": "CA-2017-123372", + "ECommerce.productName": "Google Nexus 5", + "ECommerce.profit": "494.9725", + "ECommerce.quantity": "11", + "ECommerce.rowId": "2661", + "ECommerce.sales": "1979.890", + "ECommerce.subCategory": "Phones", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver querying ECommerce: dimensions + order + limit + total + offset 1`] = ` +Array [ + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Glendale", + "ECommerce.customerId": "EM-14140", + "ECommerce.customerName": "Customer 18", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-11-12T00:00:00.000", + "ECommerce.orderId": "CA-2017-134915", + "ECommerce.productName": "Harbour Creations 67200 Series Stacking Chairs", + "ECommerce.profit": "9.9652", + "ECommerce.quantity": "2", + "ECommerce.rowId": "2952", + "ECommerce.sales": "113.888", + "ECommerce.subCategory": "Chairs", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "San Francisco", + "ECommerce.customerId": "HH-15010", + "ECommerce.customerName": "Customer 21", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-10-19T00:00:00.000", + "ECommerce.orderId": "CA-2017-131492", + "ECommerce.productName": "Linden 10 Round Wall Clock, Black", + "ECommerce.profit": "10.3904", + "ECommerce.quantity": "2", + "ECommerce.rowId": "3059", + "ECommerce.sales": "30.560", + "ECommerce.subCategory": "Furnishings", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "San Francisco", + "ECommerce.customerId": "HH-15010", + "ECommerce.customerName": "Customer 21", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-10-19T00:00:00.000", + "ECommerce.orderId": "CA-2017-131492", + "ECommerce.productName": "Anderson Hickey Conga Table Tops & Accessories", + "ECommerce.profit": "-3.3506", + "ECommerce.quantity": "2", + "ECommerce.rowId": "3060", + "ECommerce.sales": "24.368", + "ECommerce.subCategory": "Tables", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Louisville", + "ECommerce.customerId": "DW-13480", + "ECommerce.customerName": "Customer 17", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-05-27T00:00:00.000", + "ECommerce.orderId": "US-2017-132297", + "ECommerce.productName": "Google Nexus 6", + "ECommerce.profit": "134.9925", + "ECommerce.quantity": "3", + "ECommerce.rowId": "3083", + "ECommerce.sales": "539.970", + "ECommerce.subCategory": "Phones", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Auburn", + "ECommerce.customerId": "KN-16705", + "ECommerce.customerName": "Customer 28", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-06-11T00:00:00.000", + "ECommerce.orderId": "CA-2017-102554", + "ECommerce.productName": "OIC #2 Pencils, Medium Soft", + "ECommerce.profit": "1.0904", + "ECommerce.quantity": "2", + "ECommerce.rowId": "3448", + "ECommerce.sales": "3.760", + "ECommerce.subCategory": "Art", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Omaha", + "ECommerce.customerId": "JO-15550", + "ECommerce.customerName": "Customer 24", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-05-29T00:00:00.000", + "ECommerce.orderId": "CA-2017-144568", + "ECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", + "ECommerce.profit": "1.1775", + "ECommerce.quantity": "5", + "ECommerce.rowId": "3717", + "ECommerce.sales": "23.550", + "ECommerce.subCategory": "Fasteners", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Bakersfield", + "ECommerce.customerId": "AW-10840", + "ECommerce.customerName": "Customer 4", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-09-02T00:00:00.000", + "ECommerce.orderId": "CA-2017-123001", + "ECommerce.productName": "OIC #2 Pencils, Medium Soft", + "ECommerce.profit": "2.7260", + "ECommerce.quantity": "5", + "ECommerce.rowId": "3934", + "ECommerce.sales": "9.400", + "ECommerce.subCategory": "Art", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Philadelphia", + "ECommerce.customerId": "CC-12475", + "ECommerce.customerName": "Customer 12", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-11-21T00:00:00.000", + "ECommerce.orderId": "CA-2017-100811", + "ECommerce.productName": "Recycled Eldon Regeneration Jumbo File", + "ECommerce.profit": "3.9296", + "ECommerce.quantity": "4", + "ECommerce.rowId": "4012", + "ECommerce.sales": "39.296", + "ECommerce.subCategory": "Storage", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Lafayette", + "ECommerce.customerId": "CS-12355", + "ECommerce.customerName": "Customer 14", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-12-24T00:00:00.000", + "ECommerce.orderId": "CA-2017-124296", + "ECommerce.productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", + "ECommerce.profit": "60.5488", + "ECommerce.quantity": "4", + "ECommerce.rowId": "4031", + "ECommerce.sales": "232.880", + "ECommerce.subCategory": "Chairs", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "New York City", + "ECommerce.customerId": "AH-10465", + "ECommerce.customerName": "Customer 1", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-05-14T00:00:00.000", + "ECommerce.orderId": "CA-2017-115546", + "ECommerce.productName": "Google Nexus 7", + "ECommerce.profit": "134.9925", + "ECommerce.quantity": "3", + "ECommerce.rowId": "4161", + "ECommerce.sales": "539.970", + "ECommerce.subCategory": "Phones", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver querying ECommerce: dimensions + order + limit + total 1`] = ` +Array [ + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Detroit", + "ECommerce.customerId": "MC-17605", + "ECommerce.customerName": "Customer 31", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-01-23T00:00:00.000", + "ECommerce.orderId": "CA-2017-145142", + "ECommerce.productName": "Balt Solid Wood Rectangular Table", + "ECommerce.profit": "21.0980", + "ECommerce.quantity": "2", + "ECommerce.rowId": "523", + "ECommerce.sales": "210.980", + "ECommerce.subCategory": "Tables", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Lorain", + "ECommerce.customerId": "GA-14725", + "ECommerce.customerName": "Customer 19", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderId": "CA-2017-107503", + "ECommerce.productName": "Linden 10 Round Wall Clock, Black", + "ECommerce.profit": "8.5568", + "ECommerce.quantity": "4", + "ECommerce.rowId": "849", + "ECommerce.sales": "48.896", + "ECommerce.subCategory": "Furnishings", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Olympia", + "ECommerce.customerId": "PF-19165", + "ECommerce.customerName": "Customer 36", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-06-17T00:00:00.000", + "ECommerce.orderId": "CA-2017-118437", + "ECommerce.productName": "Project Tote Personal File", + "ECommerce.profit": "4.0687", + "ECommerce.quantity": "1", + "ECommerce.rowId": "1013", + "ECommerce.sales": "14.030", + "ECommerce.subCategory": "Storage", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Vancouver", + "ECommerce.customerId": "JW-15220", + "ECommerce.customerName": "Customer 26", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-10-30T00:00:00.000", + "ECommerce.orderId": "CA-2017-139661", + "ECommerce.productName": "Magna Visual Magnetic Picture Hangers", + "ECommerce.profit": "3.6632", + "ECommerce.quantity": "2", + "ECommerce.rowId": "1494", + "ECommerce.sales": "9.640", + "ECommerce.subCategory": "Furnishings", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "ML-17755", + "ECommerce.customerName": "Customer 33", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-06-25T00:00:00.000", + "ECommerce.orderId": "CA-2017-133648", + "ECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", + "ECommerce.profit": "-2.1195", + "ECommerce.quantity": "3", + "ECommerce.rowId": "1995", + "ECommerce.sales": "11.304", + "ECommerce.subCategory": "Fasteners", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "KN-16705", + "ECommerce.customerName": "Customer 28", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-09-23T00:00:00.000", + "ECommerce.orderId": "CA-2017-138422", + "ECommerce.productName": "Wausau Papers Astrobrights Colored Envelopes", + "ECommerce.profit": "5.2026", + "ECommerce.quantity": "3", + "ECommerce.rowId": "2329", + "ECommerce.sales": "14.352", + "ECommerce.subCategory": "Envelopes", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "New York City", + "ECommerce.customerId": "DB-13405", + "ECommerce.customerName": "Customer 15", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-03-17T00:00:00.000", + "ECommerce.orderId": "CA-2017-140949", + "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.2", + "ECommerce.profit": "13.6040", + "ECommerce.quantity": "8", + "ECommerce.rowId": "2455", + "ECommerce.sales": "71.600", + "ECommerce.subCategory": "Accessories", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "BM-11650", + "ECommerce.customerName": "Customer 8", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-05-13T00:00:00.000", + "ECommerce.orderId": "CA-2017-149048", + "ECommerce.productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", + "ECommerce.profit": "81.4320", + "ECommerce.quantity": "2", + "ECommerce.rowId": "2595", + "ECommerce.sales": "180.960", + "ECommerce.subCategory": "Envelopes", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Provo", + "ECommerce.customerId": "AS-10225", + "ECommerce.customerName": "Customer 3", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-09-17T00:00:00.000", + "ECommerce.orderId": "CA-2017-112515", + "ECommerce.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", + "ECommerce.profit": "77.5764", + "ECommerce.quantity": "3", + "ECommerce.rowId": "2655", + "ECommerce.sales": "1292.940", + "ECommerce.subCategory": "Bookcases", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "DG-13300", + "ECommerce.customerName": "Customer 16", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-11-28T00:00:00.000", + "ECommerce.orderId": "CA-2017-123372", + "ECommerce.productName": "Google Nexus 5", + "ECommerce.profit": "494.9725", + "ECommerce.quantity": "11", + "ECommerce.rowId": "2661", + "ECommerce.sales": "1979.890", + "ECommerce.subCategory": "Phones", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver querying ECommerce: dimensions + order + total + offset 1`] = ` +Array [ + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Bowling", + "ECommerce.customerId": "BS-11380", + "ECommerce.customerName": "Customer 9", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-11-16T00:00:00.000", + "ECommerce.orderId": "CA-2017-160633", + "ECommerce.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", + "ECommerce.profit": "5.3970", + "ECommerce.quantity": "3", + "ECommerce.rowId": "9619", + "ECommerce.sales": "86.352", + "ECommerce.subCategory": "Art", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver querying ECommerce: dimensions + order 1`] = ` +Array [ + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Detroit", + "ECommerce.customerId": "MC-17605", + "ECommerce.customerName": "Customer 31", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-01-23T00:00:00.000", + "ECommerce.orderId": "CA-2017-145142", + "ECommerce.productName": "Balt Solid Wood Rectangular Table", + "ECommerce.profit": "21.0980", + "ECommerce.quantity": "2", + "ECommerce.rowId": "523", + "ECommerce.sales": "210.980", + "ECommerce.subCategory": "Tables", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Lorain", + "ECommerce.customerId": "GA-14725", + "ECommerce.customerName": "Customer 19", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderId": "CA-2017-107503", + "ECommerce.productName": "Linden 10 Round Wall Clock, Black", + "ECommerce.profit": "8.5568", + "ECommerce.quantity": "4", + "ECommerce.rowId": "849", + "ECommerce.sales": "48.896", + "ECommerce.subCategory": "Furnishings", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Olympia", + "ECommerce.customerId": "PF-19165", + "ECommerce.customerName": "Customer 36", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-06-17T00:00:00.000", + "ECommerce.orderId": "CA-2017-118437", + "ECommerce.productName": "Project Tote Personal File", + "ECommerce.profit": "4.0687", + "ECommerce.quantity": "1", + "ECommerce.rowId": "1013", + "ECommerce.sales": "14.030", + "ECommerce.subCategory": "Storage", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Vancouver", + "ECommerce.customerId": "JW-15220", + "ECommerce.customerName": "Customer 26", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-10-30T00:00:00.000", + "ECommerce.orderId": "CA-2017-139661", + "ECommerce.productName": "Magna Visual Magnetic Picture Hangers", + "ECommerce.profit": "3.6632", + "ECommerce.quantity": "2", + "ECommerce.rowId": "1494", + "ECommerce.sales": "9.640", + "ECommerce.subCategory": "Furnishings", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "ML-17755", + "ECommerce.customerName": "Customer 33", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-06-25T00:00:00.000", + "ECommerce.orderId": "CA-2017-133648", + "ECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", + "ECommerce.profit": "-2.1195", + "ECommerce.quantity": "3", + "ECommerce.rowId": "1995", + "ECommerce.sales": "11.304", + "ECommerce.subCategory": "Fasteners", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "KN-16705", + "ECommerce.customerName": "Customer 28", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-09-23T00:00:00.000", + "ECommerce.orderId": "CA-2017-138422", + "ECommerce.productName": "Wausau Papers Astrobrights Colored Envelopes", + "ECommerce.profit": "5.2026", + "ECommerce.quantity": "3", + "ECommerce.rowId": "2329", + "ECommerce.sales": "14.352", + "ECommerce.subCategory": "Envelopes", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "New York City", + "ECommerce.customerId": "DB-13405", + "ECommerce.customerName": "Customer 15", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-03-17T00:00:00.000", + "ECommerce.orderId": "CA-2017-140949", + "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.2", + "ECommerce.profit": "13.6040", + "ECommerce.quantity": "8", + "ECommerce.rowId": "2455", + "ECommerce.sales": "71.600", + "ECommerce.subCategory": "Accessories", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "BM-11650", + "ECommerce.customerName": "Customer 8", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-05-13T00:00:00.000", + "ECommerce.orderId": "CA-2017-149048", + "ECommerce.productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", + "ECommerce.profit": "81.4320", + "ECommerce.quantity": "2", + "ECommerce.rowId": "2595", + "ECommerce.sales": "180.960", + "ECommerce.subCategory": "Envelopes", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Provo", + "ECommerce.customerId": "AS-10225", + "ECommerce.customerName": "Customer 3", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-09-17T00:00:00.000", + "ECommerce.orderId": "CA-2017-112515", + "ECommerce.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", + "ECommerce.profit": "77.5764", + "ECommerce.quantity": "3", + "ECommerce.rowId": "2655", + "ECommerce.sales": "1292.940", + "ECommerce.subCategory": "Bookcases", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "DG-13300", + "ECommerce.customerName": "Customer 16", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-11-28T00:00:00.000", + "ECommerce.orderId": "CA-2017-123372", + "ECommerce.productName": "Google Nexus 5", + "ECommerce.profit": "494.9725", + "ECommerce.quantity": "11", + "ECommerce.rowId": "2661", + "ECommerce.sales": "1979.890", + "ECommerce.subCategory": "Phones", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Glendale", + "ECommerce.customerId": "EM-14140", + "ECommerce.customerName": "Customer 18", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-11-12T00:00:00.000", + "ECommerce.orderId": "CA-2017-134915", + "ECommerce.productName": "Harbour Creations 67200 Series Stacking Chairs", + "ECommerce.profit": "9.9652", + "ECommerce.quantity": "2", + "ECommerce.rowId": "2952", + "ECommerce.sales": "113.888", + "ECommerce.subCategory": "Chairs", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "San Francisco", + "ECommerce.customerId": "HH-15010", + "ECommerce.customerName": "Customer 21", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-10-19T00:00:00.000", + "ECommerce.orderId": "CA-2017-131492", + "ECommerce.productName": "Linden 10 Round Wall Clock, Black", + "ECommerce.profit": "10.3904", + "ECommerce.quantity": "2", + "ECommerce.rowId": "3059", + "ECommerce.sales": "30.560", + "ECommerce.subCategory": "Furnishings", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "San Francisco", + "ECommerce.customerId": "HH-15010", + "ECommerce.customerName": "Customer 21", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-10-19T00:00:00.000", + "ECommerce.orderId": "CA-2017-131492", + "ECommerce.productName": "Anderson Hickey Conga Table Tops & Accessories", + "ECommerce.profit": "-3.3506", + "ECommerce.quantity": "2", + "ECommerce.rowId": "3060", + "ECommerce.sales": "24.368", + "ECommerce.subCategory": "Tables", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Louisville", + "ECommerce.customerId": "DW-13480", + "ECommerce.customerName": "Customer 17", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-05-27T00:00:00.000", + "ECommerce.orderId": "US-2017-132297", + "ECommerce.productName": "Google Nexus 6", + "ECommerce.profit": "134.9925", + "ECommerce.quantity": "3", + "ECommerce.rowId": "3083", + "ECommerce.sales": "539.970", + "ECommerce.subCategory": "Phones", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Auburn", + "ECommerce.customerId": "KN-16705", + "ECommerce.customerName": "Customer 28", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-06-11T00:00:00.000", + "ECommerce.orderId": "CA-2017-102554", + "ECommerce.productName": "OIC #2 Pencils, Medium Soft", + "ECommerce.profit": "1.0904", + "ECommerce.quantity": "2", + "ECommerce.rowId": "3448", + "ECommerce.sales": "3.760", + "ECommerce.subCategory": "Art", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Omaha", + "ECommerce.customerId": "JO-15550", + "ECommerce.customerName": "Customer 24", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-05-29T00:00:00.000", + "ECommerce.orderId": "CA-2017-144568", + "ECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", + "ECommerce.profit": "1.1775", + "ECommerce.quantity": "5", + "ECommerce.rowId": "3717", + "ECommerce.sales": "23.550", + "ECommerce.subCategory": "Fasteners", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Bakersfield", + "ECommerce.customerId": "AW-10840", + "ECommerce.customerName": "Customer 4", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-09-02T00:00:00.000", + "ECommerce.orderId": "CA-2017-123001", + "ECommerce.productName": "OIC #2 Pencils, Medium Soft", + "ECommerce.profit": "2.7260", + "ECommerce.quantity": "5", + "ECommerce.rowId": "3934", + "ECommerce.sales": "9.400", + "ECommerce.subCategory": "Art", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Philadelphia", + "ECommerce.customerId": "CC-12475", + "ECommerce.customerName": "Customer 12", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-11-21T00:00:00.000", + "ECommerce.orderId": "CA-2017-100811", + "ECommerce.productName": "Recycled Eldon Regeneration Jumbo File", + "ECommerce.profit": "3.9296", + "ECommerce.quantity": "4", + "ECommerce.rowId": "4012", + "ECommerce.sales": "39.296", + "ECommerce.subCategory": "Storage", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Lafayette", + "ECommerce.customerId": "CS-12355", + "ECommerce.customerName": "Customer 14", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-12-24T00:00:00.000", + "ECommerce.orderId": "CA-2017-124296", + "ECommerce.productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", + "ECommerce.profit": "60.5488", + "ECommerce.quantity": "4", + "ECommerce.rowId": "4031", + "ECommerce.sales": "232.880", + "ECommerce.subCategory": "Chairs", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "New York City", + "ECommerce.customerId": "AH-10465", + "ECommerce.customerName": "Customer 1", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-05-14T00:00:00.000", + "ECommerce.orderId": "CA-2017-115546", + "ECommerce.productName": "Google Nexus 7", + "ECommerce.profit": "134.9925", + "ECommerce.quantity": "3", + "ECommerce.rowId": "4161", + "ECommerce.sales": "539.970", + "ECommerce.subCategory": "Phones", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "WB-21850", + "ECommerce.customerName": "Customer 41", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-11-11T00:00:00.000", + "ECommerce.orderId": "CA-2017-120327", + "ECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", + "ECommerce.profit": "21.5824", + "ECommerce.quantity": "4", + "ECommerce.rowId": "4227", + "ECommerce.sales": "45.920", + "ECommerce.subCategory": "Fasteners", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "TB-21175", + "ECommerce.customerName": "Customer 39", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-11-02T00:00:00.000", + "ECommerce.orderId": "CA-2017-143567", + "ECommerce.productName": "Logitech di_Novo Edge Keyboard", + "ECommerce.profit": "517.4793", + "ECommerce.quantity": "9", + "ECommerce.rowId": "4882", + "ECommerce.sales": "2249.910", + "ECommerce.subCategory": "Accessories", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Detroit", + "ECommerce.customerId": "CA-12775", + "ECommerce.customerName": "Customer 11", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-09-01T00:00:00.000", + "ECommerce.orderId": "CA-2017-145653", + "ECommerce.productName": "Harbour Creations 67200 Series Stacking Chairs", + "ECommerce.profit": "134.5302", + "ECommerce.quantity": "7", + "ECommerce.rowId": "5220", + "ECommerce.sales": "498.260", + "ECommerce.subCategory": "Chairs", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "KL-16555", + "ECommerce.customerName": "Customer 27", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-12-14T00:00:00.000", + "ECommerce.orderId": "CA-2017-147333", + "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.0", + "ECommerce.profit": "8.5025", + "ECommerce.quantity": "5", + "ECommerce.rowId": "5277", + "ECommerce.sales": "44.750", + "ECommerce.subCategory": "Accessories", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Los Angeles", + "ECommerce.customerId": "SS-20140", + "ECommerce.customerName": "Customer 38", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-06-03T00:00:00.000", + "ECommerce.orderId": "CA-2017-145772", + "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.1", + "ECommerce.profit": "8.5025", + "ECommerce.quantity": "5", + "ECommerce.rowId": "6125", + "ECommerce.sales": "44.750", + "ECommerce.subCategory": "Accessories", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Marion", + "ECommerce.customerId": "MG-17650", + "ECommerce.customerName": "Customer 32", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-12-01T00:00:00.000", + "ECommerce.orderId": "CA-2017-145660", + "ECommerce.productName": "Magna Visual Magnetic Picture Hangers", + "ECommerce.profit": "1.7352", + "ECommerce.quantity": "2", + "ECommerce.rowId": "6205", + "ECommerce.sales": "7.712", + "ECommerce.subCategory": "Furnishings", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Oakland", + "ECommerce.customerId": "BB-11545", + "ECommerce.customerName": "Customer 5", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-12-02T00:00:00.000", + "ECommerce.orderId": "CA-2017-102379", + "ECommerce.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", + "ECommerce.profit": "44.9750", + "ECommerce.quantity": "5", + "ECommerce.rowId": "6272", + "ECommerce.sales": "179.900", + "ECommerce.subCategory": "Art", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Baltimore", + "ECommerce.customerId": "AJ-10780", + "ECommerce.customerName": "Customer 2", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-05-14T00:00:00.000", + "ECommerce.orderId": "US-2017-133361", + "ECommerce.productName": "OIC #2 Pencils, Medium Soft", + "ECommerce.profit": "1.0904", + "ECommerce.quantity": "2", + "ECommerce.rowId": "6459", + "ECommerce.sales": "3.760", + "ECommerce.subCategory": "Art", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Arlington", + "ECommerce.customerId": "BF-11020", + "ECommerce.customerName": "Customer 6", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-09-08T00:00:00.000", + "ECommerce.orderId": "US-2017-124779", + "ECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", + "ECommerce.profit": "15.4980", + "ECommerce.quantity": "5", + "ECommerce.rowId": "6651", + "ECommerce.sales": "45.920", + "ECommerce.subCategory": "Fasteners", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Houston", + "ECommerce.customerId": "HK-14890", + "ECommerce.customerName": "Customer 22", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-03-26T00:00:00.000", + "ECommerce.orderId": "US-2017-141677", + "ECommerce.productName": "Canon PC1080F Personal Copier", + "ECommerce.profit": "569.9905", + "ECommerce.quantity": "5", + "ECommerce.rowId": "7174", + "ECommerce.sales": "2399.960", + "ECommerce.subCategory": "Copiers", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "LR-16915", + "ECommerce.customerName": "Customer 30", + "ECommerce.discount": "0.5", + "ECommerce.orderDate": "2020-12-04T00:00:00.000", + "ECommerce.orderId": "CA-2017-109183", + "ECommerce.productName": "Okidata C610n Printer", + "ECommerce.profit": "-272.5800", + "ECommerce.quantity": "2", + "ECommerce.rowId": "7293", + "ECommerce.sales": "649.000", + "ECommerce.subCategory": "Machines", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "New York City", + "ECommerce.customerId": "MM-18280", + "ECommerce.customerName": "Customer 34", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-06-10T00:00:00.000", + "ECommerce.orderId": "CA-2017-112172", + "ECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", + "ECommerce.profit": "0.7065", + "ECommerce.quantity": "3", + "ECommerce.rowId": "7310", + "ECommerce.sales": "14.130", + "ECommerce.subCategory": "Fasteners", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Philadelphia", + "ECommerce.customerId": "BS-11755", + "ECommerce.customerName": "Customer 10", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-04-10T00:00:00.000", + "ECommerce.orderId": "CA-2017-135069", + "ECommerce.productName": "Linden 10 Round Wall Clock, Black", + "ECommerce.profit": "6.4176", + "ECommerce.quantity": "3", + "ECommerce.rowId": "7425", + "ECommerce.sales": "36.672", + "ECommerce.subCategory": "Furnishings", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "BF-11170", + "ECommerce.customerName": "Customer 7", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-12-14T00:00:00.000", + "ECommerce.orderId": "CA-2017-151799", + "ECommerce.productName": "Canon PC1080F Personal Copier", + "ECommerce.profit": "467.9922", + "ECommerce.quantity": "2", + "ECommerce.rowId": "7698", + "ECommerce.sales": "1199.980", + "ECommerce.subCategory": "Copiers", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Lakewood", + "ECommerce.customerId": "NP-18670", + "ECommerce.customerName": "Customer 35", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-10-12T00:00:00.000", + "ECommerce.orderId": "CA-2017-150091", + "ECommerce.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", + "ECommerce.profit": "129.2940", + "ECommerce.quantity": "5", + "ECommerce.rowId": "8425", + "ECommerce.sales": "2154.900", + "ECommerce.subCategory": "Bookcases", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Dallas", + "ECommerce.customerId": "LC-17050", + "ECommerce.customerName": "Customer 29", + "ECommerce.discount": "0.6", + "ECommerce.orderDate": "2020-11-06T00:00:00.000", + "ECommerce.orderId": "US-2017-119319", + "ECommerce.productName": "Linden 10 Round Wall Clock, Black", + "ECommerce.profit": "-19.8640", + "ECommerce.quantity": "5", + "ECommerce.rowId": "8621", + "ECommerce.sales": "30.560", + "ECommerce.subCategory": "Furnishings", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Decatur", + "ECommerce.customerId": "JS-16030", + "ECommerce.customerName": "Customer 25", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-02-16T00:00:00.000", + "ECommerce.orderId": "CA-2017-163265", + "ECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", + "ECommerce.profit": "6.1992", + "ECommerce.quantity": "2", + "ECommerce.rowId": "8673", + "ECommerce.sales": "18.368", + "ECommerce.subCategory": "Fasteners", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "TS-21205", + "ECommerce.customerName": "Customer 40", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-06-15T00:00:00.000", + "ECommerce.orderId": "CA-2017-119284", + "ECommerce.productName": "HTC One", + "ECommerce.profit": "26.9973", + "ECommerce.quantity": "3", + "ECommerce.rowId": "8697", + "ECommerce.sales": "239.976", + "ECommerce.subCategory": "Phones", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Morristown", + "ECommerce.customerId": "GZ-14470", + "ECommerce.customerName": "Customer 20", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-09-17T00:00:00.000", + "ECommerce.orderId": "CA-2017-126928", + "ECommerce.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", + "ECommerce.profit": "225.6000", + "ECommerce.quantity": "4", + "ECommerce.rowId": "8878", + "ECommerce.sales": "480.000", + "ECommerce.subCategory": "Machines", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "JH-15430", + "ECommerce.customerName": "Customer 23", + "ECommerce.discount": "0.5", + "ECommerce.orderDate": "2020-12-25T00:00:00.000", + "ECommerce.orderId": "CA-2017-105620", + "ECommerce.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", + "ECommerce.profit": "-7.2000", + "ECommerce.quantity": "2", + "ECommerce.rowId": "8958", + "ECommerce.sales": "120.000", + "ECommerce.subCategory": "Machines", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "New York City", + "ECommerce.customerId": "CD-12280", + "ECommerce.customerName": "Customer 13", + "ECommerce.discount": "0.1", + "ECommerce.orderDate": "2020-11-05T00:00:00.000", + "ECommerce.orderId": "CA-2017-102925", + "ECommerce.productName": "Harbour Creations 67200 Series Stacking Chairs", + "ECommerce.profit": "24.2012", + "ECommerce.quantity": "2", + "ECommerce.rowId": "9473", + "ECommerce.sales": "128.124", + "ECommerce.subCategory": "Chairs", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "New York City", + "ECommerce.customerId": "SB-20185", + "ECommerce.customerName": "Customer 37", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-06-25T00:00:00.000", + "ECommerce.orderId": "CA-2017-116127", + "ECommerce.productName": "DMI Eclipse Executive Suite Bookcases", + "ECommerce.profit": "-5.0098", + "ECommerce.quantity": "1", + "ECommerce.rowId": "9584", + "ECommerce.sales": "400.784", + "ECommerce.subCategory": "Bookcases", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "BS-11380", + "ECommerce.customerName": "Customer 9", + "ECommerce.discount": "0.4", + "ECommerce.orderDate": "2020-11-16T00:00:00.000", + "ECommerce.orderId": "CA-2017-160633", + "ECommerce.productName": "Hewlett Packard 610 Color Digital Copier / Printer", + "ECommerce.profit": "74.9985", + "ECommerce.quantity": "3", + "ECommerce.rowId": "9618", + "ECommerce.sales": "899.982", + "ECommerce.subCategory": "Copiers", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Bowling", + "ECommerce.customerId": "BS-11380", + "ECommerce.customerName": "Customer 9", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-11-16T00:00:00.000", + "ECommerce.orderId": "CA-2017-160633", + "ECommerce.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", + "ECommerce.profit": "5.3970", + "ECommerce.quantity": "3", + "ECommerce.rowId": "9619", + "ECommerce.sales": "86.352", + "ECommerce.subCategory": "Art", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver querying ECommerce: dimensions + total 1`] = ` +Array [ + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Detroit", + "ECommerce.customerId": "MC-17605", + "ECommerce.customerName": "Customer 31", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-01-23T00:00:00.000", + "ECommerce.orderId": "CA-2017-145142", + "ECommerce.productName": "Balt Solid Wood Rectangular Table", + "ECommerce.profit": "21.0980", + "ECommerce.quantity": "2", + "ECommerce.rowId": "523", + "ECommerce.sales": "210.980", + "ECommerce.subCategory": "Tables", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Lorain", + "ECommerce.customerId": "GA-14725", + "ECommerce.customerName": "Customer 19", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderId": "CA-2017-107503", + "ECommerce.productName": "Linden 10 Round Wall Clock, Black", + "ECommerce.profit": "8.5568", + "ECommerce.quantity": "4", + "ECommerce.rowId": "849", + "ECommerce.sales": "48.896", + "ECommerce.subCategory": "Furnishings", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Olympia", + "ECommerce.customerId": "PF-19165", + "ECommerce.customerName": "Customer 36", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-06-17T00:00:00.000", + "ECommerce.orderId": "CA-2017-118437", + "ECommerce.productName": "Project Tote Personal File", + "ECommerce.profit": "4.0687", + "ECommerce.quantity": "1", + "ECommerce.rowId": "1013", + "ECommerce.sales": "14.030", + "ECommerce.subCategory": "Storage", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Vancouver", + "ECommerce.customerId": "JW-15220", + "ECommerce.customerName": "Customer 26", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-10-30T00:00:00.000", + "ECommerce.orderId": "CA-2017-139661", + "ECommerce.productName": "Magna Visual Magnetic Picture Hangers", + "ECommerce.profit": "3.6632", + "ECommerce.quantity": "2", + "ECommerce.rowId": "1494", + "ECommerce.sales": "9.640", + "ECommerce.subCategory": "Furnishings", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "ML-17755", + "ECommerce.customerName": "Customer 33", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-06-25T00:00:00.000", + "ECommerce.orderId": "CA-2017-133648", + "ECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", + "ECommerce.profit": "-2.1195", + "ECommerce.quantity": "3", + "ECommerce.rowId": "1995", + "ECommerce.sales": "11.304", + "ECommerce.subCategory": "Fasteners", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "KN-16705", + "ECommerce.customerName": "Customer 28", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-09-23T00:00:00.000", + "ECommerce.orderId": "CA-2017-138422", + "ECommerce.productName": "Wausau Papers Astrobrights Colored Envelopes", + "ECommerce.profit": "5.2026", + "ECommerce.quantity": "3", + "ECommerce.rowId": "2329", + "ECommerce.sales": "14.352", + "ECommerce.subCategory": "Envelopes", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "New York City", + "ECommerce.customerId": "DB-13405", + "ECommerce.customerName": "Customer 15", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-03-17T00:00:00.000", + "ECommerce.orderId": "CA-2017-140949", + "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.2", + "ECommerce.profit": "13.6040", + "ECommerce.quantity": "8", + "ECommerce.rowId": "2455", + "ECommerce.sales": "71.600", + "ECommerce.subCategory": "Accessories", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "BM-11650", + "ECommerce.customerName": "Customer 8", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-05-13T00:00:00.000", + "ECommerce.orderId": "CA-2017-149048", + "ECommerce.productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", + "ECommerce.profit": "81.4320", + "ECommerce.quantity": "2", + "ECommerce.rowId": "2595", + "ECommerce.sales": "180.960", + "ECommerce.subCategory": "Envelopes", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Provo", + "ECommerce.customerId": "AS-10225", + "ECommerce.customerName": "Customer 3", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-09-17T00:00:00.000", + "ECommerce.orderId": "CA-2017-112515", + "ECommerce.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", + "ECommerce.profit": "77.5764", + "ECommerce.quantity": "3", + "ECommerce.rowId": "2655", + "ECommerce.sales": "1292.940", + "ECommerce.subCategory": "Bookcases", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "DG-13300", + "ECommerce.customerName": "Customer 16", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-11-28T00:00:00.000", + "ECommerce.orderId": "CA-2017-123372", + "ECommerce.productName": "Google Nexus 5", + "ECommerce.profit": "494.9725", + "ECommerce.quantity": "11", + "ECommerce.rowId": "2661", + "ECommerce.sales": "1979.890", + "ECommerce.subCategory": "Phones", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Glendale", + "ECommerce.customerId": "EM-14140", + "ECommerce.customerName": "Customer 18", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-11-12T00:00:00.000", + "ECommerce.orderId": "CA-2017-134915", + "ECommerce.productName": "Harbour Creations 67200 Series Stacking Chairs", + "ECommerce.profit": "9.9652", + "ECommerce.quantity": "2", + "ECommerce.rowId": "2952", + "ECommerce.sales": "113.888", + "ECommerce.subCategory": "Chairs", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "San Francisco", + "ECommerce.customerId": "HH-15010", + "ECommerce.customerName": "Customer 21", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-10-19T00:00:00.000", + "ECommerce.orderId": "CA-2017-131492", + "ECommerce.productName": "Linden 10 Round Wall Clock, Black", + "ECommerce.profit": "10.3904", + "ECommerce.quantity": "2", + "ECommerce.rowId": "3059", + "ECommerce.sales": "30.560", + "ECommerce.subCategory": "Furnishings", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "San Francisco", + "ECommerce.customerId": "HH-15010", + "ECommerce.customerName": "Customer 21", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-10-19T00:00:00.000", + "ECommerce.orderId": "CA-2017-131492", + "ECommerce.productName": "Anderson Hickey Conga Table Tops & Accessories", + "ECommerce.profit": "-3.3506", + "ECommerce.quantity": "2", + "ECommerce.rowId": "3060", + "ECommerce.sales": "24.368", + "ECommerce.subCategory": "Tables", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Louisville", + "ECommerce.customerId": "DW-13480", + "ECommerce.customerName": "Customer 17", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-05-27T00:00:00.000", + "ECommerce.orderId": "US-2017-132297", + "ECommerce.productName": "Google Nexus 6", + "ECommerce.profit": "134.9925", + "ECommerce.quantity": "3", + "ECommerce.rowId": "3083", + "ECommerce.sales": "539.970", + "ECommerce.subCategory": "Phones", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Auburn", + "ECommerce.customerId": "KN-16705", + "ECommerce.customerName": "Customer 28", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-06-11T00:00:00.000", + "ECommerce.orderId": "CA-2017-102554", + "ECommerce.productName": "OIC #2 Pencils, Medium Soft", + "ECommerce.profit": "1.0904", + "ECommerce.quantity": "2", + "ECommerce.rowId": "3448", + "ECommerce.sales": "3.760", + "ECommerce.subCategory": "Art", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Omaha", + "ECommerce.customerId": "JO-15550", + "ECommerce.customerName": "Customer 24", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-05-29T00:00:00.000", + "ECommerce.orderId": "CA-2017-144568", + "ECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", + "ECommerce.profit": "1.1775", + "ECommerce.quantity": "5", + "ECommerce.rowId": "3717", + "ECommerce.sales": "23.550", + "ECommerce.subCategory": "Fasteners", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Bakersfield", + "ECommerce.customerId": "AW-10840", + "ECommerce.customerName": "Customer 4", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-09-02T00:00:00.000", + "ECommerce.orderId": "CA-2017-123001", + "ECommerce.productName": "OIC #2 Pencils, Medium Soft", + "ECommerce.profit": "2.7260", + "ECommerce.quantity": "5", + "ECommerce.rowId": "3934", + "ECommerce.sales": "9.400", + "ECommerce.subCategory": "Art", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Philadelphia", + "ECommerce.customerId": "CC-12475", + "ECommerce.customerName": "Customer 12", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-11-21T00:00:00.000", + "ECommerce.orderId": "CA-2017-100811", + "ECommerce.productName": "Recycled Eldon Regeneration Jumbo File", + "ECommerce.profit": "3.9296", + "ECommerce.quantity": "4", + "ECommerce.rowId": "4012", + "ECommerce.sales": "39.296", + "ECommerce.subCategory": "Storage", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Lafayette", + "ECommerce.customerId": "CS-12355", + "ECommerce.customerName": "Customer 14", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-12-24T00:00:00.000", + "ECommerce.orderId": "CA-2017-124296", + "ECommerce.productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", + "ECommerce.profit": "60.5488", + "ECommerce.quantity": "4", + "ECommerce.rowId": "4031", + "ECommerce.sales": "232.880", + "ECommerce.subCategory": "Chairs", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "New York City", + "ECommerce.customerId": "AH-10465", + "ECommerce.customerName": "Customer 1", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-05-14T00:00:00.000", + "ECommerce.orderId": "CA-2017-115546", + "ECommerce.productName": "Google Nexus 7", + "ECommerce.profit": "134.9925", + "ECommerce.quantity": "3", + "ECommerce.rowId": "4161", + "ECommerce.sales": "539.970", + "ECommerce.subCategory": "Phones", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "WB-21850", + "ECommerce.customerName": "Customer 41", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-11-11T00:00:00.000", + "ECommerce.orderId": "CA-2017-120327", + "ECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", + "ECommerce.profit": "21.5824", + "ECommerce.quantity": "4", + "ECommerce.rowId": "4227", + "ECommerce.sales": "45.920", + "ECommerce.subCategory": "Fasteners", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "TB-21175", + "ECommerce.customerName": "Customer 39", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-11-02T00:00:00.000", + "ECommerce.orderId": "CA-2017-143567", + "ECommerce.productName": "Logitech di_Novo Edge Keyboard", + "ECommerce.profit": "517.4793", + "ECommerce.quantity": "9", + "ECommerce.rowId": "4882", + "ECommerce.sales": "2249.910", + "ECommerce.subCategory": "Accessories", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Detroit", + "ECommerce.customerId": "CA-12775", + "ECommerce.customerName": "Customer 11", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-09-01T00:00:00.000", + "ECommerce.orderId": "CA-2017-145653", + "ECommerce.productName": "Harbour Creations 67200 Series Stacking Chairs", + "ECommerce.profit": "134.5302", + "ECommerce.quantity": "7", + "ECommerce.rowId": "5220", + "ECommerce.sales": "498.260", + "ECommerce.subCategory": "Chairs", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "KL-16555", + "ECommerce.customerName": "Customer 27", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-12-14T00:00:00.000", + "ECommerce.orderId": "CA-2017-147333", + "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.0", + "ECommerce.profit": "8.5025", + "ECommerce.quantity": "5", + "ECommerce.rowId": "5277", + "ECommerce.sales": "44.750", + "ECommerce.subCategory": "Accessories", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Los Angeles", + "ECommerce.customerId": "SS-20140", + "ECommerce.customerName": "Customer 38", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-06-03T00:00:00.000", + "ECommerce.orderId": "CA-2017-145772", + "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.1", + "ECommerce.profit": "8.5025", + "ECommerce.quantity": "5", + "ECommerce.rowId": "6125", + "ECommerce.sales": "44.750", + "ECommerce.subCategory": "Accessories", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Marion", + "ECommerce.customerId": "MG-17650", + "ECommerce.customerName": "Customer 32", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-12-01T00:00:00.000", + "ECommerce.orderId": "CA-2017-145660", + "ECommerce.productName": "Magna Visual Magnetic Picture Hangers", + "ECommerce.profit": "1.7352", + "ECommerce.quantity": "2", + "ECommerce.rowId": "6205", + "ECommerce.sales": "7.712", + "ECommerce.subCategory": "Furnishings", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Oakland", + "ECommerce.customerId": "BB-11545", + "ECommerce.customerName": "Customer 5", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-12-02T00:00:00.000", + "ECommerce.orderId": "CA-2017-102379", + "ECommerce.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", + "ECommerce.profit": "44.9750", + "ECommerce.quantity": "5", + "ECommerce.rowId": "6272", + "ECommerce.sales": "179.900", + "ECommerce.subCategory": "Art", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Baltimore", + "ECommerce.customerId": "AJ-10780", + "ECommerce.customerName": "Customer 2", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-05-14T00:00:00.000", + "ECommerce.orderId": "US-2017-133361", + "ECommerce.productName": "OIC #2 Pencils, Medium Soft", + "ECommerce.profit": "1.0904", + "ECommerce.quantity": "2", + "ECommerce.rowId": "6459", + "ECommerce.sales": "3.760", + "ECommerce.subCategory": "Art", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Arlington", + "ECommerce.customerId": "BF-11020", + "ECommerce.customerName": "Customer 6", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-09-08T00:00:00.000", + "ECommerce.orderId": "US-2017-124779", + "ECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", + "ECommerce.profit": "15.4980", + "ECommerce.quantity": "5", + "ECommerce.rowId": "6651", + "ECommerce.sales": "45.920", + "ECommerce.subCategory": "Fasteners", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Houston", + "ECommerce.customerId": "HK-14890", + "ECommerce.customerName": "Customer 22", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-03-26T00:00:00.000", + "ECommerce.orderId": "US-2017-141677", + "ECommerce.productName": "Canon PC1080F Personal Copier", + "ECommerce.profit": "569.9905", + "ECommerce.quantity": "5", + "ECommerce.rowId": "7174", + "ECommerce.sales": "2399.960", + "ECommerce.subCategory": "Copiers", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "LR-16915", + "ECommerce.customerName": "Customer 30", + "ECommerce.discount": "0.5", + "ECommerce.orderDate": "2020-12-04T00:00:00.000", + "ECommerce.orderId": "CA-2017-109183", + "ECommerce.productName": "Okidata C610n Printer", + "ECommerce.profit": "-272.5800", + "ECommerce.quantity": "2", + "ECommerce.rowId": "7293", + "ECommerce.sales": "649.000", + "ECommerce.subCategory": "Machines", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "New York City", + "ECommerce.customerId": "MM-18280", + "ECommerce.customerName": "Customer 34", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-06-10T00:00:00.000", + "ECommerce.orderId": "CA-2017-112172", + "ECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", + "ECommerce.profit": "0.7065", + "ECommerce.quantity": "3", + "ECommerce.rowId": "7310", + "ECommerce.sales": "14.130", + "ECommerce.subCategory": "Fasteners", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Philadelphia", + "ECommerce.customerId": "BS-11755", + "ECommerce.customerName": "Customer 10", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-04-10T00:00:00.000", + "ECommerce.orderId": "CA-2017-135069", + "ECommerce.productName": "Linden 10 Round Wall Clock, Black", + "ECommerce.profit": "6.4176", + "ECommerce.quantity": "3", + "ECommerce.rowId": "7425", + "ECommerce.sales": "36.672", + "ECommerce.subCategory": "Furnishings", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "BF-11170", + "ECommerce.customerName": "Customer 7", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-12-14T00:00:00.000", + "ECommerce.orderId": "CA-2017-151799", + "ECommerce.productName": "Canon PC1080F Personal Copier", + "ECommerce.profit": "467.9922", + "ECommerce.quantity": "2", + "ECommerce.rowId": "7698", + "ECommerce.sales": "1199.980", + "ECommerce.subCategory": "Copiers", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Lakewood", + "ECommerce.customerId": "NP-18670", + "ECommerce.customerName": "Customer 35", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-10-12T00:00:00.000", + "ECommerce.orderId": "CA-2017-150091", + "ECommerce.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", + "ECommerce.profit": "129.2940", + "ECommerce.quantity": "5", + "ECommerce.rowId": "8425", + "ECommerce.sales": "2154.900", + "ECommerce.subCategory": "Bookcases", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Dallas", + "ECommerce.customerId": "LC-17050", + "ECommerce.customerName": "Customer 29", + "ECommerce.discount": "0.6", + "ECommerce.orderDate": "2020-11-06T00:00:00.000", + "ECommerce.orderId": "US-2017-119319", + "ECommerce.productName": "Linden 10 Round Wall Clock, Black", + "ECommerce.profit": "-19.8640", + "ECommerce.quantity": "5", + "ECommerce.rowId": "8621", + "ECommerce.sales": "30.560", + "ECommerce.subCategory": "Furnishings", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Decatur", + "ECommerce.customerId": "JS-16030", + "ECommerce.customerName": "Customer 25", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-02-16T00:00:00.000", + "ECommerce.orderId": "CA-2017-163265", + "ECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", + "ECommerce.profit": "6.1992", + "ECommerce.quantity": "2", + "ECommerce.rowId": "8673", + "ECommerce.sales": "18.368", + "ECommerce.subCategory": "Fasteners", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "TS-21205", + "ECommerce.customerName": "Customer 40", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-06-15T00:00:00.000", + "ECommerce.orderId": "CA-2017-119284", + "ECommerce.productName": "HTC One", + "ECommerce.profit": "26.9973", + "ECommerce.quantity": "3", + "ECommerce.rowId": "8697", + "ECommerce.sales": "239.976", + "ECommerce.subCategory": "Phones", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Morristown", + "ECommerce.customerId": "GZ-14470", + "ECommerce.customerName": "Customer 20", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-09-17T00:00:00.000", + "ECommerce.orderId": "CA-2017-126928", + "ECommerce.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", + "ECommerce.profit": "225.6000", + "ECommerce.quantity": "4", + "ECommerce.rowId": "8878", + "ECommerce.sales": "480.000", + "ECommerce.subCategory": "Machines", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "JH-15430", + "ECommerce.customerName": "Customer 23", + "ECommerce.discount": "0.5", + "ECommerce.orderDate": "2020-12-25T00:00:00.000", + "ECommerce.orderId": "CA-2017-105620", + "ECommerce.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", + "ECommerce.profit": "-7.2000", + "ECommerce.quantity": "2", + "ECommerce.rowId": "8958", + "ECommerce.sales": "120.000", + "ECommerce.subCategory": "Machines", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "New York City", + "ECommerce.customerId": "CD-12280", + "ECommerce.customerName": "Customer 13", + "ECommerce.discount": "0.1", + "ECommerce.orderDate": "2020-11-05T00:00:00.000", + "ECommerce.orderId": "CA-2017-102925", + "ECommerce.productName": "Harbour Creations 67200 Series Stacking Chairs", + "ECommerce.profit": "24.2012", + "ECommerce.quantity": "2", + "ECommerce.rowId": "9473", + "ECommerce.sales": "128.124", + "ECommerce.subCategory": "Chairs", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "New York City", + "ECommerce.customerId": "SB-20185", + "ECommerce.customerName": "Customer 37", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-06-25T00:00:00.000", + "ECommerce.orderId": "CA-2017-116127", + "ECommerce.productName": "DMI Eclipse Executive Suite Bookcases", + "ECommerce.profit": "-5.0098", + "ECommerce.quantity": "1", + "ECommerce.rowId": "9584", + "ECommerce.sales": "400.784", + "ECommerce.subCategory": "Bookcases", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "BS-11380", + "ECommerce.customerName": "Customer 9", + "ECommerce.discount": "0.4", + "ECommerce.orderDate": "2020-11-16T00:00:00.000", + "ECommerce.orderId": "CA-2017-160633", + "ECommerce.productName": "Hewlett Packard 610 Color Digital Copier / Printer", + "ECommerce.profit": "74.9985", + "ECommerce.quantity": "3", + "ECommerce.rowId": "9618", + "ECommerce.sales": "899.982", + "ECommerce.subCategory": "Copiers", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Bowling", + "ECommerce.customerId": "BS-11380", + "ECommerce.customerName": "Customer 9", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-11-16T00:00:00.000", + "ECommerce.orderId": "CA-2017-160633", + "ECommerce.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", + "ECommerce.profit": "5.3970", + "ECommerce.quantity": "3", + "ECommerce.rowId": "9619", + "ECommerce.sales": "86.352", + "ECommerce.subCategory": "Art", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver querying ECommerce: dimensions 1`] = ` +Array [ + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Detroit", + "ECommerce.customerId": "MC-17605", + "ECommerce.customerName": "Customer 31", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-01-23T00:00:00.000", + "ECommerce.orderId": "CA-2017-145142", + "ECommerce.productName": "Balt Solid Wood Rectangular Table", + "ECommerce.profit": "21.0980", + "ECommerce.quantity": "2", + "ECommerce.rowId": "523", + "ECommerce.sales": "210.980", + "ECommerce.subCategory": "Tables", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Lorain", + "ECommerce.customerId": "GA-14725", + "ECommerce.customerName": "Customer 19", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderId": "CA-2017-107503", + "ECommerce.productName": "Linden 10 Round Wall Clock, Black", + "ECommerce.profit": "8.5568", + "ECommerce.quantity": "4", + "ECommerce.rowId": "849", + "ECommerce.sales": "48.896", + "ECommerce.subCategory": "Furnishings", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Olympia", + "ECommerce.customerId": "PF-19165", + "ECommerce.customerName": "Customer 36", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-06-17T00:00:00.000", + "ECommerce.orderId": "CA-2017-118437", + "ECommerce.productName": "Project Tote Personal File", + "ECommerce.profit": "4.0687", + "ECommerce.quantity": "1", + "ECommerce.rowId": "1013", + "ECommerce.sales": "14.030", + "ECommerce.subCategory": "Storage", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Vancouver", + "ECommerce.customerId": "JW-15220", + "ECommerce.customerName": "Customer 26", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-10-30T00:00:00.000", + "ECommerce.orderId": "CA-2017-139661", + "ECommerce.productName": "Magna Visual Magnetic Picture Hangers", + "ECommerce.profit": "3.6632", + "ECommerce.quantity": "2", + "ECommerce.rowId": "1494", + "ECommerce.sales": "9.640", + "ECommerce.subCategory": "Furnishings", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "ML-17755", + "ECommerce.customerName": "Customer 33", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-06-25T00:00:00.000", + "ECommerce.orderId": "CA-2017-133648", + "ECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", + "ECommerce.profit": "-2.1195", + "ECommerce.quantity": "3", + "ECommerce.rowId": "1995", + "ECommerce.sales": "11.304", + "ECommerce.subCategory": "Fasteners", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "KN-16705", + "ECommerce.customerName": "Customer 28", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-09-23T00:00:00.000", + "ECommerce.orderId": "CA-2017-138422", + "ECommerce.productName": "Wausau Papers Astrobrights Colored Envelopes", + "ECommerce.profit": "5.2026", + "ECommerce.quantity": "3", + "ECommerce.rowId": "2329", + "ECommerce.sales": "14.352", + "ECommerce.subCategory": "Envelopes", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "New York City", + "ECommerce.customerId": "DB-13405", + "ECommerce.customerName": "Customer 15", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-03-17T00:00:00.000", + "ECommerce.orderId": "CA-2017-140949", + "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.2", + "ECommerce.profit": "13.6040", + "ECommerce.quantity": "8", + "ECommerce.rowId": "2455", + "ECommerce.sales": "71.600", + "ECommerce.subCategory": "Accessories", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "BM-11650", + "ECommerce.customerName": "Customer 8", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-05-13T00:00:00.000", + "ECommerce.orderId": "CA-2017-149048", + "ECommerce.productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", + "ECommerce.profit": "81.4320", + "ECommerce.quantity": "2", + "ECommerce.rowId": "2595", + "ECommerce.sales": "180.960", + "ECommerce.subCategory": "Envelopes", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Provo", + "ECommerce.customerId": "AS-10225", + "ECommerce.customerName": "Customer 3", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-09-17T00:00:00.000", + "ECommerce.orderId": "CA-2017-112515", + "ECommerce.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", + "ECommerce.profit": "77.5764", + "ECommerce.quantity": "3", + "ECommerce.rowId": "2655", + "ECommerce.sales": "1292.940", + "ECommerce.subCategory": "Bookcases", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "DG-13300", + "ECommerce.customerName": "Customer 16", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-11-28T00:00:00.000", + "ECommerce.orderId": "CA-2017-123372", + "ECommerce.productName": "Google Nexus 5", + "ECommerce.profit": "494.9725", + "ECommerce.quantity": "11", + "ECommerce.rowId": "2661", + "ECommerce.sales": "1979.890", + "ECommerce.subCategory": "Phones", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Glendale", + "ECommerce.customerId": "EM-14140", + "ECommerce.customerName": "Customer 18", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-11-12T00:00:00.000", + "ECommerce.orderId": "CA-2017-134915", + "ECommerce.productName": "Harbour Creations 67200 Series Stacking Chairs", + "ECommerce.profit": "9.9652", + "ECommerce.quantity": "2", + "ECommerce.rowId": "2952", + "ECommerce.sales": "113.888", + "ECommerce.subCategory": "Chairs", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "San Francisco", + "ECommerce.customerId": "HH-15010", + "ECommerce.customerName": "Customer 21", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-10-19T00:00:00.000", + "ECommerce.orderId": "CA-2017-131492", + "ECommerce.productName": "Linden 10 Round Wall Clock, Black", + "ECommerce.profit": "10.3904", + "ECommerce.quantity": "2", + "ECommerce.rowId": "3059", + "ECommerce.sales": "30.560", + "ECommerce.subCategory": "Furnishings", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "San Francisco", + "ECommerce.customerId": "HH-15010", + "ECommerce.customerName": "Customer 21", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-10-19T00:00:00.000", + "ECommerce.orderId": "CA-2017-131492", + "ECommerce.productName": "Anderson Hickey Conga Table Tops & Accessories", + "ECommerce.profit": "-3.3506", + "ECommerce.quantity": "2", + "ECommerce.rowId": "3060", + "ECommerce.sales": "24.368", + "ECommerce.subCategory": "Tables", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Louisville", + "ECommerce.customerId": "DW-13480", + "ECommerce.customerName": "Customer 17", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-05-27T00:00:00.000", + "ECommerce.orderId": "US-2017-132297", + "ECommerce.productName": "Google Nexus 6", + "ECommerce.profit": "134.9925", + "ECommerce.quantity": "3", + "ECommerce.rowId": "3083", + "ECommerce.sales": "539.970", + "ECommerce.subCategory": "Phones", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Auburn", + "ECommerce.customerId": "KN-16705", + "ECommerce.customerName": "Customer 28", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-06-11T00:00:00.000", + "ECommerce.orderId": "CA-2017-102554", + "ECommerce.productName": "OIC #2 Pencils, Medium Soft", + "ECommerce.profit": "1.0904", + "ECommerce.quantity": "2", + "ECommerce.rowId": "3448", + "ECommerce.sales": "3.760", + "ECommerce.subCategory": "Art", }, Object { - "ECommerce.city": "Lorain", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2019-10-16T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2019-10-16T00:00:00.000", + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Omaha", + "ECommerce.customerId": "JO-15550", + "ECommerce.customerName": "Customer 24", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-05-29T00:00:00.000", + "ECommerce.orderId": "CA-2017-144568", + "ECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", + "ECommerce.profit": "1.1775", + "ECommerce.quantity": "5", + "ECommerce.rowId": "3717", + "ECommerce.sales": "23.550", + "ECommerce.subCategory": "Fasteners", }, Object { - "ECommerce.city": "New York City", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2019-10-16T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2019-10-16T00:00:00.000", + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Bakersfield", + "ECommerce.customerId": "AW-10840", + "ECommerce.customerName": "Customer 4", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-09-02T00:00:00.000", + "ECommerce.orderId": "CA-2017-123001", + "ECommerce.productName": "OIC #2 Pencils, Medium Soft", + "ECommerce.profit": "2.7260", + "ECommerce.quantity": "5", + "ECommerce.rowId": "3934", + "ECommerce.sales": "9.400", + "ECommerce.subCategory": "Art", }, Object { + "ECommerce.category": "Office Supplies", "ECommerce.city": "Philadelphia", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2019-10-16T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2019-10-16T00:00:00.000", - }, - Object { - "ECommerce.city": "Arlington", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-04-14T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-14T00:00:00.000", + "ECommerce.customerId": "CC-12475", + "ECommerce.customerName": "Customer 12", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-11-21T00:00:00.000", + "ECommerce.orderId": "CA-2017-100811", + "ECommerce.productName": "Recycled Eldon Regeneration Jumbo File", + "ECommerce.profit": "3.9296", + "ECommerce.quantity": "4", + "ECommerce.rowId": "4012", + "ECommerce.sales": "39.296", + "ECommerce.subCategory": "Storage", }, Object { - "ECommerce.city": "Auburn", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-04-14T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-14T00:00:00.000", + "ECommerce.category": "Furniture", + "ECommerce.city": "Lafayette", + "ECommerce.customerId": "CS-12355", + "ECommerce.customerName": "Customer 14", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-12-24T00:00:00.000", + "ECommerce.orderId": "CA-2017-124296", + "ECommerce.productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", + "ECommerce.profit": "60.5488", + "ECommerce.quantity": "4", + "ECommerce.rowId": "4031", + "ECommerce.sales": "232.880", + "ECommerce.subCategory": "Chairs", }, Object { - "ECommerce.city": "Bakersfield", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-04-14T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-14T00:00:00.000", + "ECommerce.category": "Technology", + "ECommerce.city": "New York City", + "ECommerce.customerId": "AH-10465", + "ECommerce.customerName": "Customer 1", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-05-14T00:00:00.000", + "ECommerce.orderId": "CA-2017-115546", + "ECommerce.productName": "Google Nexus 7", + "ECommerce.profit": "134.9925", + "ECommerce.quantity": "3", + "ECommerce.rowId": "4161", + "ECommerce.sales": "539.970", + "ECommerce.subCategory": "Phones", }, Object { - "ECommerce.city": "Baltimore", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-04-14T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-14T00:00:00.000", + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "WB-21850", + "ECommerce.customerName": "Customer 41", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-11-11T00:00:00.000", + "ECommerce.orderId": "CA-2017-120327", + "ECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", + "ECommerce.profit": "21.5824", + "ECommerce.quantity": "4", + "ECommerce.rowId": "4227", + "ECommerce.sales": "45.920", + "ECommerce.subCategory": "Fasteners", }, Object { + "ECommerce.category": "Technology", "ECommerce.city": "Columbus", - "ECommerce.count": "4", - "ECommerce.customOrderDateNoPreAgg": "2020-04-14T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-14T00:00:00.000", + "ECommerce.customerId": "TB-21175", + "ECommerce.customerName": "Customer 39", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-11-02T00:00:00.000", + "ECommerce.orderId": "CA-2017-143567", + "ECommerce.productName": "Logitech di_Novo Edge Keyboard", + "ECommerce.profit": "517.4793", + "ECommerce.quantity": "9", + "ECommerce.rowId": "4882", + "ECommerce.sales": "2249.910", + "ECommerce.subCategory": "Accessories", }, Object { + "ECommerce.category": "Furniture", "ECommerce.city": "Detroit", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-04-14T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-14T00:00:00.000", - }, - Object { - "ECommerce.city": "Los Angeles", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-04-14T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-14T00:00:00.000", + "ECommerce.customerId": "CA-12775", + "ECommerce.customerName": "Customer 11", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-09-01T00:00:00.000", + "ECommerce.orderId": "CA-2017-145653", + "ECommerce.productName": "Harbour Creations 67200 Series Stacking Chairs", + "ECommerce.profit": "134.5302", + "ECommerce.quantity": "7", + "ECommerce.rowId": "5220", + "ECommerce.sales": "498.260", + "ECommerce.subCategory": "Chairs", }, Object { - "ECommerce.city": "Louisville", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-04-14T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-14T00:00:00.000", + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "KL-16555", + "ECommerce.customerName": "Customer 27", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-12-14T00:00:00.000", + "ECommerce.orderId": "CA-2017-147333", + "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.0", + "ECommerce.profit": "8.5025", + "ECommerce.quantity": "5", + "ECommerce.rowId": "5277", + "ECommerce.sales": "44.750", + "ECommerce.subCategory": "Accessories", }, Object { - "ECommerce.city": "Morristown", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-04-14T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-14T00:00:00.000", + "ECommerce.category": "Technology", + "ECommerce.city": "Los Angeles", + "ECommerce.customerId": "SS-20140", + "ECommerce.customerName": "Customer 38", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-06-03T00:00:00.000", + "ECommerce.orderId": "CA-2017-145772", + "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.1", + "ECommerce.profit": "8.5025", + "ECommerce.quantity": "5", + "ECommerce.rowId": "6125", + "ECommerce.sales": "44.750", + "ECommerce.subCategory": "Accessories", }, Object { - "ECommerce.city": "New York City", - "ECommerce.count": "3", - "ECommerce.customOrderDateNoPreAgg": "2020-04-14T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-14T00:00:00.000", + "ECommerce.category": "Furniture", + "ECommerce.city": "Marion", + "ECommerce.customerId": "MG-17650", + "ECommerce.customerName": "Customer 32", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-12-01T00:00:00.000", + "ECommerce.orderId": "CA-2017-145660", + "ECommerce.productName": "Magna Visual Magnetic Picture Hangers", + "ECommerce.profit": "1.7352", + "ECommerce.quantity": "2", + "ECommerce.rowId": "6205", + "ECommerce.sales": "7.712", + "ECommerce.subCategory": "Furnishings", }, Object { - "ECommerce.city": "Olympia", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-04-14T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-14T00:00:00.000", + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Oakland", + "ECommerce.customerId": "BB-11545", + "ECommerce.customerName": "Customer 5", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-12-02T00:00:00.000", + "ECommerce.orderId": "CA-2017-102379", + "ECommerce.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", + "ECommerce.profit": "44.9750", + "ECommerce.quantity": "5", + "ECommerce.rowId": "6272", + "ECommerce.sales": "179.900", + "ECommerce.subCategory": "Art", }, Object { - "ECommerce.city": "Omaha", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-04-14T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-14T00:00:00.000", + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Baltimore", + "ECommerce.customerId": "AJ-10780", + "ECommerce.customerName": "Customer 2", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-05-14T00:00:00.000", + "ECommerce.orderId": "US-2017-133361", + "ECommerce.productName": "OIC #2 Pencils, Medium Soft", + "ECommerce.profit": "1.0904", + "ECommerce.quantity": "2", + "ECommerce.rowId": "6459", + "ECommerce.sales": "3.760", + "ECommerce.subCategory": "Art", }, Object { - "ECommerce.city": "Provo", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-04-14T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-14T00:00:00.000", + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Arlington", + "ECommerce.customerId": "BF-11020", + "ECommerce.customerName": "Customer 6", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-09-08T00:00:00.000", + "ECommerce.orderId": "US-2017-124779", + "ECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", + "ECommerce.profit": "15.4980", + "ECommerce.quantity": "5", + "ECommerce.rowId": "6651", + "ECommerce.sales": "45.920", + "ECommerce.subCategory": "Fasteners", }, Object { - "ECommerce.city": "Bowling", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-10-12T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-12T00:00:00.000", + "ECommerce.category": "Technology", + "ECommerce.city": "Houston", + "ECommerce.customerId": "HK-14890", + "ECommerce.customerName": "Customer 22", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-03-26T00:00:00.000", + "ECommerce.orderId": "US-2017-141677", + "ECommerce.productName": "Canon PC1080F Personal Copier", + "ECommerce.profit": "569.9905", + "ECommerce.quantity": "5", + "ECommerce.rowId": "7174", + "ECommerce.sales": "2399.960", + "ECommerce.subCategory": "Copiers", }, Object { + "ECommerce.category": "Technology", "ECommerce.city": "Columbus", - "ECommerce.count": "8", - "ECommerce.customOrderDateNoPreAgg": "2020-10-12T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-12T00:00:00.000", + "ECommerce.customerId": "LR-16915", + "ECommerce.customerName": "Customer 30", + "ECommerce.discount": "0.5", + "ECommerce.orderDate": "2020-12-04T00:00:00.000", + "ECommerce.orderId": "CA-2017-109183", + "ECommerce.productName": "Okidata C610n Printer", + "ECommerce.profit": "-272.5800", + "ECommerce.quantity": "2", + "ECommerce.rowId": "7293", + "ECommerce.sales": "649.000", + "ECommerce.subCategory": "Machines", }, Object { - "ECommerce.city": "Dallas", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-10-12T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-12T00:00:00.000", + "ECommerce.category": "Office Supplies", + "ECommerce.city": "New York City", + "ECommerce.customerId": "MM-18280", + "ECommerce.customerName": "Customer 34", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-06-10T00:00:00.000", + "ECommerce.orderId": "CA-2017-112172", + "ECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", + "ECommerce.profit": "0.7065", + "ECommerce.quantity": "3", + "ECommerce.rowId": "7310", + "ECommerce.sales": "14.130", + "ECommerce.subCategory": "Fasteners", }, Object { - "ECommerce.city": "Glendale", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-10-12T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-12T00:00:00.000", + "ECommerce.category": "Furniture", + "ECommerce.city": "Philadelphia", + "ECommerce.customerId": "BS-11755", + "ECommerce.customerName": "Customer 10", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-04-10T00:00:00.000", + "ECommerce.orderId": "CA-2017-135069", + "ECommerce.productName": "Linden 10 Round Wall Clock, Black", + "ECommerce.profit": "6.4176", + "ECommerce.quantity": "3", + "ECommerce.rowId": "7425", + "ECommerce.sales": "36.672", + "ECommerce.subCategory": "Furnishings", }, Object { - "ECommerce.city": "Lafayette", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-10-12T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-12T00:00:00.000", + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "BF-11170", + "ECommerce.customerName": "Customer 7", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-12-14T00:00:00.000", + "ECommerce.orderId": "CA-2017-151799", + "ECommerce.productName": "Canon PC1080F Personal Copier", + "ECommerce.profit": "467.9922", + "ECommerce.quantity": "2", + "ECommerce.rowId": "7698", + "ECommerce.sales": "1199.980", + "ECommerce.subCategory": "Copiers", }, Object { + "ECommerce.category": "Furniture", "ECommerce.city": "Lakewood", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-10-12T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-12T00:00:00.000", + "ECommerce.customerId": "NP-18670", + "ECommerce.customerName": "Customer 35", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-10-12T00:00:00.000", + "ECommerce.orderId": "CA-2017-150091", + "ECommerce.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", + "ECommerce.profit": "129.2940", + "ECommerce.quantity": "5", + "ECommerce.rowId": "8425", + "ECommerce.sales": "2154.900", + "ECommerce.subCategory": "Bookcases", }, Object { - "ECommerce.city": "Marion", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-10-12T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-12T00:00:00.000", + "ECommerce.category": "Furniture", + "ECommerce.city": "Dallas", + "ECommerce.customerId": "LC-17050", + "ECommerce.customerName": "Customer 29", + "ECommerce.discount": "0.6", + "ECommerce.orderDate": "2020-11-06T00:00:00.000", + "ECommerce.orderId": "US-2017-119319", + "ECommerce.productName": "Linden 10 Round Wall Clock, Black", + "ECommerce.profit": "-19.8640", + "ECommerce.quantity": "5", + "ECommerce.rowId": "8621", + "ECommerce.sales": "30.560", + "ECommerce.subCategory": "Furnishings", }, Object { - "ECommerce.city": "New York City", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-10-12T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-12T00:00:00.000", + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Decatur", + "ECommerce.customerId": "JS-16030", + "ECommerce.customerName": "Customer 25", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-02-16T00:00:00.000", + "ECommerce.orderId": "CA-2017-163265", + "ECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", + "ECommerce.profit": "6.1992", + "ECommerce.quantity": "2", + "ECommerce.rowId": "8673", + "ECommerce.sales": "18.368", + "ECommerce.subCategory": "Fasteners", }, Object { - "ECommerce.city": "Oakland", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-10-12T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-12T00:00:00.000", + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "TS-21205", + "ECommerce.customerName": "Customer 40", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-06-15T00:00:00.000", + "ECommerce.orderId": "CA-2017-119284", + "ECommerce.productName": "HTC One", + "ECommerce.profit": "26.9973", + "ECommerce.quantity": "3", + "ECommerce.rowId": "8697", + "ECommerce.sales": "239.976", + "ECommerce.subCategory": "Phones", }, Object { - "ECommerce.city": "Philadelphia", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-10-12T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-12T00:00:00.000", + "ECommerce.category": "Technology", + "ECommerce.city": "Morristown", + "ECommerce.customerId": "GZ-14470", + "ECommerce.customerName": "Customer 20", + "ECommerce.discount": "0.0", + "ECommerce.orderDate": "2020-09-17T00:00:00.000", + "ECommerce.orderId": "CA-2017-126928", + "ECommerce.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", + "ECommerce.profit": "225.6000", + "ECommerce.quantity": "4", + "ECommerce.rowId": "8878", + "ECommerce.sales": "480.000", + "ECommerce.subCategory": "Machines", }, Object { - "ECommerce.city": "San Francisco", - "ECommerce.count": "2", - "ECommerce.customOrderDateNoPreAgg": "2020-10-12T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-12T00:00:00.000", + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "JH-15430", + "ECommerce.customerName": "Customer 23", + "ECommerce.discount": "0.5", + "ECommerce.orderDate": "2020-12-25T00:00:00.000", + "ECommerce.orderId": "CA-2017-105620", + "ECommerce.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", + "ECommerce.profit": "-7.2000", + "ECommerce.quantity": "2", + "ECommerce.rowId": "8958", + "ECommerce.sales": "120.000", + "ECommerce.subCategory": "Machines", }, Object { - "ECommerce.city": "Vancouver", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-10-12T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-12T00:00:00.000", + "ECommerce.category": "Furniture", + "ECommerce.city": "New York City", + "ECommerce.customerId": "CD-12280", + "ECommerce.customerName": "Customer 13", + "ECommerce.discount": "0.1", + "ECommerce.orderDate": "2020-11-05T00:00:00.000", + "ECommerce.orderId": "CA-2017-102925", + "ECommerce.productName": "Harbour Creations 67200 Series Stacking Chairs", + "ECommerce.profit": "24.2012", + "ECommerce.quantity": "2", + "ECommerce.rowId": "9473", + "ECommerce.sales": "128.124", + "ECommerce.subCategory": "Chairs", }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying custom granularities ECommerce: count by half_year_by_1st_april + no dimension 1`] = ` -Array [ Object { - "ECommerce.count": "6", - "ECommerce.customOrderDateNoPreAgg": "2019-10-16T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2019-10-16T00:00:00.000", + "ECommerce.category": "Furniture", + "ECommerce.city": "New York City", + "ECommerce.customerId": "SB-20185", + "ECommerce.customerName": "Customer 37", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-06-25T00:00:00.000", + "ECommerce.orderId": "CA-2017-116127", + "ECommerce.productName": "DMI Eclipse Executive Suite Bookcases", + "ECommerce.profit": "-5.0098", + "ECommerce.quantity": "1", + "ECommerce.rowId": "9584", + "ECommerce.sales": "400.784", + "ECommerce.subCategory": "Bookcases", }, Object { - "ECommerce.count": "18", - "ECommerce.customOrderDateNoPreAgg": "2020-04-14T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-14T00:00:00.000", + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "BS-11380", + "ECommerce.customerName": "Customer 9", + "ECommerce.discount": "0.4", + "ECommerce.orderDate": "2020-11-16T00:00:00.000", + "ECommerce.orderId": "CA-2017-160633", + "ECommerce.productName": "Hewlett Packard 610 Color Digital Copier / Printer", + "ECommerce.profit": "74.9985", + "ECommerce.quantity": "3", + "ECommerce.rowId": "9618", + "ECommerce.sales": "899.982", + "ECommerce.subCategory": "Copiers", }, Object { - "ECommerce.count": "20", - "ECommerce.customOrderDateNoPreAgg": "2020-10-12T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-12T00:00:00.000", + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Bowling", + "ECommerce.customerId": "BS-11380", + "ECommerce.customerName": "Customer 9", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-11-16T00:00:00.000", + "ECommerce.orderId": "CA-2017-160633", + "ECommerce.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", + "ECommerce.profit": "5.3970", + "ECommerce.quantity": "3", + "ECommerce.rowId": "9619", + "ECommerce.sales": "86.352", + "ECommerce.subCategory": "Art", }, ] `; -exports[`Queries with the @cubejs-backend/snowflake-driver querying custom granularities ECommerce: count by three_months_by_march + dimension 1`] = ` +exports[`Queries with the @cubejs-backend/snowflake-driver querying ECommerce: partitioned pre-agg 1`] = ` Array [ Object { - "ECommerce.city": "Decatur", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2019-12-12T21:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2019-12-12T21:00:00.000", - }, - Object { - "ECommerce.city": "Detroit", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2019-12-12T21:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2019-12-12T21:00:00.000", - }, - Object { - "ECommerce.city": "Lorain", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2019-12-12T21:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2019-12-12T21:00:00.000", - }, - Object { - "ECommerce.city": "Auburn", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-03-15T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-03-15T00:00:00.000", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "ECommerce.productName": "Balt Solid Wood Rectangular Table", + "ECommerce.totalQuantity": "2", }, Object { - "ECommerce.city": "Baltimore", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-03-15T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-03-15T00:00:00.000", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "ECommerce.productName": "Linden 10 Round Wall Clock, Black", + "ECommerce.totalQuantity": "4", }, Object { - "ECommerce.city": "Columbus", - "ECommerce.count": "2", - "ECommerce.customOrderDateNoPreAgg": "2020-03-15T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-03-15T00:00:00.000", + "ECommerce.orderDate": "2020-02-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "ECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", + "ECommerce.totalQuantity": "2", }, Object { - "ECommerce.city": "Houston", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-03-15T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-03-15T00:00:00.000", + "ECommerce.orderDate": "2020-03-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-03-01T00:00:00.000", + "ECommerce.productName": "Canon PC1080F Personal Copier", + "ECommerce.totalQuantity": "5", }, Object { - "ECommerce.city": "Los Angeles", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-03-15T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-03-15T00:00:00.000", + "ECommerce.orderDate": "2020-03-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-03-01T00:00:00.000", + "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.2", + "ECommerce.totalQuantity": "8", }, Object { - "ECommerce.city": "Louisville", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-03-15T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-03-15T00:00:00.000", + "ECommerce.orderDate": "2020-04-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-04-01T00:00:00.000", + "ECommerce.productName": "Linden 10 Round Wall Clock, Black", + "ECommerce.totalQuantity": "3", }, Object { - "ECommerce.city": "New York City", - "ECommerce.count": "3", - "ECommerce.customOrderDateNoPreAgg": "2020-03-15T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-03-15T00:00:00.000", + "ECommerce.orderDate": "2020-05-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-05-01T00:00:00.000", + "ECommerce.productName": "Google Nexus 6", + "ECommerce.totalQuantity": "3", }, Object { - "ECommerce.city": "Omaha", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-03-15T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-03-15T00:00:00.000", + "ECommerce.orderDate": "2020-05-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-05-01T00:00:00.000", + "ECommerce.productName": "Google Nexus 7", + "ECommerce.totalQuantity": "3", }, Object { - "ECommerce.city": "Philadelphia", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-03-15T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-03-15T00:00:00.000", + "ECommerce.orderDate": "2020-05-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-05-01T00:00:00.000", + "ECommerce.productName": "OIC #2 Pencils, Medium Soft", + "ECommerce.totalQuantity": "2", }, Object { - "ECommerce.city": "Arlington", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-06-16T03:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-06-16T03:00:00.000", + "ECommerce.orderDate": "2020-05-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-05-01T00:00:00.000", + "ECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", + "ECommerce.totalQuantity": "5", }, Object { - "ECommerce.city": "Bakersfield", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-06-16T03:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-06-16T03:00:00.000", + "ECommerce.orderDate": "2020-05-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-05-01T00:00:00.000", + "ECommerce.productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", + "ECommerce.totalQuantity": "2", }, Object { - "ECommerce.city": "Columbus", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-06-16T03:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-06-16T03:00:00.000", + "ECommerce.orderDate": "2020-06-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-06-01T00:00:00.000", + "ECommerce.productName": "DMI Eclipse Executive Suite Bookcases", + "ECommerce.totalQuantity": "1", }, Object { - "ECommerce.city": "Detroit", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-06-16T03:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-06-16T03:00:00.000", + "ECommerce.orderDate": "2020-06-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-06-01T00:00:00.000", + "ECommerce.productName": "HTC One", + "ECommerce.totalQuantity": "3", }, Object { - "ECommerce.city": "Morristown", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-06-16T03:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-06-16T03:00:00.000", + "ECommerce.orderDate": "2020-06-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-06-01T00:00:00.000", + "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.1", + "ECommerce.totalQuantity": "5", }, Object { - "ECommerce.city": "New York City", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-06-16T03:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-06-16T03:00:00.000", + "ECommerce.orderDate": "2020-06-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-06-01T00:00:00.000", + "ECommerce.productName": "OIC #2 Pencils, Medium Soft", + "ECommerce.totalQuantity": "2", }, Object { - "ECommerce.city": "Olympia", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-06-16T03:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-06-16T03:00:00.000", + "ECommerce.orderDate": "2020-06-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-06-01T00:00:00.000", + "ECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", + "ECommerce.totalQuantity": "6", }, Object { - "ECommerce.city": "Provo", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-06-16T03:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-06-16T03:00:00.000", + "ECommerce.orderDate": "2020-06-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-06-01T00:00:00.000", + "ECommerce.productName": "Project Tote Personal File", + "ECommerce.totalQuantity": "1", }, Object { - "ECommerce.city": "Bowling", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-09-17T06:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-17T06:00:00.000", + "ECommerce.orderDate": "2020-09-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-09-01T00:00:00.000", + "ECommerce.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", + "ECommerce.totalQuantity": "3", }, Object { - "ECommerce.city": "Columbus", - "ECommerce.count": "8", - "ECommerce.customOrderDateNoPreAgg": "2020-09-17T06:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-17T06:00:00.000", + "ECommerce.orderDate": "2020-09-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-09-01T00:00:00.000", + "ECommerce.productName": "Harbour Creations 67200 Series Stacking Chairs", + "ECommerce.totalQuantity": "7", }, Object { - "ECommerce.city": "Dallas", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-09-17T06:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-17T06:00:00.000", + "ECommerce.orderDate": "2020-09-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-09-01T00:00:00.000", + "ECommerce.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", + "ECommerce.totalQuantity": "4", }, Object { - "ECommerce.city": "Glendale", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-09-17T06:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-17T06:00:00.000", + "ECommerce.orderDate": "2020-09-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-09-01T00:00:00.000", + "ECommerce.productName": "OIC #2 Pencils, Medium Soft", + "ECommerce.totalQuantity": "5", }, Object { - "ECommerce.city": "Lakewood", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-09-17T06:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-17T06:00:00.000", + "ECommerce.orderDate": "2020-09-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-09-01T00:00:00.000", + "ECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", + "ECommerce.totalQuantity": "5", }, Object { - "ECommerce.city": "Marion", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-09-17T06:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-17T06:00:00.000", + "ECommerce.orderDate": "2020-09-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-09-01T00:00:00.000", + "ECommerce.productName": "Wausau Papers Astrobrights Colored Envelopes", + "ECommerce.totalQuantity": "3", }, Object { - "ECommerce.city": "New York City", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-09-17T06:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-17T06:00:00.000", + "ECommerce.orderDate": "2020-10-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-10-01T00:00:00.000", + "ECommerce.productName": "Anderson Hickey Conga Table Tops & Accessories", + "ECommerce.totalQuantity": "2", }, Object { - "ECommerce.city": "Oakland", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-09-17T06:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-17T06:00:00.000", + "ECommerce.orderDate": "2020-10-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-10-01T00:00:00.000", + "ECommerce.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", + "ECommerce.totalQuantity": "5", }, Object { - "ECommerce.city": "Philadelphia", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-09-17T06:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-17T06:00:00.000", + "ECommerce.orderDate": "2020-10-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-10-01T00:00:00.000", + "ECommerce.productName": "Linden 10 Round Wall Clock, Black", + "ECommerce.totalQuantity": "2", }, Object { - "ECommerce.city": "San Francisco", - "ECommerce.count": "2", - "ECommerce.customOrderDateNoPreAgg": "2020-09-17T06:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-17T06:00:00.000", + "ECommerce.orderDate": "2020-10-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-10-01T00:00:00.000", + "ECommerce.productName": "Magna Visual Magnetic Picture Hangers", + "ECommerce.totalQuantity": "2", }, Object { - "ECommerce.city": "Vancouver", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-09-17T06:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-17T06:00:00.000", + "ECommerce.orderDate": "2020-11-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "ECommerce.productName": "Google Nexus 5", + "ECommerce.totalQuantity": "11", }, Object { - "ECommerce.city": "Columbus", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-12-19T09:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-12-19T09:00:00.000", + "ECommerce.orderDate": "2020-11-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "ECommerce.productName": "Harbour Creations 67200 Series Stacking Chairs", + "ECommerce.totalQuantity": "4", }, Object { - "ECommerce.city": "Lafayette", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-12-19T09:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-12-19T09:00:00.000", + "ECommerce.orderDate": "2020-11-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "ECommerce.productName": "Hewlett Packard 610 Color Digital Copier / Printer", + "ECommerce.totalQuantity": "3", }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying custom granularities ECommerce: count by three_months_by_march + no dimension 1`] = ` -Array [ Object { - "ECommerce.count": "3", - "ECommerce.customOrderDateNoPreAgg": "2019-12-12T21:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2019-12-12T21:00:00.000", + "ECommerce.orderDate": "2020-11-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "ECommerce.productName": "Linden 10 Round Wall Clock, Black", + "ECommerce.totalQuantity": "5", }, Object { - "ECommerce.count": "12", - "ECommerce.customOrderDateNoPreAgg": "2020-03-15T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-03-15T00:00:00.000", + "ECommerce.orderDate": "2020-11-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "ECommerce.productName": "Logitech di_Novo Edge Keyboard", + "ECommerce.totalQuantity": "9", }, Object { - "ECommerce.count": "8", - "ECommerce.customOrderDateNoPreAgg": "2020-06-16T03:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-06-16T03:00:00.000", + "ECommerce.orderDate": "2020-11-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "ECommerce.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", + "ECommerce.totalQuantity": "3", }, Object { - "ECommerce.count": "19", - "ECommerce.customOrderDateNoPreAgg": "2020-09-17T06:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-17T06:00:00.000", + "ECommerce.orderDate": "2020-11-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "ECommerce.productName": "Recycled Eldon Regeneration Jumbo File", + "ECommerce.totalQuantity": "4", }, Object { - "ECommerce.count": "2", - "ECommerce.customOrderDateNoPreAgg": "2020-12-19T09:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-12-19T09:00:00.000", + "ECommerce.orderDate": "2020-11-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "ECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", + "ECommerce.totalQuantity": "4", }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying custom granularities ECommerce: count by two_mo_by_feb + no dimension + rollingCountByLeading 1`] = ` -Array [ Object { - "ECommerce.customOrderDateNoPreAgg": "2019-12-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2019-12-01T10:00:00.000", - "ECommerce.rollingCountByLeading": "8", + "ECommerce.orderDate": "2020-12-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-12-01T00:00:00.000", + "ECommerce.productName": "Canon PC1080F Personal Copier", + "ECommerce.totalQuantity": "2", }, Object { - "ECommerce.customOrderDateNoPreAgg": "2020-02-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-02-01T10:00:00.000", - "ECommerce.rollingCountByLeading": "12", + "ECommerce.orderDate": "2020-12-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-12-01T00:00:00.000", + "ECommerce.productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", + "ECommerce.totalQuantity": "4", }, Object { - "ECommerce.customOrderDateNoPreAgg": "2020-04-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-04-01T10:00:00.000", - "ECommerce.rollingCountByLeading": "6", + "ECommerce.orderDate": "2020-12-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-12-01T00:00:00.000", + "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.0", + "ECommerce.totalQuantity": "5", }, Object { - "ECommerce.customOrderDateNoPreAgg": "2020-06-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-06-01T10:00:00.000", - "ECommerce.rollingCountByLeading": "19", + "ECommerce.orderDate": "2020-12-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-12-01T00:00:00.000", + "ECommerce.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", + "ECommerce.totalQuantity": "2", }, Object { - "ECommerce.customOrderDateNoPreAgg": "2020-08-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-08-01T10:00:00.000", - "ECommerce.rollingCountByLeading": "16", + "ECommerce.orderDate": "2020-12-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-12-01T00:00:00.000", + "ECommerce.productName": "Magna Visual Magnetic Picture Hangers", + "ECommerce.totalQuantity": "2", }, Object { - "ECommerce.customOrderDateNoPreAgg": "2020-10-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-10-01T10:00:00.000", - "ECommerce.rollingCountByLeading": null, + "ECommerce.orderDate": "2020-12-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-12-01T00:00:00.000", + "ECommerce.productName": "Okidata C610n Printer", + "ECommerce.totalQuantity": "2", }, Object { - "ECommerce.customOrderDateNoPreAgg": "2020-12-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-12-01T10:00:00.000", - "ECommerce.rollingCountByLeading": null, + "ECommerce.orderDate": "2020-12-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-12-01T00:00:00.000", + "ECommerce.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", + "ECommerce.totalQuantity": "5", }, ] `; -exports[`Queries with the @cubejs-backend/snowflake-driver querying custom granularities ECommerce: count by two_mo_by_feb + no dimension + rollingCountByTrailing 1`] = ` +exports[`Queries with the @cubejs-backend/snowflake-driver querying ECommerce: partitioned pre-agg higher granularity 1`] = ` Array [ Object { - "ECommerce.customOrderDateNoPreAgg": "2019-12-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2019-12-01T10:00:00.000", - "ECommerce.rollingCountByTrailing": "3", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", + "ECommerce.productName": "Anderson Hickey Conga Table Tops & Accessories", + "ECommerce.totalQuantity": "2", }, Object { - "ECommerce.customOrderDateNoPreAgg": "2020-02-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-02-01T10:00:00.000", - "ECommerce.rollingCountByTrailing": "3", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", + "ECommerce.productName": "Balt Solid Wood Rectangular Table", + "ECommerce.totalQuantity": "2", }, Object { - "ECommerce.customOrderDateNoPreAgg": "2020-04-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-04-01T10:00:00.000", - "ECommerce.rollingCountByTrailing": "12", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", + "ECommerce.productName": "Canon PC1080F Personal Copier", + "ECommerce.totalQuantity": "7", }, Object { - "ECommerce.customOrderDateNoPreAgg": "2020-06-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-06-01T10:00:00.000", - "ECommerce.rollingCountByTrailing": null, + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", + "ECommerce.productName": "DMI Eclipse Executive Suite Bookcases", + "ECommerce.totalQuantity": "1", }, Object { - "ECommerce.customOrderDateNoPreAgg": "2020-08-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-08-01T10:00:00.000", - "ECommerce.rollingCountByTrailing": "10", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", + "ECommerce.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", + "ECommerce.totalQuantity": "8", }, Object { - "ECommerce.customOrderDateNoPreAgg": "2020-10-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-10-01T10:00:00.000", - "ECommerce.rollingCountByTrailing": "16", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", + "ECommerce.productName": "Google Nexus 5", + "ECommerce.totalQuantity": "11", }, Object { - "ECommerce.customOrderDateNoPreAgg": "2020-12-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-12-01T10:00:00.000", - "ECommerce.rollingCountByTrailing": null, + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", + "ECommerce.productName": "Google Nexus 6", + "ECommerce.totalQuantity": "3", }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying custom granularities ECommerce: count by two_mo_by_feb + no dimension + rollingCountByUnbounded 1`] = ` -Array [ Object { - "ECommerce.customOrderDateNoPreAgg": "2019-12-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2019-12-01T10:00:00.000", - "ECommerce.rollingCountByUnbounded": "3", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", + "ECommerce.productName": "Google Nexus 7", + "ECommerce.totalQuantity": "3", }, Object { - "ECommerce.customOrderDateNoPreAgg": "2020-02-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-02-01T10:00:00.000", - "ECommerce.rollingCountByUnbounded": "6", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", + "ECommerce.productName": "HTC One", + "ECommerce.totalQuantity": "3", }, Object { - "ECommerce.customOrderDateNoPreAgg": "2020-04-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-04-01T10:00:00.000", - "ECommerce.rollingCountByUnbounded": "18", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", + "ECommerce.productName": "Harbour Creations 67200 Series Stacking Chairs", + "ECommerce.totalQuantity": "11", }, Object { - "ECommerce.customOrderDateNoPreAgg": "2020-06-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-06-01T10:00:00.000", - "ECommerce.rollingCountByUnbounded": "18", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", + "ECommerce.productName": "Hewlett Packard 610 Color Digital Copier / Printer", + "ECommerce.totalQuantity": "3", }, Object { - "ECommerce.customOrderDateNoPreAgg": "2020-08-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-08-01T10:00:00.000", - "ECommerce.rollingCountByUnbounded": "28", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", + "ECommerce.productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", + "ECommerce.totalQuantity": "4", }, Object { - "ECommerce.customOrderDateNoPreAgg": "2020-10-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-10-01T10:00:00.000", - "ECommerce.rollingCountByUnbounded": "44", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", + "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.0", + "ECommerce.totalQuantity": "5", }, Object { - "ECommerce.customOrderDateNoPreAgg": "2020-12-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-12-01T10:00:00.000", - "ECommerce.rollingCountByUnbounded": "44", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", + "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.1", + "ECommerce.totalQuantity": "5", }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying custom granularities ECommerce: count by half_year + dimension 1`] = ` -Array [ Object { - "ECommerce.city": "Auburn", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", + "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.2", + "ECommerce.totalQuantity": "8", }, Object { - "ECommerce.city": "Baltimore", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", + "ECommerce.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", + "ECommerce.totalQuantity": "6", }, Object { - "ECommerce.city": "Columbus", - "ECommerce.count": "3", - "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", + "ECommerce.productName": "Linden 10 Round Wall Clock, Black", + "ECommerce.totalQuantity": "14", }, Object { - "ECommerce.city": "Decatur", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", + "ECommerce.productName": "Logitech di_Novo Edge Keyboard", + "ECommerce.totalQuantity": "9", }, Object { - "ECommerce.city": "Detroit", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", + "ECommerce.productName": "Magna Visual Magnetic Picture Hangers", + "ECommerce.totalQuantity": "4", }, Object { - "ECommerce.city": "Houston", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", + "ECommerce.productName": "OIC #2 Pencils, Medium Soft", + "ECommerce.totalQuantity": "9", }, Object { - "ECommerce.city": "Lorain", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", + "ECommerce.productName": "Okidata C610n Printer", + "ECommerce.totalQuantity": "2", }, Object { - "ECommerce.city": "Los Angeles", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", + "ECommerce.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", + "ECommerce.totalQuantity": "8", }, Object { - "ECommerce.city": "Louisville", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", + "ECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", + "ECommerce.totalQuantity": "11", }, Object { - "ECommerce.city": "New York City", - "ECommerce.count": "4", - "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", + "ECommerce.productName": "Project Tote Personal File", + "ECommerce.totalQuantity": "1", }, Object { - "ECommerce.city": "Olympia", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", + "ECommerce.productName": "Recycled Eldon Regeneration Jumbo File", + "ECommerce.totalQuantity": "4", }, Object { - "ECommerce.city": "Omaha", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", + "ECommerce.productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", + "ECommerce.totalQuantity": "2", }, Object { - "ECommerce.city": "Philadelphia", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", + "ECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", + "ECommerce.totalQuantity": "11", }, Object { - "ECommerce.city": "Arlington", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.year": "2020-01-01T00:00:00.000", + "ECommerce.productName": "Wausau Papers Astrobrights Colored Envelopes", + "ECommerce.totalQuantity": "3", + }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver querying Products: dimensions + order + limit + total 1`] = ` +Array [ + Object { + "Products.category": "Furniture", + "Products.productName": "DMI Eclipse Executive Suite Bookcases", + "Products.subCategory": "Bookcases", }, Object { - "ECommerce.city": "Bakersfield", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + "Products.category": "Furniture", + "Products.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", + "Products.subCategory": "Bookcases", }, Object { - "ECommerce.city": "Bowling", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + "Products.category": "Furniture", + "Products.productName": "Harbour Creations 67200 Series Stacking Chairs", + "Products.subCategory": "Chairs", }, Object { - "ECommerce.city": "Columbus", - "ECommerce.count": "9", - "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + "Products.category": "Furniture", + "Products.productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", + "Products.subCategory": "Chairs", }, Object { - "ECommerce.city": "Dallas", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + "Products.category": "Furniture", + "Products.productName": "Linden 10 Round Wall Clock, Black", + "Products.subCategory": "Furnishings", }, Object { - "ECommerce.city": "Detroit", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + "Products.category": "Furniture", + "Products.productName": "Magna Visual Magnetic Picture Hangers", + "Products.subCategory": "Furnishings", }, Object { - "ECommerce.city": "Glendale", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + "Products.category": "Furniture", + "Products.productName": "Anderson Hickey Conga Table Tops & Accessories", + "Products.subCategory": "Tables", }, Object { - "ECommerce.city": "Lafayette", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + "Products.category": "Furniture", + "Products.productName": "Balt Solid Wood Rectangular Table", + "Products.subCategory": "Tables", }, Object { - "ECommerce.city": "Lakewood", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + "Products.category": "Office Supplies", + "Products.productName": "OIC #2 Pencils, Medium Soft", + "Products.subCategory": "Art", }, Object { - "ECommerce.city": "Marion", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + "Products.category": "Office Supplies", + "Products.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", + "Products.subCategory": "Art", }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver querying Products: dimensions + order + limit 1`] = ` +Array [ Object { - "ECommerce.city": "Morristown", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + "Products.category": "Furniture", + "Products.productName": "DMI Eclipse Executive Suite Bookcases", + "Products.subCategory": "Bookcases", }, Object { - "ECommerce.city": "New York City", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + "Products.category": "Furniture", + "Products.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", + "Products.subCategory": "Bookcases", }, Object { - "ECommerce.city": "Oakland", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + "Products.category": "Furniture", + "Products.productName": "Harbour Creations 67200 Series Stacking Chairs", + "Products.subCategory": "Chairs", }, Object { - "ECommerce.city": "Philadelphia", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + "Products.category": "Furniture", + "Products.productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", + "Products.subCategory": "Chairs", }, Object { - "ECommerce.city": "Provo", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + "Products.category": "Furniture", + "Products.productName": "Linden 10 Round Wall Clock, Black", + "Products.subCategory": "Furnishings", }, Object { - "ECommerce.city": "San Francisco", - "ECommerce.count": "2", - "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + "Products.category": "Furniture", + "Products.productName": "Magna Visual Magnetic Picture Hangers", + "Products.subCategory": "Furnishings", }, Object { - "ECommerce.city": "Vancouver", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + "Products.category": "Furniture", + "Products.productName": "Anderson Hickey Conga Table Tops & Accessories", + "Products.subCategory": "Tables", }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying custom granularities ECommerce: count by half_year + no dimension 1`] = ` -Array [ Object { - "ECommerce.count": "18", - "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", + "Products.category": "Furniture", + "Products.productName": "Balt Solid Wood Rectangular Table", + "Products.subCategory": "Tables", }, Object { - "ECommerce.count": "26", - "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + "Products.category": "Office Supplies", + "Products.productName": "OIC #2 Pencils, Medium Soft", + "Products.subCategory": "Art", + }, + Object { + "Products.category": "Office Supplies", + "Products.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", + "Products.subCategory": "Art", }, ] `; -exports[`Queries with the @cubejs-backend/snowflake-driver querying custom granularities ECommerce: count by half_year_by_1st_april + dimension 1`] = ` +exports[`Queries with the @cubejs-backend/snowflake-driver querying Products: dimensions + order + total 1`] = ` Array [ Object { - "ECommerce.city": "Decatur", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2019-10-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2019-10-01T00:00:00.000", - }, - Object { - "ECommerce.city": "Detroit", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2019-10-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2019-10-01T00:00:00.000", - }, - Object { - "ECommerce.city": "Houston", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2019-10-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2019-10-01T00:00:00.000", - }, - Object { - "ECommerce.city": "Lorain", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2019-10-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2019-10-01T00:00:00.000", + "Products.category": "Furniture", + "Products.productName": "DMI Eclipse Executive Suite Bookcases", + "Products.subCategory": "Bookcases", }, Object { - "ECommerce.city": "New York City", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2019-10-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2019-10-01T00:00:00.000", + "Products.category": "Furniture", + "Products.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", + "Products.subCategory": "Bookcases", }, Object { - "ECommerce.city": "Arlington", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-04-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-01T00:00:00.000", + "Products.category": "Furniture", + "Products.productName": "Harbour Creations 67200 Series Stacking Chairs", + "Products.subCategory": "Chairs", }, Object { - "ECommerce.city": "Auburn", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-04-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-01T00:00:00.000", + "Products.category": "Furniture", + "Products.productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", + "Products.subCategory": "Chairs", }, Object { - "ECommerce.city": "Bakersfield", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-04-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-01T00:00:00.000", + "Products.category": "Furniture", + "Products.productName": "Linden 10 Round Wall Clock, Black", + "Products.subCategory": "Furnishings", }, Object { - "ECommerce.city": "Baltimore", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-04-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-01T00:00:00.000", + "Products.category": "Furniture", + "Products.productName": "Magna Visual Magnetic Picture Hangers", + "Products.subCategory": "Furnishings", }, Object { - "ECommerce.city": "Columbus", - "ECommerce.count": "4", - "ECommerce.customOrderDateNoPreAgg": "2020-04-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-01T00:00:00.000", + "Products.category": "Furniture", + "Products.productName": "Anderson Hickey Conga Table Tops & Accessories", + "Products.subCategory": "Tables", }, Object { - "ECommerce.city": "Detroit", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-04-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-01T00:00:00.000", + "Products.category": "Furniture", + "Products.productName": "Balt Solid Wood Rectangular Table", + "Products.subCategory": "Tables", }, Object { - "ECommerce.city": "Los Angeles", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-04-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-01T00:00:00.000", + "Products.category": "Office Supplies", + "Products.productName": "OIC #2 Pencils, Medium Soft", + "Products.subCategory": "Art", }, Object { - "ECommerce.city": "Louisville", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-04-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-01T00:00:00.000", + "Products.category": "Office Supplies", + "Products.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", + "Products.subCategory": "Art", }, Object { - "ECommerce.city": "Morristown", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-04-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-01T00:00:00.000", + "Products.category": "Office Supplies", + "Products.productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", + "Products.subCategory": "Envelopes", }, Object { - "ECommerce.city": "New York City", - "ECommerce.count": "3", - "ECommerce.customOrderDateNoPreAgg": "2020-04-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-01T00:00:00.000", + "Products.category": "Office Supplies", + "Products.productName": "Wausau Papers Astrobrights Colored Envelopes", + "Products.subCategory": "Envelopes", }, Object { - "ECommerce.city": "Olympia", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-04-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-01T00:00:00.000", + "Products.category": "Office Supplies", + "Products.productName": "Plymouth Boxed Rubber Bands by Plymouth", + "Products.subCategory": "Fasteners", }, Object { - "ECommerce.city": "Omaha", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-04-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-01T00:00:00.000", + "Products.category": "Office Supplies", + "Products.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", + "Products.subCategory": "Fasteners", }, Object { - "ECommerce.city": "Philadelphia", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-04-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-01T00:00:00.000", + "Products.category": "Office Supplies", + "Products.productName": "Project Tote Personal File", + "Products.subCategory": "Storage", }, Object { - "ECommerce.city": "Provo", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-04-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-01T00:00:00.000", + "Products.category": "Office Supplies", + "Products.productName": "Recycled Eldon Regeneration Jumbo File", + "Products.subCategory": "Storage", }, Object { - "ECommerce.city": "Bowling", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-10-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-01T00:00:00.000", + "Products.category": "Technology", + "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.0", + "Products.subCategory": "Accessories", }, Object { - "ECommerce.city": "Columbus", - "ECommerce.count": "8", - "ECommerce.customOrderDateNoPreAgg": "2020-10-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-01T00:00:00.000", + "Products.category": "Technology", + "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.1", + "Products.subCategory": "Accessories", }, Object { - "ECommerce.city": "Dallas", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-10-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-01T00:00:00.000", + "Products.category": "Technology", + "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.2", + "Products.subCategory": "Accessories", }, Object { - "ECommerce.city": "Glendale", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-10-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-01T00:00:00.000", + "Products.category": "Technology", + "Products.productName": "Logitech di_Novo Edge Keyboard", + "Products.subCategory": "Accessories", }, Object { - "ECommerce.city": "Lafayette", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-10-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-01T00:00:00.000", + "Products.category": "Technology", + "Products.productName": "Canon PC1080F Personal Copier", + "Products.subCategory": "Copiers", }, Object { - "ECommerce.city": "Lakewood", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-10-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-01T00:00:00.000", + "Products.category": "Technology", + "Products.productName": "Hewlett Packard 610 Color Digital Copier / Printer", + "Products.subCategory": "Copiers", }, Object { - "ECommerce.city": "Marion", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-10-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-01T00:00:00.000", + "Products.category": "Technology", + "Products.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", + "Products.subCategory": "Machines", }, Object { - "ECommerce.city": "New York City", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-10-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-01T00:00:00.000", + "Products.category": "Technology", + "Products.productName": "Okidata C610n Printer", + "Products.subCategory": "Machines", }, Object { - "ECommerce.city": "Oakland", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-10-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-01T00:00:00.000", + "Products.category": "Technology", + "Products.productName": "Google Nexus 5", + "Products.subCategory": "Phones", }, Object { - "ECommerce.city": "Philadelphia", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-10-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-01T00:00:00.000", + "Products.category": "Technology", + "Products.productName": "Google Nexus 6", + "Products.subCategory": "Phones", }, Object { - "ECommerce.city": "San Francisco", - "ECommerce.count": "2", - "ECommerce.customOrderDateNoPreAgg": "2020-10-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-01T00:00:00.000", + "Products.category": "Technology", + "Products.productName": "Google Nexus 7", + "Products.subCategory": "Phones", }, Object { - "ECommerce.city": "Vancouver", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-10-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-01T00:00:00.000", + "Products.category": "Technology", + "Products.productName": "HTC One", + "Products.subCategory": "Phones", }, ] `; -exports[`Queries with the @cubejs-backend/snowflake-driver querying custom granularities ECommerce: count by half_year_by_1st_april + no dimension 1`] = ` +exports[`Queries with the @cubejs-backend/snowflake-driver querying Products: dimensions + order 1`] = ` Array [ Object { - "ECommerce.count": "5", - "ECommerce.customOrderDateNoPreAgg": "2019-10-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2019-10-01T00:00:00.000", + "Products.category": "Furniture", + "Products.productName": "DMI Eclipse Executive Suite Bookcases", + "Products.subCategory": "Bookcases", }, Object { - "ECommerce.count": "19", - "ECommerce.customOrderDateNoPreAgg": "2020-04-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-01T00:00:00.000", + "Products.category": "Furniture", + "Products.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", + "Products.subCategory": "Bookcases", }, Object { - "ECommerce.count": "20", - "ECommerce.customOrderDateNoPreAgg": "2020-10-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-01T00:00:00.000", + "Products.category": "Furniture", + "Products.productName": "Harbour Creations 67200 Series Stacking Chairs", + "Products.subCategory": "Chairs", }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying custom granularities ECommerce: count by three_months_by_march + dimension 1`] = ` -Array [ Object { - "ECommerce.city": "Decatur", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2019-12-12T21:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2019-12-12T21:00:00.000", + "Products.category": "Furniture", + "Products.productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", + "Products.subCategory": "Chairs", }, Object { - "ECommerce.city": "Detroit", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2019-12-12T21:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2019-12-12T21:00:00.000", + "Products.category": "Furniture", + "Products.productName": "Linden 10 Round Wall Clock, Black", + "Products.subCategory": "Furnishings", }, Object { - "ECommerce.city": "Lorain", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2019-12-12T21:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2019-12-12T21:00:00.000", + "Products.category": "Furniture", + "Products.productName": "Magna Visual Magnetic Picture Hangers", + "Products.subCategory": "Furnishings", }, Object { - "ECommerce.city": "Auburn", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-03-15T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-03-15T00:00:00.000", + "Products.category": "Furniture", + "Products.productName": "Anderson Hickey Conga Table Tops & Accessories", + "Products.subCategory": "Tables", }, Object { - "ECommerce.city": "Baltimore", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-03-15T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-03-15T00:00:00.000", + "Products.category": "Furniture", + "Products.productName": "Balt Solid Wood Rectangular Table", + "Products.subCategory": "Tables", }, Object { - "ECommerce.city": "Columbus", - "ECommerce.count": "2", - "ECommerce.customOrderDateNoPreAgg": "2020-03-15T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-03-15T00:00:00.000", + "Products.category": "Office Supplies", + "Products.productName": "OIC #2 Pencils, Medium Soft", + "Products.subCategory": "Art", }, Object { - "ECommerce.city": "Houston", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-03-15T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-03-15T00:00:00.000", + "Products.category": "Office Supplies", + "Products.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", + "Products.subCategory": "Art", }, Object { - "ECommerce.city": "Los Angeles", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-03-15T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-03-15T00:00:00.000", + "Products.category": "Office Supplies", + "Products.productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", + "Products.subCategory": "Envelopes", }, Object { - "ECommerce.city": "Louisville", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-03-15T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-03-15T00:00:00.000", + "Products.category": "Office Supplies", + "Products.productName": "Wausau Papers Astrobrights Colored Envelopes", + "Products.subCategory": "Envelopes", }, Object { - "ECommerce.city": "New York City", - "ECommerce.count": "3", - "ECommerce.customOrderDateNoPreAgg": "2020-03-15T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-03-15T00:00:00.000", + "Products.category": "Office Supplies", + "Products.productName": "Plymouth Boxed Rubber Bands by Plymouth", + "Products.subCategory": "Fasteners", }, Object { - "ECommerce.city": "Omaha", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-03-15T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-03-15T00:00:00.000", + "Products.category": "Office Supplies", + "Products.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", + "Products.subCategory": "Fasteners", }, Object { - "ECommerce.city": "Philadelphia", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-03-15T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-03-15T00:00:00.000", + "Products.category": "Office Supplies", + "Products.productName": "Project Tote Personal File", + "Products.subCategory": "Storage", }, Object { - "ECommerce.city": "Arlington", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-06-16T03:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-06-16T03:00:00.000", + "Products.category": "Office Supplies", + "Products.productName": "Recycled Eldon Regeneration Jumbo File", + "Products.subCategory": "Storage", }, Object { - "ECommerce.city": "Bakersfield", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-06-16T03:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-06-16T03:00:00.000", + "Products.category": "Technology", + "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.0", + "Products.subCategory": "Accessories", }, Object { - "ECommerce.city": "Columbus", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-06-16T03:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-06-16T03:00:00.000", + "Products.category": "Technology", + "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.1", + "Products.subCategory": "Accessories", }, Object { - "ECommerce.city": "Detroit", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-06-16T03:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-06-16T03:00:00.000", + "Products.category": "Technology", + "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.2", + "Products.subCategory": "Accessories", }, Object { - "ECommerce.city": "Morristown", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-06-16T03:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-06-16T03:00:00.000", + "Products.category": "Technology", + "Products.productName": "Logitech di_Novo Edge Keyboard", + "Products.subCategory": "Accessories", }, Object { - "ECommerce.city": "New York City", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-06-16T03:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-06-16T03:00:00.000", + "Products.category": "Technology", + "Products.productName": "Canon PC1080F Personal Copier", + "Products.subCategory": "Copiers", + }, + Object { + "Products.category": "Technology", + "Products.productName": "Hewlett Packard 610 Color Digital Copier / Printer", + "Products.subCategory": "Copiers", + }, + Object { + "Products.category": "Technology", + "Products.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", + "Products.subCategory": "Machines", }, Object { - "ECommerce.city": "Olympia", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-06-16T03:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-06-16T03:00:00.000", + "Products.category": "Technology", + "Products.productName": "Okidata C610n Printer", + "Products.subCategory": "Machines", }, Object { - "ECommerce.city": "Provo", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-06-16T03:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-06-16T03:00:00.000", + "Products.category": "Technology", + "Products.productName": "Google Nexus 5", + "Products.subCategory": "Phones", }, Object { - "ECommerce.city": "Bowling", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-09-17T06:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-17T06:00:00.000", + "Products.category": "Technology", + "Products.productName": "Google Nexus 6", + "Products.subCategory": "Phones", }, Object { - "ECommerce.city": "Columbus", - "ECommerce.count": "8", - "ECommerce.customOrderDateNoPreAgg": "2020-09-17T06:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-17T06:00:00.000", + "Products.category": "Technology", + "Products.productName": "Google Nexus 7", + "Products.subCategory": "Phones", }, Object { - "ECommerce.city": "Dallas", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-09-17T06:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-17T06:00:00.000", + "Products.category": "Technology", + "Products.productName": "HTC One", + "Products.subCategory": "Phones", }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver querying custom granularities (with preaggregation) ECommerce: totalQuantity by half_year + dimension 1`] = ` +Array [ Object { - "ECommerce.city": "Glendale", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-09-17T06:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-17T06:00:00.000", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2020-01-01T00:00:00.000", + "ECommerce.productName": "Balt Solid Wood Rectangular Table", + "ECommerce.totalQuantity": "2", }, Object { - "ECommerce.city": "Lakewood", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-09-17T06:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-17T06:00:00.000", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2020-01-01T00:00:00.000", + "ECommerce.productName": "Linden 10 Round Wall Clock, Black", + "ECommerce.totalQuantity": "4", }, Object { - "ECommerce.city": "Marion", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-09-17T06:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-17T06:00:00.000", + "ECommerce.orderDate": "2020-07-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2020-07-01T00:00:00.000", + "ECommerce.productName": "Canon PC1080F Personal Copier", + "ECommerce.totalQuantity": "5", }, Object { - "ECommerce.city": "New York City", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-09-17T06:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-17T06:00:00.000", + "ECommerce.orderDate": "2020-07-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2020-07-01T00:00:00.000", + "ECommerce.productName": "DMI Eclipse Executive Suite Bookcases", + "ECommerce.totalQuantity": "1", }, Object { - "ECommerce.city": "Oakland", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-09-17T06:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-17T06:00:00.000", + "ECommerce.orderDate": "2020-07-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2020-07-01T00:00:00.000", + "ECommerce.productName": "Google Nexus 6", + "ECommerce.totalQuantity": "3", }, Object { - "ECommerce.city": "Philadelphia", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-09-17T06:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-17T06:00:00.000", + "ECommerce.orderDate": "2020-07-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2020-07-01T00:00:00.000", + "ECommerce.productName": "Google Nexus 7", + "ECommerce.totalQuantity": "3", }, Object { - "ECommerce.city": "San Francisco", - "ECommerce.count": "2", - "ECommerce.customOrderDateNoPreAgg": "2020-09-17T06:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-17T06:00:00.000", + "ECommerce.orderDate": "2020-07-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2020-07-01T00:00:00.000", + "ECommerce.productName": "HTC One", + "ECommerce.totalQuantity": "3", }, Object { - "ECommerce.city": "Vancouver", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-09-17T06:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-17T06:00:00.000", + "ECommerce.orderDate": "2020-07-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2020-07-01T00:00:00.000", + "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.1", + "ECommerce.totalQuantity": "5", }, Object { - "ECommerce.city": "Columbus", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-12-19T09:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-12-19T09:00:00.000", + "ECommerce.orderDate": "2020-07-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2020-07-01T00:00:00.000", + "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.2", + "ECommerce.totalQuantity": "8", }, Object { - "ECommerce.city": "Lafayette", - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-12-19T09:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-12-19T09:00:00.000", + "ECommerce.orderDate": "2020-07-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2020-07-01T00:00:00.000", + "ECommerce.productName": "Linden 10 Round Wall Clock, Black", + "ECommerce.totalQuantity": "3", }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying custom granularities ECommerce: count by three_months_by_march + no dimension 1`] = ` -Array [ Object { - "ECommerce.count": "3", - "ECommerce.customOrderDateNoPreAgg": "2019-12-12T21:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2019-12-12T21:00:00.000", + "ECommerce.orderDate": "2020-07-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2020-07-01T00:00:00.000", + "ECommerce.productName": "OIC #2 Pencils, Medium Soft", + "ECommerce.totalQuantity": "4", }, Object { - "ECommerce.count": "12", - "ECommerce.customOrderDateNoPreAgg": "2020-03-15T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-03-15T00:00:00.000", + "ECommerce.orderDate": "2020-07-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2020-07-01T00:00:00.000", + "ECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", + "ECommerce.totalQuantity": "11", }, Object { - "ECommerce.count": "8", - "ECommerce.customOrderDateNoPreAgg": "2020-06-16T03:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-06-16T03:00:00.000", + "ECommerce.orderDate": "2020-07-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2020-07-01T00:00:00.000", + "ECommerce.productName": "Project Tote Personal File", + "ECommerce.totalQuantity": "1", }, Object { - "ECommerce.count": "19", - "ECommerce.customOrderDateNoPreAgg": "2020-09-17T06:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-17T06:00:00.000", + "ECommerce.orderDate": "2020-07-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2020-07-01T00:00:00.000", + "ECommerce.productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", + "ECommerce.totalQuantity": "2", }, Object { - "ECommerce.count": "2", - "ECommerce.customOrderDateNoPreAgg": "2020-12-19T09:00:00.000", - "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-12-19T09:00:00.000", + "ECommerce.orderDate": "2020-07-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2020-07-01T00:00:00.000", + "ECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", + "ECommerce.totalQuantity": "2", }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying custom granularities ECommerce: count by two_mo_by_feb + no dimension + rollingCountByLeading 1`] = ` -Array [ Object { - "ECommerce.customOrderDateNoPreAgg": "2019-12-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2019-12-01T10:00:00.000", - "ECommerce.rollingCountByLeading": "8", + "ECommerce.orderDate": "2021-01-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2021-01-01T00:00:00.000", + "ECommerce.productName": "Anderson Hickey Conga Table Tops & Accessories", + "ECommerce.totalQuantity": "2", }, Object { - "ECommerce.customOrderDateNoPreAgg": "2020-02-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-02-01T10:00:00.000", - "ECommerce.rollingCountByLeading": "12", + "ECommerce.orderDate": "2021-01-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2021-01-01T00:00:00.000", + "ECommerce.productName": "Canon PC1080F Personal Copier", + "ECommerce.totalQuantity": "2", }, Object { - "ECommerce.customOrderDateNoPreAgg": "2020-04-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-04-01T10:00:00.000", - "ECommerce.rollingCountByLeading": "6", + "ECommerce.orderDate": "2021-01-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2021-01-01T00:00:00.000", + "ECommerce.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", + "ECommerce.totalQuantity": "8", }, Object { - "ECommerce.customOrderDateNoPreAgg": "2020-06-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-06-01T10:00:00.000", - "ECommerce.rollingCountByLeading": "19", + "ECommerce.orderDate": "2021-01-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2021-01-01T00:00:00.000", + "ECommerce.productName": "Google Nexus 5", + "ECommerce.totalQuantity": "11", }, Object { - "ECommerce.customOrderDateNoPreAgg": "2020-08-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-08-01T10:00:00.000", - "ECommerce.rollingCountByLeading": "16", + "ECommerce.orderDate": "2021-01-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2021-01-01T00:00:00.000", + "ECommerce.productName": "Harbour Creations 67200 Series Stacking Chairs", + "ECommerce.totalQuantity": "11", }, Object { - "ECommerce.customOrderDateNoPreAgg": "2020-10-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-10-01T10:00:00.000", - "ECommerce.rollingCountByLeading": null, + "ECommerce.orderDate": "2021-01-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2021-01-01T00:00:00.000", + "ECommerce.productName": "Hewlett Packard 610 Color Digital Copier / Printer", + "ECommerce.totalQuantity": "3", }, Object { - "ECommerce.customOrderDateNoPreAgg": "2020-12-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-12-01T10:00:00.000", - "ECommerce.rollingCountByLeading": null, + "ECommerce.orderDate": "2021-01-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2021-01-01T00:00:00.000", + "ECommerce.productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", + "ECommerce.totalQuantity": "4", }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying custom granularities ECommerce: count by two_mo_by_feb + no dimension + rollingCountByTrailing 1`] = ` -Array [ Object { - "ECommerce.customOrderDateNoPreAgg": "2019-12-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2019-12-01T10:00:00.000", - "ECommerce.rollingCountByTrailing": "3", + "ECommerce.orderDate": "2021-01-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2021-01-01T00:00:00.000", + "ECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.0", + "ECommerce.totalQuantity": "5", }, Object { - "ECommerce.customOrderDateNoPreAgg": "2020-02-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-02-01T10:00:00.000", - "ECommerce.rollingCountByTrailing": "3", + "ECommerce.orderDate": "2021-01-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2021-01-01T00:00:00.000", + "ECommerce.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", + "ECommerce.totalQuantity": "6", }, Object { - "ECommerce.customOrderDateNoPreAgg": "2020-04-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-04-01T10:00:00.000", - "ECommerce.rollingCountByTrailing": "12", + "ECommerce.orderDate": "2021-01-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2021-01-01T00:00:00.000", + "ECommerce.productName": "Linden 10 Round Wall Clock, Black", + "ECommerce.totalQuantity": "7", }, Object { - "ECommerce.customOrderDateNoPreAgg": "2020-06-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-06-01T10:00:00.000", - "ECommerce.rollingCountByTrailing": null, + "ECommerce.orderDate": "2021-01-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2021-01-01T00:00:00.000", + "ECommerce.productName": "Logitech di_Novo Edge Keyboard", + "ECommerce.totalQuantity": "9", }, Object { - "ECommerce.customOrderDateNoPreAgg": "2020-08-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-08-01T10:00:00.000", - "ECommerce.rollingCountByTrailing": "10", + "ECommerce.orderDate": "2021-01-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2021-01-01T00:00:00.000", + "ECommerce.productName": "Magna Visual Magnetic Picture Hangers", + "ECommerce.totalQuantity": "4", }, Object { - "ECommerce.customOrderDateNoPreAgg": "2020-10-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-10-01T10:00:00.000", - "ECommerce.rollingCountByTrailing": "16", + "ECommerce.orderDate": "2021-01-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2021-01-01T00:00:00.000", + "ECommerce.productName": "OIC #2 Pencils, Medium Soft", + "ECommerce.totalQuantity": "5", }, Object { - "ECommerce.customOrderDateNoPreAgg": "2020-12-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-12-01T10:00:00.000", - "ECommerce.rollingCountByTrailing": null, + "ECommerce.orderDate": "2021-01-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2021-01-01T00:00:00.000", + "ECommerce.productName": "Okidata C610n Printer", + "ECommerce.totalQuantity": "2", }, -] -`; - -exports[`Queries with the @cubejs-backend/snowflake-driver querying custom granularities ECommerce: count by two_mo_by_feb + no dimension + rollingCountByUnbounded 1`] = ` -Array [ Object { - "ECommerce.customOrderDateNoPreAgg": "2019-12-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2019-12-01T10:00:00.000", - "ECommerce.rollingCountByUnbounded": "3", + "ECommerce.orderDate": "2021-01-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2021-01-01T00:00:00.000", + "ECommerce.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", + "ECommerce.totalQuantity": "8", }, Object { - "ECommerce.customOrderDateNoPreAgg": "2020-02-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-02-01T10:00:00.000", - "ECommerce.rollingCountByUnbounded": "6", + "ECommerce.orderDate": "2021-01-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2021-01-01T00:00:00.000", + "ECommerce.productName": "Recycled Eldon Regeneration Jumbo File", + "ECommerce.totalQuantity": "4", }, Object { - "ECommerce.customOrderDateNoPreAgg": "2020-04-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-04-01T10:00:00.000", - "ECommerce.rollingCountByUnbounded": "18", + "ECommerce.orderDate": "2021-01-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2021-01-01T00:00:00.000", + "ECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", + "ECommerce.totalQuantity": "9", }, Object { - "ECommerce.customOrderDateNoPreAgg": "2020-06-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-06-01T10:00:00.000", - "ECommerce.rollingCountByUnbounded": "18", + "ECommerce.orderDate": "2021-01-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2021-01-01T00:00:00.000", + "ECommerce.productName": "Wausau Papers Astrobrights Colored Envelopes", + "ECommerce.totalQuantity": "3", }, +] +`; + +exports[`Queries with the @cubejs-backend/snowflake-driver querying custom granularities (with preaggregation) ECommerce: totalQuantity by half_year + no dimension 1`] = ` +Array [ Object { - "ECommerce.customOrderDateNoPreAgg": "2020-08-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-08-01T10:00:00.000", - "ECommerce.rollingCountByUnbounded": "28", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2020-01-01T00:00:00.000", + "ECommerce.totalQuantity": "6", }, Object { - "ECommerce.customOrderDateNoPreAgg": "2020-10-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-10-01T10:00:00.000", - "ECommerce.rollingCountByUnbounded": "44", + "ECommerce.orderDate": "2020-07-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2020-07-01T00:00:00.000", + "ECommerce.totalQuantity": "51", }, Object { - "ECommerce.customOrderDateNoPreAgg": "2020-12-01T10:00:00.000", - "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-12-01T10:00:00.000", - "ECommerce.rollingCountByUnbounded": "44", + "ECommerce.orderDate": "2021-01-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2021-01-01T00:00:00.000", + "ECommerce.totalQuantity": "103", }, ] `; + exports[`Queries with the @cubejs-backend/snowflake-driver querying custom granularities ECommerce: count by half_year + dimension 1`] = ` Array [ Object { diff --git a/yarn.lock b/yarn.lock index 86f280a751972..c7cff3af0b4a3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -385,16 +385,16 @@ tslib "^2.6.2" "@aws-sdk/client-athena@^3.22.0": - version "3.650.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/client-athena/-/client-athena-3.650.0.tgz#9b6cfd0a5ffda4739ae3ce3e9266c45b0072df8e" - integrity sha512-Cyq16h4DxBBRxXTdYDLzje1zJMb2e2DL2vkhKhp/KEh71FZzyr9DqeJCXvxTYvRnqvAp39huh9zQLiXoIwnLmQ== + version "3.651.1" + resolved "https://registry.yarnpkg.com/@aws-sdk/client-athena/-/client-athena-3.651.1.tgz#7dcfd1ebb99beb78872ae4835a60f6e0ec24c516" + integrity sha512-oR2gDZnXgLT4JIqFosQfjKql4Uc48wVpWuar0P6Qe8EJiu5pD2M0nPgQdgK0gRVXROXI90cTqS/G4KTsABC18w== dependencies: "@aws-crypto/sha256-browser" "5.2.0" "@aws-crypto/sha256-js" "5.2.0" - "@aws-sdk/client-sso-oidc" "3.650.0" - "@aws-sdk/client-sts" "3.650.0" - "@aws-sdk/core" "3.649.0" - "@aws-sdk/credential-provider-node" "3.650.0" + "@aws-sdk/client-sso-oidc" "3.651.1" + "@aws-sdk/client-sts" "3.651.1" + "@aws-sdk/core" "3.651.1" + "@aws-sdk/credential-provider-node" "3.651.1" "@aws-sdk/middleware-host-header" "3.649.0" "@aws-sdk/middleware-logger" "3.649.0" "@aws-sdk/middleware-recursion-detection" "3.649.0" @@ -432,30 +432,30 @@ tslib "^2.6.2" uuid "^9.0.1" -"@aws-sdk/client-s3@^3.17.0", "@aws-sdk/client-s3@^3.49.0": - version "3.650.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/client-s3/-/client-s3-3.650.0.tgz#9e8c441afa25575f960ca8b9c44b71c586f38f13" - integrity sha512-6ZfkDu2FMOtYPV1ah5vWMqFKNKEqlBQ3/NOVvLGscU1dR0ybbOwwm4ywWofZmz72uOts5NGqe12kzohb/AsGAA== +"@aws-sdk/client-s3@^3.17.0", "@aws-sdk/client-s3@^3.388.0", "@aws-sdk/client-s3@^3.49.0": + version "3.651.1" + resolved "https://registry.yarnpkg.com/@aws-sdk/client-s3/-/client-s3-3.651.1.tgz#d90f0560ccbf1b1a39973820d79c245d54bbbdae" + integrity sha512-xNm+ixNRcotyrHgjUGGEyara6kCKgDdW2EVjHBZa5T+tbmtyqezwH3UzbSDZ6MlNoLhJMfR7ozuwYTIOARoBfA== dependencies: "@aws-crypto/sha1-browser" "5.2.0" "@aws-crypto/sha256-browser" "5.2.0" "@aws-crypto/sha256-js" "5.2.0" - "@aws-sdk/client-sso-oidc" "3.650.0" - "@aws-sdk/client-sts" "3.650.0" - "@aws-sdk/core" "3.649.0" - "@aws-sdk/credential-provider-node" "3.650.0" + "@aws-sdk/client-sso-oidc" "3.651.1" + "@aws-sdk/client-sts" "3.651.1" + "@aws-sdk/core" "3.651.1" + "@aws-sdk/credential-provider-node" "3.651.1" "@aws-sdk/middleware-bucket-endpoint" "3.649.0" "@aws-sdk/middleware-expect-continue" "3.649.0" - "@aws-sdk/middleware-flexible-checksums" "3.649.0" + "@aws-sdk/middleware-flexible-checksums" "3.651.1" "@aws-sdk/middleware-host-header" "3.649.0" "@aws-sdk/middleware-location-constraint" "3.649.0" "@aws-sdk/middleware-logger" "3.649.0" "@aws-sdk/middleware-recursion-detection" "3.649.0" - "@aws-sdk/middleware-sdk-s3" "3.649.0" + "@aws-sdk/middleware-sdk-s3" "3.651.1" "@aws-sdk/middleware-ssec" "3.649.0" "@aws-sdk/middleware-user-agent" "3.649.0" "@aws-sdk/region-config-resolver" "3.649.0" - "@aws-sdk/signature-v4-multi-region" "3.649.0" + "@aws-sdk/signature-v4-multi-region" "3.651.1" "@aws-sdk/types" "3.649.0" "@aws-sdk/util-endpoints" "3.649.0" "@aws-sdk/util-user-agent-browser" "3.649.0" @@ -496,15 +496,15 @@ "@smithy/util-waiter" "^3.1.3" tslib "^2.6.2" -"@aws-sdk/client-sso-oidc@3.650.0": - version "3.650.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/client-sso-oidc/-/client-sso-oidc-3.650.0.tgz#7516b8a2f00ba3b1bdd59aafbbda0ddb66d0ab3f" - integrity sha512-6J7IS0f8ovhvbIAZaynOYP+jPX8344UlTjwHxjaXHgFvI8axu3+NslKtEEV5oHLhgzDvrKbinsu5lgE2n4Sqng== +"@aws-sdk/client-sso-oidc@3.651.1": + version "3.651.1" + resolved "https://registry.yarnpkg.com/@aws-sdk/client-sso-oidc/-/client-sso-oidc-3.651.1.tgz#eade611662a4527b2f92cb2740fd0bac5815c195" + integrity sha512-PKwAyTJW8pgaPIXm708haIZWBAwNycs25yNcD7OQ3NLcmgGxvrx6bSlhPEGcvwdTYwQMJsdx8ls+khlYbLqTvQ== dependencies: "@aws-crypto/sha256-browser" "5.2.0" "@aws-crypto/sha256-js" "5.2.0" - "@aws-sdk/core" "3.649.0" - "@aws-sdk/credential-provider-node" "3.650.0" + "@aws-sdk/core" "3.651.1" + "@aws-sdk/credential-provider-node" "3.651.1" "@aws-sdk/middleware-host-header" "3.649.0" "@aws-sdk/middleware-logger" "3.649.0" "@aws-sdk/middleware-recursion-detection" "3.649.0" @@ -541,14 +541,14 @@ "@smithy/util-utf8" "^3.0.0" tslib "^2.6.2" -"@aws-sdk/client-sso@3.650.0": - version "3.650.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/client-sso/-/client-sso-3.650.0.tgz#03a02256bef9fa79ebd2791eb24cf950d7d268ea" - integrity sha512-YKm14gCMChD/jlCisFlsVqB8HJujR41bl4Fup2crHwNJxhD/9LTnzwMiVVlBqlXr41Sfa6fSxczX2AMP8NM14A== +"@aws-sdk/client-sso@3.651.1": + version "3.651.1" + resolved "https://registry.yarnpkg.com/@aws-sdk/client-sso/-/client-sso-3.651.1.tgz#8477ff1126a2816ae84ad27350df7b389597be4b" + integrity sha512-Fm8PoMgiBKmmKrY6QQUGj/WW6eIiQqC1I0AiVXfO+Sqkmxcg3qex+CZBAYrTuIDnvnc/89f9N4mdL8V9DRn03Q== dependencies: "@aws-crypto/sha256-browser" "5.2.0" "@aws-crypto/sha256-js" "5.2.0" - "@aws-sdk/core" "3.649.0" + "@aws-sdk/core" "3.651.1" "@aws-sdk/middleware-host-header" "3.649.0" "@aws-sdk/middleware-logger" "3.649.0" "@aws-sdk/middleware-recursion-detection" "3.649.0" @@ -585,16 +585,16 @@ "@smithy/util-utf8" "^3.0.0" tslib "^2.6.2" -"@aws-sdk/client-sts@3.650.0": - version "3.650.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/client-sts/-/client-sts-3.650.0.tgz#b4e5aeb0c6b516cc4db6db587f5daa72ec4c4b33" - integrity sha512-ISK0ZQYA7O5/WYgslpWy956lUBudGC9d7eL0FFbiL0j50N80Gx3RUv22ezvZgxJWE0W3DqNr4CE19sPYn4Lw8g== +"@aws-sdk/client-sts@3.651.1": + version "3.651.1" + resolved "https://registry.yarnpkg.com/@aws-sdk/client-sts/-/client-sts-3.651.1.tgz#c581e43a222f395004a111d566609b366ea4db43" + integrity sha512-4X2RqLqeDuVLk+Omt4X+h+Fa978Wn+zek/AM4HSPi4C5XzRBEFLRRtOQUvkETvIjbEwTYQhm0LdgzcBH4bUqIg== dependencies: "@aws-crypto/sha256-browser" "5.2.0" "@aws-crypto/sha256-js" "5.2.0" - "@aws-sdk/client-sso-oidc" "3.650.0" - "@aws-sdk/core" "3.649.0" - "@aws-sdk/credential-provider-node" "3.650.0" + "@aws-sdk/client-sso-oidc" "3.651.1" + "@aws-sdk/core" "3.651.1" + "@aws-sdk/credential-provider-node" "3.651.1" "@aws-sdk/middleware-host-header" "3.649.0" "@aws-sdk/middleware-logger" "3.649.0" "@aws-sdk/middleware-recursion-detection" "3.649.0" @@ -631,10 +631,10 @@ "@smithy/util-utf8" "^3.0.0" tslib "^2.6.2" -"@aws-sdk/core@3.649.0": - version "3.649.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/core/-/core-3.649.0.tgz#8c2a375e3c2e937e2f699f38cbbe031882ce99de" - integrity sha512-dheG/X2y25RHE7K+TlS32kcy7TgDg1OpWV44BQRoE0OBPAWmFR1D1qjjTZ7WWrdqRPKzcnDj1qED8ncyncOX8g== +"@aws-sdk/core@3.651.1": + version "3.651.1" + resolved "https://registry.yarnpkg.com/@aws-sdk/core/-/core-3.651.1.tgz#75208b46b4b450a58ae48812fef9279a038246ef" + integrity sha512-eqOq3W39K+5QTP5GAXtmP2s9B7hhM2pVz8OPe5tqob8o1xQgkwdgHerf3FoshO9bs0LDxassU/fUSz1wlwqfqg== dependencies: "@smithy/core" "^2.4.1" "@smithy/node-config-provider" "^3.1.5" @@ -672,15 +672,15 @@ "@smithy/util-stream" "^3.1.4" tslib "^2.6.2" -"@aws-sdk/credential-provider-ini@3.650.0": - version "3.650.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.650.0.tgz#4fc98d0caf9c8427a3e6691344cdbe90db0b8fd2" - integrity sha512-x2M9buZxIsKuUbuDgkGHhAKYBpn0/rYdKlwuFuOhXyyAcnhvPj0lgNF2KE4ld/GF1mKr7FF/uV3G9lM6PFaYmA== +"@aws-sdk/credential-provider-ini@3.651.1": + version "3.651.1" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.651.1.tgz#09ee9abfd06c43ead021a1c051ef980292a796cc" + integrity sha512-yOzPC3GbwLZ8IYzke4fy70ievmunnBUni/MOXFE8c9kAIV+/RMC7IWx14nAAZm0gAcY+UtCXvBVZprFqmctfzA== dependencies: "@aws-sdk/credential-provider-env" "3.649.0" "@aws-sdk/credential-provider-http" "3.649.0" "@aws-sdk/credential-provider-process" "3.649.0" - "@aws-sdk/credential-provider-sso" "3.650.0" + "@aws-sdk/credential-provider-sso" "3.651.1" "@aws-sdk/credential-provider-web-identity" "3.649.0" "@aws-sdk/types" "3.649.0" "@smithy/credential-provider-imds" "^3.2.1" @@ -689,16 +689,16 @@ "@smithy/types" "^3.4.0" tslib "^2.6.2" -"@aws-sdk/credential-provider-node@3.650.0": - version "3.650.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-node/-/credential-provider-node-3.650.0.tgz#6a4d0793997976b9892600f130770913ae089cf0" - integrity sha512-uBra5YjzS/gWSekAogfqJfY6c+oKQkkou7Cjc4d/cpMNvQtF1IBdekJ7NaE1RfsDEz3uH1+Myd07YWZAJo/2Qw== +"@aws-sdk/credential-provider-node@3.651.1": + version "3.651.1" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-node/-/credential-provider-node-3.651.1.tgz#bb45097e9f46d7a1251189611547e0a67ec600b6" + integrity sha512-QKA74Qs83FTUz3jS39kBuNbLAnm6cgDqomm7XS/BkYgtUq+1lI9WL97astNIuoYvumGIS58kuIa+I3ycOA4wgw== dependencies: "@aws-sdk/credential-provider-env" "3.649.0" "@aws-sdk/credential-provider-http" "3.649.0" - "@aws-sdk/credential-provider-ini" "3.650.0" + "@aws-sdk/credential-provider-ini" "3.651.1" "@aws-sdk/credential-provider-process" "3.649.0" - "@aws-sdk/credential-provider-sso" "3.650.0" + "@aws-sdk/credential-provider-sso" "3.651.1" "@aws-sdk/credential-provider-web-identity" "3.649.0" "@aws-sdk/types" "3.649.0" "@smithy/credential-provider-imds" "^3.2.1" @@ -718,12 +718,12 @@ "@smithy/types" "^3.4.0" tslib "^2.6.2" -"@aws-sdk/credential-provider-sso@3.650.0": - version "3.650.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.650.0.tgz#fc0d727730c44e481f66a32eb0492d04dc0dcac9" - integrity sha512-069nkhcwximbvyGiAC6Fr2G+yrG/p1S3NQ5BZ2cMzB1hgUKo6TvgFK7nriYI4ljMQ+UWxqPwIdTqiUmn2iJmhg== +"@aws-sdk/credential-provider-sso@3.651.1": + version "3.651.1" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.651.1.tgz#3bce4f57a7f34f1d0e75808420233f40e25f28b7" + integrity sha512-7jeU+Jbn65aDaNjkjWDQcXwjNTzpYNKovkSSRmfVpP5WYiKerVS5mrfg3RiBeiArou5igCUtYcOKlRJiGRO47g== dependencies: - "@aws-sdk/client-sso" "3.650.0" + "@aws-sdk/client-sso" "3.651.1" "@aws-sdk/token-providers" "3.649.0" "@aws-sdk/types" "3.649.0" "@smithy/property-provider" "^3.1.4" @@ -764,17 +764,19 @@ "@smithy/types" "^3.4.0" tslib "^2.6.2" -"@aws-sdk/middleware-flexible-checksums@3.649.0": - version "3.649.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-flexible-checksums/-/middleware-flexible-checksums-3.649.0.tgz#cc1da37cea5c9a3ce52af63e9e5a7ff994116dc8" - integrity sha512-8mzMBEA+Tk6rbrS8iqnXX119C6z+Id84cuzvUc6dAiYcbnOVbus8M4XKKsAFzGGXHCRc2gMwYhKdnoVz2ijaFA== +"@aws-sdk/middleware-flexible-checksums@3.651.1": + version "3.651.1" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-flexible-checksums/-/middleware-flexible-checksums-3.651.1.tgz#e0b1ec9a7792ed212824cfa33803a61ba93739da" + integrity sha512-cFlXSzhdRKU1vOFTIYC3HzkN7Dwwcf07rKU1sB/PrDy4ztLhGgAwvcRwj2AqErZB62C5AdN4l7peB1Iw/oSxRQ== dependencies: "@aws-crypto/crc32" "5.2.0" "@aws-crypto/crc32c" "5.2.0" "@aws-sdk/types" "3.649.0" "@smithy/is-array-buffer" "^3.0.0" + "@smithy/node-config-provider" "^3.1.5" "@smithy/protocol-http" "^4.1.1" "@smithy/types" "^3.4.0" + "@smithy/util-middleware" "^3.0.4" "@smithy/util-utf8" "^3.0.0" tslib "^2.6.2" @@ -816,12 +818,12 @@ "@smithy/types" "^3.4.0" tslib "^2.6.2" -"@aws-sdk/middleware-sdk-s3@3.649.0": - version "3.649.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-sdk-s3/-/middleware-sdk-s3-3.649.0.tgz#17eb015b148d2c1fd51c4164bc06a7ec4f1e7148" - integrity sha512-3H8735xTAD7IxNdreT6qv2YRk4CGOGfz8ufZo5pROJYZ4N5rfcdDMvb8szMSLvQHegqS4v1DqO9nrOPgc0I2Qg== +"@aws-sdk/middleware-sdk-s3@3.651.1": + version "3.651.1" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-sdk-s3/-/middleware-sdk-s3-3.651.1.tgz#ad4b0a862f0ed530b8757a8e0e4227d4863eea78" + integrity sha512-4BameU35aBSzrm3L/Iphc6vFLRhz6sBwgQf09mqPA2ZlX/YFqVe8HbS8wM4DG02W8A2MRTnHXRIfFoOrErp2sw== dependencies: - "@aws-sdk/core" "3.649.0" + "@aws-sdk/core" "3.651.1" "@aws-sdk/types" "3.649.0" "@aws-sdk/util-arn-parser" "3.568.0" "@smithy/core" "^2.4.1" @@ -856,6 +858,14 @@ "@smithy/types" "^3.4.0" tslib "^2.6.2" +"@aws-sdk/node-http-handler@^3.374.0": + version "3.374.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/node-http-handler/-/node-http-handler-3.374.0.tgz#8cd58b4d9814713e26034c12eabc119c113a5bc4" + integrity sha512-v1Z6m0wwkf65/tKuhwrtPRqVoOtNkDTRn2MBMtxCwEw+8V8Q+YRFqVgGN+J1n53ktE0G5OYVBux/NHiAjJHReQ== + dependencies: + "@smithy/node-http-handler" "^1.0.2" + tslib "^2.5.0" + "@aws-sdk/region-config-resolver@3.649.0": version "3.649.0" resolved "https://registry.yarnpkg.com/@aws-sdk/region-config-resolver/-/region-config-resolver-3.649.0.tgz#bb45a3c4c53f80ad0c66d6f6dc62223eb8af5656" @@ -869,11 +879,11 @@ tslib "^2.6.2" "@aws-sdk/s3-request-presigner@^3.17.0", "@aws-sdk/s3-request-presigner@^3.49.0": - version "3.650.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/s3-request-presigner/-/s3-request-presigner-3.650.0.tgz#7719881e173b112b6e85118a298472827a0853a2" - integrity sha512-/tAzAOYjN8oTX7dYG/koNc8WI/2htJ6w2cv0Y3smkRyD9nC/s33ZJ6VplC3WBTeGv9lzHazP/EQkXz1IvJKd/Q== + version "3.651.1" + resolved "https://registry.yarnpkg.com/@aws-sdk/s3-request-presigner/-/s3-request-presigner-3.651.1.tgz#5df0d7ff23d7acaca28d4d6fc5660dc4ffb704a6" + integrity sha512-PNoZkSDjvZs/ekm79jJzZMBp+3oCG74/6K/SPKKyUWiFMfrYIsnQD2y/V75n9s/2Vxie08Bgf2jroX41uQAFAw== dependencies: - "@aws-sdk/signature-v4-multi-region" "3.649.0" + "@aws-sdk/signature-v4-multi-region" "3.651.1" "@aws-sdk/types" "3.649.0" "@aws-sdk/util-format-url" "3.649.0" "@smithy/middleware-endpoint" "^3.1.1" @@ -882,12 +892,12 @@ "@smithy/types" "^3.4.0" tslib "^2.6.2" -"@aws-sdk/signature-v4-multi-region@3.649.0": - version "3.649.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.649.0.tgz#04d1c8fd378ad656747ac7677bd474b7d37e096a" - integrity sha512-feJfSHtCarFmTMZSE5k7/A+m4FrdCrmotljc/AmXArWy3wl8XFyxE5tFVW/PiUgbgeoVDN+ZLt3YYtItHfNUWQ== +"@aws-sdk/signature-v4-multi-region@3.651.1": + version "3.651.1" + resolved "https://registry.yarnpkg.com/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.651.1.tgz#37f57afd9998f563f42a634b6b115612ce5ef5b6" + integrity sha512-aLPCMq4c/A9DmdZLhufWOgfHN2Vgft65dB2tfbATjs6kZjusSaDFxWzjmWX3y8i2ZQ+vU0nAkkWIHFJdf+47fA== dependencies: - "@aws-sdk/middleware-sdk-s3" "3.649.0" + "@aws-sdk/middleware-sdk-s3" "3.651.1" "@aws-sdk/types" "3.649.0" "@smithy/protocol-http" "^4.1.1" "@smithy/signature-v4" "^4.1.1" @@ -1159,7 +1169,21 @@ jsonwebtoken "^9.0.0" uuid "^8.3.0" -"@azure/storage-blob@^12.11.0", "@azure/storage-blob@^12.9.0": +"@azure/storage-blob@12.18.x": + version "12.18.0" + resolved "https://registry.yarnpkg.com/@azure/storage-blob/-/storage-blob-12.18.0.tgz#9dd001c9aa5e972216f5af15131009086cfeb59e" + integrity sha512-BzBZJobMoDyjJsPRMLNHvqHycTGrT8R/dtcTx9qUFcqwSRfGVK9A/cZ7Nx38UQydT9usZGbaDCN75QRNjezSAA== + dependencies: + "@azure/abort-controller" "^1.0.0" + "@azure/core-http" "^3.0.0" + "@azure/core-lro" "^2.2.0" + "@azure/core-paging" "^1.1.1" + "@azure/core-tracing" "1.0.0-preview.13" + "@azure/logger" "^1.0.0" + events "^3.0.0" + tslib "^2.2.0" + +"@azure/storage-blob@^12.9.0": version "12.17.0" resolved "https://registry.yarnpkg.com/@azure/storage-blob/-/storage-blob-12.17.0.tgz#04aad7f59cb08dbbe5b1b672a9f5b6256c8c9006" integrity sha512-sM4vpsCpcCApagRW5UIjQNlNylo02my2opgp0Emi8x888hZUvJ3dN69Oq20cEGXkMUWnoCrBaB0zyS3yeB87sQ== @@ -4783,14 +4807,6 @@ arrify "^2.0.0" extend "^3.0.2" -"@google-cloud/paginator@^3.0.7": - version "3.0.7" - resolved "https://registry.yarnpkg.com/@google-cloud/paginator/-/paginator-3.0.7.tgz#fb6f8e24ec841f99defaebf62c75c2e744dd419b" - integrity sha512-jJNutk0arIQhmpUUQJPJErsojqo834KcyB6X7a1mxuic8i1tKXxde8E69IZxNZawRIlZdIK2QY4WALvlK5MzYQ== - dependencies: - arrify "^2.0.0" - extend "^3.0.2" - "@google-cloud/paginator@^5.0.0": version "5.0.0" resolved "https://registry.yarnpkg.com/@google-cloud/paginator/-/paginator-5.0.0.tgz#b8cc62f151685095d11467402cbf417c41bf14e6" @@ -4809,11 +4825,6 @@ resolved "https://registry.yarnpkg.com/@google-cloud/projectify/-/projectify-2.1.1.tgz#ae6af4fee02d78d044ae434699a630f8df0084ef" integrity sha512-+rssMZHnlh0twl122gXY4/aCrk0G1acBqkHFfYddtsqpYXGxA29nj9V5V9SfC+GyOG00l650f6lG9KL+EpFEWQ== -"@google-cloud/projectify@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@google-cloud/projectify/-/projectify-3.0.0.tgz#302b25f55f674854dce65c2532d98919b118a408" - integrity sha512-HRkZsNmjScY6Li8/kb70wjGlDDyLkVk3KvoEo9uIoxSjYLJasGiCch9+PqRVDOCGUFvEIqyogl+BeqILL4OJHA== - "@google-cloud/projectify@^4.0.0": version "4.0.0" resolved "https://registry.yarnpkg.com/@google-cloud/projectify/-/projectify-4.0.0.tgz#d600e0433daf51b88c1fa95ac7f02e38e80a07be" @@ -4824,11 +4835,6 @@ resolved "https://registry.yarnpkg.com/@google-cloud/promisify/-/promisify-2.0.4.tgz#9d8705ecb2baa41b6b2673f3a8e9b7b7e1abc52a" integrity sha512-j8yRSSqswWi1QqUGKVEKOG03Q7qOoZP6/h2zN2YO+F5h2+DHU0bSrHCK9Y7lo2DI9fBd8qGAw795sf+3Jva4yA== -"@google-cloud/promisify@^3.0.0": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@google-cloud/promisify/-/promisify-3.0.1.tgz#8d724fb280f47d1ff99953aee0c1669b25238c2e" - integrity sha512-z1CjRjtQyBOYL+5Qr9DdYIfrdLBe746jRTYfaYU6MeXkqp7UfYs/jX16lFFVzZ7PGEJvqZNqYUEtb1mvDww4pA== - "@google-cloud/promisify@^4.0.0": version "4.0.0" resolved "https://registry.yarnpkg.com/@google-cloud/promisify/-/promisify-4.0.0.tgz#a906e533ebdd0f754dca2509933334ce58b8c8b1" @@ -4859,34 +4865,31 @@ stream-events "^1.0.1" xdg-basedir "^4.0.0" -"@google-cloud/storage@^6.9.3": - version "6.12.0" - resolved "https://registry.yarnpkg.com/@google-cloud/storage/-/storage-6.12.0.tgz#a5d3093cc075252dca5bd19a3cfda406ad3a9de1" - integrity sha512-78nNAY7iiZ4O/BouWMWTD/oSF2YtYgYB3GZirn0To6eBOugjXVoK+GXgUXOl+HlqbAOyHxAVXOlsj3snfbQ1dw== +"@google-cloud/storage@^7.11.1": + version "7.11.1" + resolved "https://registry.yarnpkg.com/@google-cloud/storage/-/storage-7.11.1.tgz#206b9d9205be032c646207514cf96b8baa5a4e0e" + integrity sha512-tibLSvgw7nDohMyIelt26kBpJ59YGWA2Rzep++DFNzEzKaSuCSp56Se9iM13ZlM3j5nLzR21IBkpRN58CmvCIw== dependencies: - "@google-cloud/paginator" "^3.0.7" - "@google-cloud/projectify" "^3.0.0" - "@google-cloud/promisify" "^3.0.0" + "@google-cloud/paginator" "^5.0.0" + "@google-cloud/projectify" "^4.0.0" + "@google-cloud/promisify" "^4.0.0" abort-controller "^3.0.0" async-retry "^1.3.3" - compressible "^2.0.12" - duplexify "^4.0.0" - ent "^2.2.0" - extend "^3.0.2" - fast-xml-parser "^4.2.2" - gaxios "^5.0.0" - google-auth-library "^8.0.1" + duplexify "^4.1.3" + fast-xml-parser "^4.3.0" + gaxios "^6.0.2" + google-auth-library "^9.6.3" + html-entities "^2.5.2" mime "^3.0.0" - mime-types "^2.0.8" p-limit "^3.0.1" - retry-request "^5.0.0" - teeny-request "^8.0.0" + retry-request "^7.0.0" + teeny-request "^9.0.0" uuid "^8.0.0" -"@google-cloud/storage@^7.11.1": - version "7.11.1" - resolved "https://registry.yarnpkg.com/@google-cloud/storage/-/storage-7.11.1.tgz#206b9d9205be032c646207514cf96b8baa5a4e0e" - integrity sha512-tibLSvgw7nDohMyIelt26kBpJ59YGWA2Rzep++DFNzEzKaSuCSp56Se9iM13ZlM3j5nLzR21IBkpRN58CmvCIw== +"@google-cloud/storage@^7.7.0": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@google-cloud/storage/-/storage-7.12.1.tgz#7963bdc3b5266e4698047f6158a043d53231ec9c" + integrity sha512-Z3ZzOnF3YKLuvpkvF+TjQ6lztxcAyTILp+FjKonmVpEwPa9vFvxpZjubLR4sB6bf19i/8HL2AXRjA0YFgHFRmQ== dependencies: "@google-cloud/paginator" "^5.0.0" "@google-cloud/projectify" "^4.0.0" @@ -4894,7 +4897,7 @@ abort-controller "^3.0.0" async-retry "^1.3.3" duplexify "^4.1.3" - fast-xml-parser "^4.3.0" + fast-xml-parser "^4.4.1" gaxios "^6.0.2" google-auth-library "^9.6.3" html-entities "^2.5.2" @@ -8164,6 +8167,14 @@ dependencies: "@sinonjs/commons" "^1.7.0" +"@smithy/abort-controller@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@smithy/abort-controller/-/abort-controller-1.1.0.tgz#2da0d73c504b93ca8bb83bdc8d6b8208d73f418b" + integrity sha512-5imgGUlZL4dW4YWdMYAKLmal9ny/tlenM81QZY7xYyb76z9Z/QOg7oM5Ak9HQl8QfFTlGVWwcMXl+54jroRgEQ== + dependencies: + "@smithy/types" "^1.2.0" + tslib "^2.5.0" + "@smithy/abort-controller@^3.1.2": version "3.1.2" resolved "https://registry.yarnpkg.com/@smithy/abort-controller/-/abort-controller-3.1.2.tgz#95ac6b07480d0d2afbcface3f0f1ddc3ae6373d7" @@ -8404,6 +8415,17 @@ "@smithy/types" "^3.4.0" tslib "^2.6.2" +"@smithy/node-http-handler@^1.0.2": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@smithy/node-http-handler/-/node-http-handler-1.1.0.tgz#887cee930b520e08043c9f41e463f8d8f5dae127" + integrity sha512-d3kRriEgaIiGXLziAM8bjnaLn1fthCJeTLZIwEIpzQqe6yPX0a+yQoLCTyjb2fvdLwkMoG4p7THIIB5cj5lkbg== + dependencies: + "@smithy/abort-controller" "^1.1.0" + "@smithy/protocol-http" "^1.2.0" + "@smithy/querystring-builder" "^1.1.0" + "@smithy/types" "^1.2.0" + tslib "^2.5.0" + "@smithy/node-http-handler@^3.2.0": version "3.2.0" resolved "https://registry.yarnpkg.com/@smithy/node-http-handler/-/node-http-handler-3.2.0.tgz#0473f3cfb88779dacdcbafa877dbf74aac4f1c82" @@ -8423,6 +8445,14 @@ "@smithy/types" "^3.4.0" tslib "^2.6.2" +"@smithy/protocol-http@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@smithy/protocol-http/-/protocol-http-1.2.0.tgz#a554e4dabb14508f0bc2cdef9c3710e2b294be04" + integrity sha512-GfGfruksi3nXdFok5RhgtOnWe5f6BndzYfmEXISD+5gAGdayFGpjWu5pIqIweTudMtse20bGbc+7MFZXT1Tb8Q== + dependencies: + "@smithy/types" "^1.2.0" + tslib "^2.5.0" + "@smithy/protocol-http@^4.1.1": version "4.1.1" resolved "https://registry.yarnpkg.com/@smithy/protocol-http/-/protocol-http-4.1.1.tgz#ffd9c3f8ada9b25add3277b7de84c22dc320f1a6" @@ -8431,6 +8461,15 @@ "@smithy/types" "^3.4.0" tslib "^2.6.2" +"@smithy/querystring-builder@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@smithy/querystring-builder/-/querystring-builder-1.1.0.tgz#de6306104640ade34e59be33949db6cc64aa9d7f" + integrity sha512-gDEi4LxIGLbdfjrjiY45QNbuDmpkwh9DX4xzrR2AzjjXpxwGyfSpbJaYhXARw9p17VH0h9UewnNQXNwaQyYMDA== + dependencies: + "@smithy/types" "^1.2.0" + "@smithy/util-uri-escape" "^1.1.0" + tslib "^2.5.0" + "@smithy/querystring-builder@^3.0.4": version "3.0.4" resolved "https://registry.yarnpkg.com/@smithy/querystring-builder/-/querystring-builder-3.0.4.tgz#1124dfe533e60fd131acffbf78656b8db0a38bbf" @@ -8489,6 +8528,13 @@ "@smithy/util-stream" "^3.1.4" tslib "^2.6.2" +"@smithy/types@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@smithy/types/-/types-1.2.0.tgz#9dc65767b0ee3d6681704fcc67665d6fc9b6a34e" + integrity sha512-z1r00TvBqF3dh4aHhya7nz1HhvCg4TRmw51fjMrh5do3h+ngSstt/yKlNbHeb9QxJmFbmN8KEVSWgb1bRvfEoA== + dependencies: + tslib "^2.5.0" + "@smithy/types@^3.4.0": version "3.4.0" resolved "https://registry.yarnpkg.com/@smithy/types/-/types-3.4.0.tgz#08b7b3d6af30c66fd0682c73c206a5baf8b40a63" @@ -8622,6 +8668,13 @@ "@smithy/util-utf8" "^3.0.0" tslib "^2.6.2" +"@smithy/util-uri-escape@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@smithy/util-uri-escape/-/util-uri-escape-1.1.0.tgz#a8c5edaf19c0efdb9b51661e840549cf600a1808" + integrity sha512-/jL/V1xdVRt5XppwiaEU8Etp5WHZj609n0xMTuehmCqdoOFbId1M+aEeDWZsQ+8JbEB/BJ6ynY2SlYmOaKtt8w== + dependencies: + tslib "^2.5.0" + "@smithy/util-uri-escape@^3.0.0": version "3.0.0" resolved "https://registry.yarnpkg.com/@smithy/util-uri-escape/-/util-uri-escape-3.0.0.tgz#e43358a78bf45d50bb736770077f0f09195b6f54" @@ -8683,15 +8736,15 @@ dependencies: defer-to-connect "^1.0.1" -"@techteamer/ocsp@1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@techteamer/ocsp/-/ocsp-1.0.0.tgz#7b82b02093fbe351e915bb37685ac1ac5a1233d3" - integrity sha512-lNAOoFHaZN+4huo30ukeqVrUmfC+avoEBYQ11QAnAw1PFhnI5oBCg8O/TNiCoEWix7gNGBIEjrQwtPREqKMPog== +"@techteamer/ocsp@1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@techteamer/ocsp/-/ocsp-1.0.1.tgz#420f80c64ff0f74a70b65c88e4031c03a9da6ded" + integrity sha512-q4pW5wAC6Pc3JI8UePwE37CkLQ5gDGZMgjSX4MEEm4D4Di59auDQ8UNIDzC4gRnPNmmcwjpPxozq8p5pjiOmOw== dependencies: asn1.js "^5.4.1" asn1.js-rfc2560 "^5.0.1" asn1.js-rfc5280 "^3.0.0" - async "^3.2.1" + async "^3.2.4" simple-lru-cache "^0.0.2" "@tediousjs/connection-string@^0.5.0": @@ -9050,13 +9103,6 @@ dependencies: "@types/node" "*" -"@types/generic-pool@*": - version "3.1.11" - resolved "https://registry.yarnpkg.com/@types/generic-pool/-/generic-pool-3.1.11.tgz#853f7c6f939fd7d782452999cafac791f70c1cf1" - integrity sha512-3mcD3ewmaKPbiAZglGj8We4ohlSMfw/xS+bbYUhTv/ALgqrrtJjyL4Ju9IgapXooBCTFEew5LAKQqzZV6/43xg== - dependencies: - "@types/node" "*" - "@types/generic-pool@^3.1.9": version "3.1.10" resolved "https://registry.yarnpkg.com/@types/generic-pool/-/generic-pool-3.1.10.tgz#ed21e0ec798bc5f77bb324e1a5c5c9bf335c1d9e" @@ -9505,14 +9551,6 @@ resolved "https://registry.yarnpkg.com/@types/sizzle/-/sizzle-2.3.3.tgz#ff5e2f1902969d305225a047c8a0fd5c915cebef" integrity sha512-JYM8x9EGF163bEyhdJBpR2QX1R5naCJHC8ucJylJ3w9/CVBaskdQ8WqBf8MmQrd1kRvp/a4TS8HJ+bxzR7ZJYQ== -"@types/snowflake-sdk@^1.6.8": - version "1.6.8" - resolved "https://registry.yarnpkg.com/@types/snowflake-sdk/-/snowflake-sdk-1.6.8.tgz#de864a197c3c0c170b077d0a9923fef1150d442e" - integrity sha512-hf7YoxKjdk22VtKBR7/vCSYSv/YyHhbkTiZ+Dk/UnC83GMYOFaXbZktt0cIP98rmhk4V8nGpbpEivV4y6GUFNw== - dependencies: - "@types/generic-pool" "*" - "@types/node" "*" - "@types/sockjs@^0.3.33": version "0.3.36" resolved "https://registry.yarnpkg.com/@types/sockjs/-/sockjs-0.3.36.tgz#ce322cf07bcc119d4cbf7f88954f3a3bd0f67535" @@ -11107,7 +11145,7 @@ any-observable@^0.3.0: resolved "https://registry.yarnpkg.com/any-observable/-/any-observable-0.3.0.tgz#af933475e5806a67d0d7df090dd5e8bef65d119b" integrity sha512-/FQM1EDkTsf63Ub2C6O7GuYFDsSXUwsaZDurV0np41ocwq0jthUAYCmhBX9f+KwlaCgIuWyr/4WlUQUBfKfZog== -any-promise@^1.0.0, any-promise@^1.1.0, any-promise@^1.3.0: +any-promise@^1.0.0, any-promise@^1.1.0: version "1.3.0" resolved "https://registry.yarnpkg.com/any-promise/-/any-promise-1.3.0.tgz#abc6afeedcea52e809cdc0376aed3ce39635d17f" integrity sha1-q8av7tzqUugJzcA3au0845Y10X8= @@ -11491,7 +11529,7 @@ async@^3.1.0, async@^3.2.0: resolved "https://registry.yarnpkg.com/async/-/async-3.2.2.tgz#2eb7671034bb2194d45d30e31e24ec7e7f9670cd" integrity sha512-H0E+qZaDEfx/FY4t7iLRv1W2fFI6+pyCeTw1uN20AQPiwqwM6ojPxHxdLv4z8hi2DtnW9BOckSspLucW7pIE5g== -async@^3.2.1, async@^3.2.3: +async@^3.2.3: version "3.2.4" resolved "https://registry.yarnpkg.com/async/-/async-3.2.4.tgz#2d22e00f8cddeb5fde5dd33522b56d1cf569a81c" integrity sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ== @@ -11553,7 +11591,7 @@ available-typed-arrays@^1.0.7: dependencies: possible-typed-array-names "^1.0.0" -aws-sdk@^2.787.0, aws-sdk@^2.819.0, aws-sdk@^2.878.0: +aws-sdk@^2.787.0, aws-sdk@^2.819.0: version "2.1046.0" resolved "https://registry.yarnpkg.com/aws-sdk/-/aws-sdk-2.1046.0.tgz#9147b0fa1c86acbebd1a061e951ab5012f4499d7" integrity sha512-ocwHclMXdIA+NWocUyvp9Ild3/zy2vr5mHp3mTyodf0WU5lzBE8PocCVLSWhMAXLxyia83xv2y5f5AzAcetbqA== @@ -11590,13 +11628,14 @@ axios@^0.21.1: dependencies: follow-redirects "^1.14.0" -axios@^0.27.2: - version "0.27.2" - resolved "https://registry.yarnpkg.com/axios/-/axios-0.27.2.tgz#207658cc8621606e586c85db4b41a750e756d972" - integrity sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ== +axios@^1.6.8: + version "1.7.7" + resolved "https://registry.yarnpkg.com/axios/-/axios-1.7.7.tgz#2f554296f9892a72ac8d8e4c5b79c14a91d0a47f" + integrity sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q== dependencies: - follow-redirects "^1.14.9" + follow-redirects "^1.15.6" form-data "^4.0.0" + proxy-from-env "^1.1.0" axobject-query@^2.2.0: version "2.2.0" @@ -11930,12 +11969,7 @@ bignumber.js@9.0.0: resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.0.0.tgz#805880f84a329b5eac6e7cb6f8274b6d82bdf075" integrity sha512-t/OYhhJ2SD+YGBQcjY8GzzDHEk9f3nerxjtfa6tlMXfe7frs/WozhvCNoGvpM0P3bNf3Gq5ZRMlGr5f3r4/N8A== -bignumber.js@^2.4.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-2.4.0.tgz#838a992da9f9d737e0f4b2db0be62bb09dd0c5e8" - integrity sha512-uw4ra6Cv483Op/ebM0GBKKfxZlSmn6NgFRby5L3yGTlunLj53KQgndDlqy2WVFOwgvurocApYkSud0aO+mvrpQ== - -bignumber.js@^9.0.0: +bignumber.js@^9.0.0, bignumber.js@^9.1.2: version "9.1.2" resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.1.2.tgz#b7c4242259c008903b13707983b5f4bbd31eda0c" integrity sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug== @@ -12489,12 +12523,7 @@ caniuse-api@^3.0.0: lodash.memoize "^4.1.2" lodash.uniq "^4.5.0" -caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000981, caniuse-lite@^1.0.30001032, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001538, caniuse-lite@^1.0.30001587: - version "1.0.30001660" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001660.tgz" - integrity sha512-GacvNTTuATm26qC74pt+ad1fW15mlQ/zuTzzY1ZoIzECTP8HURDfF43kNxPgf7H1jmelCBQTTbBNxdSXOA7Bqg== - -caniuse-lite@^1.0.30001646: +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000981, caniuse-lite@^1.0.30001032, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001538, caniuse-lite@^1.0.30001587, caniuse-lite@^1.0.30001646: version "1.0.30001660" resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001660.tgz" integrity sha512-GacvNTTuATm26qC74pt+ad1fW15mlQ/zuTzzY1ZoIzECTP8HURDfF43kNxPgf7H1jmelCBQTTbBNxdSXOA7Bqg== @@ -13292,7 +13321,7 @@ content-disposition@0.5.4: dependencies: safe-buffer "5.2.1" -content-type@^1.0.2, content-type@^1.0.4, content-type@~1.0.4, content-type@~1.0.5: +content-type@^1.0.4, content-type@~1.0.4, content-type@~1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.5.tgz#8b773162656d1d1086784c8f23a54ce6d73d7918" integrity sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA== @@ -13430,11 +13459,6 @@ copy-to-clipboard@^3.2.0: dependencies: toggle-selection "^1.0.6" -copy-to@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/copy-to/-/copy-to-2.0.1.tgz#2680fbb8068a48d08656b6098092bdafc906f4a5" - integrity sha512-3DdaFaU/Zf1AnpLiFDeNCD4TOWe3Zl2RZaTzUvWiIk5ERzcCodOE20Vqq4fzCbNoHURFHT4/us/Lfq+S2zyY4w== - copy-webpack-plugin@9.0.1: version "9.0.1" resolved "https://registry.yarnpkg.com/copy-webpack-plugin/-/copy-webpack-plugin-9.0.1.tgz#b71d21991599f61a4ee00ba79087b8ba279bbb59" @@ -14491,13 +14515,6 @@ default-gateway@^6.0.3: dependencies: execa "^5.0.0" -default-user-agent@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/default-user-agent/-/default-user-agent-1.0.0.tgz#16c46efdcaba3edc45f24f2bd4868b01b7c2adc6" - integrity sha512-bDF7bg6OSNcSwFWPu4zYKpVkJZQYVrAANMYB8bc9Szem1D0yKdm4sa/rOCs2aC9+2GMqQ7KnwtZRvDhmLF0dXw== - dependencies: - os-name "~1.0.3" - defaults@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/defaults/-/defaults-1.0.3.tgz#c656051e9817d9ff08ed881477f3fe4019f3ef7d" @@ -14634,7 +14651,7 @@ deprecation@^2.0.0, deprecation@^2.3.1: resolved "https://registry.yarnpkg.com/deprecation/-/deprecation-2.3.1.tgz#6368cbdb40abf3373b525ac87e4a260c3a700919" integrity sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ== -destroy@1.2.0, destroy@^1.0.4: +destroy@1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.2.0.tgz#4803735509ad8be552934c67df614f94e66fa015" integrity sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg== @@ -14707,11 +14724,6 @@ diff@^4.0.1: resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d" integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A== -digest-header@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/digest-header/-/digest-header-1.1.0.tgz#e16ab6cf4545bc4eea878c8c35acd1b89664d800" - integrity sha512-glXVh42vz40yZb9Cq2oMOt70FIoWiv+vxNvdKdU8CwjLad25qHM3trLxhl9bVjdr6WaslIXhWpn0NO8T/67Qjg== - dir-glob@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f" @@ -14996,7 +15008,7 @@ editorconfig@^1.0.3: minimatch "9.0.1" semver "^7.5.3" -ee-first@1.1.1, ee-first@~1.1.1: +ee-first@1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= @@ -16424,7 +16436,7 @@ fast-xml-parser@4.4.1: dependencies: strnum "^1.0.5" -fast-xml-parser@^4.2.2, fast-xml-parser@^4.2.5: +fast-xml-parser@^4.2.5: version "4.3.1" resolved "https://registry.yarnpkg.com/fast-xml-parser/-/fast-xml-parser-4.3.1.tgz#4f89c31e4c392d6e3d68b299733cad0c2d50d495" integrity sha512-viVv3xb8D+SiS1W4cv4tva3bni08kAkx0gQnWrykMM8nXPc1FxqZPU00dCEVjkiCg4HoXd2jC4x29Nzg/l2DAA== @@ -16438,6 +16450,18 @@ fast-xml-parser@^4.3.0: dependencies: strnum "^1.0.5" +fast-xml-parser@^4.4.1: + version "4.5.0" + resolved "https://registry.yarnpkg.com/fast-xml-parser/-/fast-xml-parser-4.5.0.tgz#2882b7d01a6825dfdf909638f2de0256351def37" + integrity sha512-/PlTQCI96+fZMAOLMZK4CWG1ItCbfZ/0jx7UIJFChPNrx7tcEgerUgWbeieCM9MfHInUDyK8DWYZ+YrywDJuTg== + dependencies: + strnum "^1.0.5" + +fastest-levenshtein@^1.0.16: + version "1.0.16" + resolved "https://registry.yarnpkg.com/fastest-levenshtein/-/fastest-levenshtein-1.0.16.tgz#210e61b6ff181de91ea9b3d1b84fdedd47e034e5" + integrity sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg== + fastq@^1.6.0: version "1.13.0" resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.13.0.tgz#616760f88a7526bdfc596b7cab8c18938c36b98c" @@ -16709,11 +16733,16 @@ focus-lock@^1.3.5: dependencies: tslib "^2.0.3" -follow-redirects@^1.0.0, follow-redirects@^1.14.0, follow-redirects@^1.14.9: +follow-redirects@^1.0.0, follow-redirects@^1.14.0: version "1.15.6" resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.6.tgz#7f815c0cda4249c74ff09e95ef97c23b5fd0399b" integrity sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA== +follow-redirects@^1.15.6: + version "1.15.9" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.9.tgz#a604fa10e443bf98ca94228d9eebcc2e8a2c8ee1" + integrity sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ== + for-each@^0.3.3: version "0.3.3" resolved "https://registry.yarnpkg.com/for-each/-/for-each-0.3.3.tgz#69b447e88a0a5d32c3e7084f3f1710034b21376e" @@ -16780,15 +16809,6 @@ formidable@^1.2.0: resolved "https://registry.yarnpkg.com/formidable/-/formidable-1.2.6.tgz#d2a51d60162bbc9b4a055d8457a7c75315d1a168" integrity sha512-KcpbcpuLNOwrEjnbpMC0gS+X8ciDoZE1kkqzat4a8vrprf+s9pKNQ/QIwWfbfs4ltgmFl3MD177SNTkve3BwGQ== -formstream@^1.1.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/formstream/-/formstream-1.1.1.tgz#17259d2440c35ca9736db9f45fb3ba3f8669c750" - integrity sha512-yHRxt3qLFnhsKAfhReM4w17jP+U1OlhUjnKPPtonwKbIJO7oBP0MvoxkRUwb8AU9n0MIkYy5X5dK6pQnbj+R2Q== - dependencies: - destroy "^1.0.4" - mime "^2.5.2" - pause-stream "~0.0.11" - forwarded@0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.2.0.tgz#2269936428aad4c15c7ebe9779a84bf0b2a81811" @@ -17001,16 +17021,6 @@ gaxios@^4.0.0: is-stream "^2.0.0" node-fetch "^2.6.1" -gaxios@^5.0.0, gaxios@^5.0.1: - version "5.1.3" - resolved "https://registry.yarnpkg.com/gaxios/-/gaxios-5.1.3.tgz#f7fa92da0fe197c846441e5ead2573d4979e9013" - integrity sha512-95hVgBRgEIRQQQHIbnxBXeHbW4TqFk4ZDJW7wmVtvYar72FdhRIo1UGOLS2eRAKCPEdPBWu+M7+A33D9CdX9rA== - dependencies: - extend "^3.0.2" - https-proxy-agent "^5.0.0" - is-stream "^2.0.0" - node-fetch "^2.6.9" - gaxios@^6.0.0, gaxios@^6.0.2, gaxios@^6.1.1: version "6.6.0" resolved "https://registry.yarnpkg.com/gaxios/-/gaxios-6.6.0.tgz#af8242fff0bbb82a682840d5feaa91b6a1c58be4" @@ -17030,14 +17040,6 @@ gcp-metadata@^4.2.0: gaxios "^4.0.0" json-bigint "^1.0.0" -gcp-metadata@^5.3.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/gcp-metadata/-/gcp-metadata-5.3.0.tgz#6f45eb473d0cb47d15001476b48b663744d25408" - integrity sha512-FNTkdNEnBdlqF2oatizolQqNANMrcqJt6AAYt99B3y1aLLC8Hc5IOBb+ZnnzllodEEf6xMBp6wRcBbc16fa65w== - dependencies: - gaxios "^5.0.0" - json-bigint "^1.0.0" - gcp-metadata@^6.1.0: version "6.1.0" resolved "https://registry.yarnpkg.com/gcp-metadata/-/gcp-metadata-6.1.0.tgz#9b0dd2b2445258e7597f2024332d20611cbd6b8c" @@ -17468,21 +17470,6 @@ google-auth-library@^7.0.0, google-auth-library@^7.9.2: jws "^4.0.0" lru-cache "^6.0.0" -google-auth-library@^8.0.1: - version "8.9.0" - resolved "https://registry.yarnpkg.com/google-auth-library/-/google-auth-library-8.9.0.tgz#15a271eb2ec35d43b81deb72211bd61b1ef14dd0" - integrity sha512-f7aQCJODJFmYWN6PeNKzgvy9LI2tYmXnzpNDHEjG5sDNPgGb2FXQyTBnXeSH+PAtpKESFD+LmHw3Ox3mN7e1Fg== - dependencies: - arrify "^2.0.0" - base64-js "^1.3.0" - ecdsa-sig-formatter "^1.0.11" - fast-text-encoding "^1.0.0" - gaxios "^5.0.0" - gcp-metadata "^5.3.0" - gtoken "^6.1.0" - jws "^4.0.0" - lru-cache "^6.0.0" - google-auth-library@^9.0.0, google-auth-library@^9.6.3: version "9.10.0" resolved "https://registry.yarnpkg.com/google-auth-library/-/google-auth-library-9.10.0.tgz#c9fb940923f7ff2569d61982ee1748578c0bbfd4" @@ -17502,13 +17489,6 @@ google-p12-pem@^3.0.3: dependencies: node-forge "^0.10.0" -google-p12-pem@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/google-p12-pem/-/google-p12-pem-4.0.1.tgz#82841798253c65b7dc2a4e5fe9df141db670172a" - integrity sha512-WPkN4yGtz05WZ5EhtlxNDWPhC4JIic6G8ePitwUWy4l+XPVYec+a0j0Ts47PDtW59y3RwAhUd9/h9ZZ63px6RQ== - dependencies: - node-forge "^1.3.1" - gopd@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.0.1.tgz#29ff76de69dac7489b7c0918a5788e56477c332c" @@ -17599,15 +17579,6 @@ gtoken@^5.0.4: google-p12-pem "^3.0.3" jws "^4.0.0" -gtoken@^6.1.0: - version "6.1.2" - resolved "https://registry.yarnpkg.com/gtoken/-/gtoken-6.1.2.tgz#aeb7bdb019ff4c3ba3ac100bbe7b6e74dce0e8bc" - integrity sha512-4ccGpzz7YAr7lxrT2neugmXQ3hP9ho2gcaityLVkiUecAiwiy60Ii8gRbZeOsXV19fYaRjgBSshs8kXw+NKCPQ== - dependencies: - gaxios "^5.0.1" - google-p12-pem "^4.0.0" - jws "^4.0.0" - gtoken@^7.0.0: version "7.1.0" resolved "https://registry.yarnpkg.com/gtoken/-/gtoken-7.1.0.tgz#d61b4ebd10132222817f7222b1e6064bd463fc26" @@ -18188,14 +18159,6 @@ https-proxy-agent@5.0.0, https-proxy-agent@^5.0.0: agent-base "6" debug "4" -https-proxy-agent@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz#c59ef224a04fe8b754f3db0063a25ea30d0005d6" - integrity sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA== - dependencies: - agent-base "6" - debug "4" - https-proxy-agent@^7.0.0, https-proxy-agent@^7.0.2: version "7.0.4" resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-7.0.4.tgz#8e97b841a029ad8ddc8731f26595bad868cb4168" @@ -18222,7 +18185,7 @@ human-signals@^2.1.0: resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== -humanize-ms@^1.2.0, humanize-ms@^1.2.1: +humanize-ms@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/humanize-ms/-/humanize-ms-1.2.1.tgz#c46e3159a293f6b896da29316d8b6fe8bb79bbed" integrity sha1-xG4xWaKT9riW2ikxbYtv6Lt5u+0= @@ -18265,7 +18228,7 @@ hyphenate-style-name@^1.0.0: resolved "https://registry.yarnpkg.com/hyphenate-style-name/-/hyphenate-style-name-1.0.4.tgz#691879af8e220aea5750e8827db4ef62a54e361d" integrity sha512-ygGZLjmXfPHj+ZWh6LwbC37l43MhfztxetbFCoYTM2VjkIUpeHgSNn7QIyVFj7YQ1Wl9Cbw5sholVJPzWvC2MQ== -iconv-lite@0.4.24, iconv-lite@^0.4.15, iconv-lite@^0.4.24, iconv-lite@^0.4.4: +iconv-lite@0.4.24, iconv-lite@^0.4.24, iconv-lite@^0.4.4: version "0.4.24" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== @@ -21299,7 +21262,7 @@ mime@1.6.0, mime@^1.3.4, mime@^1.4.1: resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg== -mime@^2.4.4, mime@^2.5.2: +mime@^2.4.4: version "2.6.0" resolved "https://registry.yarnpkg.com/mime/-/mime-2.6.0.tgz#a2a682a95cd4d0cb1d6257e28f83da7e35800367" integrity sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg== @@ -21434,7 +21397,7 @@ minimist-options@4.1.0, minimist-options@^4.0.2: is-plain-obj "^1.1.0" kind-of "^6.0.3" -minimist@^1.1.0, minimist@^1.2.0, minimist@^1.2.3, minimist@^1.2.5: +minimist@^1.2.0, minimist@^1.2.3, minimist@^1.2.5: version "1.2.8" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== @@ -21738,7 +21701,7 @@ mysql@^2.18.1: safe-buffer "5.1.2" sqlstring "2.3.1" -mz@^2.4.0, mz@^2.7.0: +mz@^2.4.0: version "2.7.0" resolved "https://registry.yarnpkg.com/mz/-/mz-2.7.0.tgz#95008057a56cafadc2bc63dde7f9ff6955948e32" integrity sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q== @@ -21982,7 +21945,7 @@ node-forge@^0.10.0: resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-0.10.0.tgz#32dea2afb3e9926f02ee5ce8794902691a676bf3" integrity sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA== -node-forge@^1, node-forge@^1.3.1: +node-forge@^1: version "1.3.1" resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-1.3.1.tgz#be8da2af243b2417d5f646a770663a92b7e9ded3" integrity sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA== @@ -22730,14 +22693,6 @@ os-homedir@^1.0.0: resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" integrity sha1-/7xJiDNuDoM94MFox+8VISGqf7M= -os-name@~1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/os-name/-/os-name-1.0.3.tgz#1b379f64835af7c5a7f498b357cb95215c159edf" - integrity sha512-f5estLO2KN8vgtTRaILIgEGBoBrMnZ3JQ7W9TMZCnOIGwHe8TRGSpcagnWDo+Dfhd/z08k9Xe75hvciJJ8Qaew== - dependencies: - osx-release "^1.0.0" - win-release "^1.0.0" - os-tmpdir@^1.0.0, os-tmpdir@~1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" @@ -22756,13 +22711,6 @@ ospath@^1.2.2: resolved "https://registry.yarnpkg.com/ospath/-/ospath-1.2.2.tgz#1276639774a3f8ef2572f7fe4280e0ea4550c07b" integrity sha1-EnZjl3Sj+O8lcvf+QoDg6kVQwHs= -osx-release@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/osx-release/-/osx-release-1.1.0.tgz#f217911a28136949af1bf9308b241e2737d3cd6c" - integrity sha512-ixCMMwnVxyHFQLQnINhmIpWqXIfS2YOXchwQrk+OFzmo6nDjQ0E4KXAyyUh0T0MZgV4bUhkRrAbVqlE4yLVq4A== - dependencies: - minimist "^1.1.0" - p-cancelable@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-1.1.0.tgz#d078d15a3af409220c886f1d9a0ca2e441ab26cc" @@ -23239,13 +23187,6 @@ pathval@^1.1.1: resolved "https://registry.yarnpkg.com/pathval/-/pathval-1.1.1.tgz#8534e77a77ce7ac5a2512ea21e0fdb8fcf6c3d8d" integrity sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ== -pause-stream@~0.0.11: - version "0.0.11" - resolved "https://registry.yarnpkg.com/pause-stream/-/pause-stream-0.0.11.tgz#fe5a34b0cbce12b5aa6a2b403ee2e73b602f1445" - integrity sha512-e3FBlXLmN/D1S+zHzanP4E/4Z60oFAa3O051qt1pxa7DEJWKAyil6upYVXCWadEnuoqa4Pkc9oUx9zsxYeRv8A== - dependencies: - through "~2.3" - pend@~1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/pend/-/pend-1.2.0.tgz#7a57eb550a6783f9115331fcf4663d5c8e007a50" @@ -24642,6 +24583,11 @@ proxy-addr@~2.0.7: forwarded "0.2.0" ipaddr.js "1.9.1" +proxy-from-env@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2" + integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg== + prr@~1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476" @@ -24744,7 +24690,7 @@ qs@6.11.0: dependencies: side-channel "^1.0.4" -qs@^6.4.0, qs@^6.5.1, qs@^6.9.4: +qs@^6.5.1, qs@^6.9.4: version "6.11.2" resolved "https://registry.yarnpkg.com/qs/-/qs-6.11.2.tgz#64bea51f12c1f5da1bc01496f48ffcff7c69d7d9" integrity sha512-tDNIz22aBzCDxLtVH++VnTfzxlfeK5CbqohpSqpJgj1Wg/cQbStNAz3NuqCs5vV+pjBsK4x4pN9HlVh7rcYRiA== @@ -26154,14 +26100,6 @@ retry-request@^4.2.2: debug "^4.1.1" extend "^3.0.2" -retry-request@^5.0.0: - version "5.0.2" - resolved "https://registry.yarnpkg.com/retry-request/-/retry-request-5.0.2.tgz#143d85f90c755af407fcc46b7166a4ba520e44da" - integrity sha512-wfI3pk7EE80lCIXprqh7ym48IHYdwmAAzESdbU8Q9l7pnRCk9LEhpbOTNKjz6FARLm/Bl5m+4F0ABxOkYUujSQ== - dependencies: - debug "^4.1.1" - extend "^3.0.2" - retry-request@^7.0.0: version "7.0.2" resolved "https://registry.yarnpkg.com/retry-request/-/retry-request-7.0.2.tgz#60bf48cfb424ec01b03fca6665dee91d06dd95f3" @@ -26520,7 +26458,7 @@ semver-regex@^3.1.2: resolved "https://registry.yarnpkg.com/semver-regex/-/semver-regex-3.1.3.tgz#b2bcc6f97f63269f286994e297e229b6245d0dc3" integrity sha512-Aqi54Mk9uYTjVexLnR67rTyBusmwd04cLkHy9hNvk3+G3nT2Oyg7E0l4XVbOaNwIvQ3hHeYxGcyEy+mKreyBFQ== -"semver@2 || 3 || 4 || 5", semver@^5.0.1, semver@^5.5.0, semver@^5.6.0, semver@^5.7.1: +"semver@2 || 3 || 4 || 5", semver@^5.5.0, semver@^5.6.0, semver@^5.7.1: version "5.7.1" resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== @@ -26953,31 +26891,30 @@ snapdragon@^0.8.1: source-map-resolve "^0.5.0" use "^3.1.0" -snowflake-sdk@^1.8.0: - version "1.8.0" - resolved "https://registry.yarnpkg.com/snowflake-sdk/-/snowflake-sdk-1.8.0.tgz#1124ce2156cf4d7e38eae05e10fd475b8b759f2b" - integrity sha512-zdU1c+ytIZclF4K6D4XPPHa5II6l6cOQdsLdvKP95IwSdTYJz324ESA7fPcg/rwYV7vUKnIZJ9OCjB1mE7D2IQ== - dependencies: - "@azure/storage-blob" "^12.11.0" - "@google-cloud/storage" "^6.9.3" - "@techteamer/ocsp" "1.0.0" - agent-base "^6.0.2" +snowflake-sdk@^1.13.1: + version "1.13.1" + resolved "https://registry.yarnpkg.com/snowflake-sdk/-/snowflake-sdk-1.13.1.tgz#962c762b6bfe39ed7be0964792aba0942fac03a4" + integrity sha512-I6oLvVpSOEO4BCyNEEKuAfsFgDehzeHzla7zaxLzSJSPIDj48E94nTFsrPS0V4KTNAvGz0Kyx16Aoe7cXEDwnQ== + dependencies: + "@aws-sdk/client-s3" "^3.388.0" + "@aws-sdk/node-http-handler" "^3.374.0" + "@azure/storage-blob" "12.18.x" + "@google-cloud/storage" "^7.7.0" + "@techteamer/ocsp" "1.0.1" asn1.js-rfc2560 "^5.0.0" asn1.js-rfc5280 "^3.0.0" - aws-sdk "^2.878.0" - axios "^0.27.2" + axios "^1.6.8" big-integer "^1.6.43" - bignumber.js "^2.4.0" + bignumber.js "^9.1.2" binascii "0.0.2" bn.js "^5.2.1" browser-request "^0.3.3" - debug "^3.2.6" expand-tilde "^2.0.2" - extend "^3.0.2" fast-xml-parser "^4.2.5" + fastest-levenshtein "^1.0.16" generic-pool "^3.8.2" - glob "^7.1.6" - https-proxy-agent "^5.0.1" + glob "^10.0.0" + https-proxy-agent "^7.0.2" jsonwebtoken "^9.0.0" mime-types "^2.1.29" mkdirp "^1.0.3" @@ -26986,10 +26923,8 @@ snowflake-sdk@^1.8.0: open "^7.3.1" python-struct "^1.1.3" simple-lru-cache "^0.0.2" - string-similarity "^4.0.4" - tmp "^0.2.1" - urllib "^2.41.0" - uuid "^3.3.2" + toml "^3.0.0" + uuid "^8.3.2" winston "^3.1.0" socket.io-adapter@~1.1.0: @@ -27469,7 +27404,7 @@ statuses@2.0.1: resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.1.tgz#55cb000ccf1d48728bd23c685a063998cf1a1b63" integrity sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ== -"statuses@>= 1.4.0 < 2", "statuses@>= 1.5.0 < 2", statuses@^1.3.1: +"statuses@>= 1.4.0 < 2", "statuses@>= 1.5.0 < 2": version "1.5.0" resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" integrity sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow= @@ -27550,11 +27485,6 @@ string-length@^5.0.1: char-regex "^2.0.0" strip-ansi "^7.0.1" -string-similarity@^4.0.4: - version "4.0.4" - resolved "https://registry.yarnpkg.com/string-similarity/-/string-similarity-4.0.4.tgz#42d01ab0b34660ea8a018da8f56a3309bb8b2a5b" - integrity sha512-/q/8Q4Bl4ZKAPjj8WerIBJWALKkaPRfrvhfF8k/B23i4nzrlRj2/go1m90In7nG/3XDSbOo0+pu6RvCTM9RGMQ== - "string-width-cjs@npm:string-width@^4.2.0": version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" @@ -28114,17 +28044,6 @@ teeny-request@^7.0.0: stream-events "^1.0.5" uuid "^8.0.0" -teeny-request@^8.0.0: - version "8.0.3" - resolved "https://registry.yarnpkg.com/teeny-request/-/teeny-request-8.0.3.tgz#5cb9c471ef5e59f2fca8280dc3c5909595e6ca24" - integrity sha512-jJZpA5He2y52yUhA7pyAGZlgQpcB+xLjcN0eUFxr9c8hP/H7uOXbBNVo/O0C/xVfJLJs680jvkFgVJEEvk9+ww== - dependencies: - http-proxy-agent "^5.0.0" - https-proxy-agent "^5.0.0" - node-fetch "^2.6.1" - stream-events "^1.0.5" - uuid "^9.0.0" - teeny-request@^9.0.0: version "9.0.0" resolved "https://registry.yarnpkg.com/teeny-request/-/teeny-request-9.0.0.tgz#18140de2eb6595771b1b02203312dfad79a4716d" @@ -28388,7 +28307,7 @@ through2@^4.0.0: dependencies: readable-stream "3" -through@2, "through@>=2.2.7 <3", through@^2.3.4, through@^2.3.6, through@^2.3.8, through@~2.3: +through@2, "through@>=2.2.7 <3", through@^2.3.4, through@^2.3.6, through@^2.3.8: version "2.3.8" resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= @@ -28469,18 +28388,18 @@ tmp@^0.1.0: dependencies: rimraf "^2.6.3" -tmp@^0.2.1, tmp@~0.2.1: +tmp@^0.2.3: + version "0.2.3" + resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.2.3.tgz#eb783cc22bc1e8bebd0671476d46ea4eb32a79ae" + integrity sha512-nZD7m9iCPC5g0pYmcaxogYKggSfLsdxl8of3Q/oIbqCqLLIO9IAF0GWjX1z9NZRHPiXv8Wex4yDCaZsgEw0Y8w== + +tmp@~0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.2.1.tgz#8457fc3037dcf4719c251367a1af6500ee1ccf14" integrity sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ== dependencies: rimraf "^3.0.0" -tmp@^0.2.3: - version "0.2.3" - resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.2.3.tgz#eb783cc22bc1e8bebd0671476d46ea4eb32a79ae" - integrity sha512-nZD7m9iCPC5g0pYmcaxogYKggSfLsdxl8of3Q/oIbqCqLLIO9IAF0GWjX1z9NZRHPiXv8Wex4yDCaZsgEw0Y8w== - tmpl@1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.5.tgz#8683e0b902bb9c20c4f726e3c0b69f36518c07cc" @@ -28553,6 +28472,11 @@ toidentifier@1.0.1: resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.1.tgz#3be34321a88a820ed1bd80dfaa33e479fbb8dd35" integrity sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA== +toml@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/toml/-/toml-3.0.0.tgz#342160f1af1904ec9d204d03a5d61222d762c5ee" + integrity sha512-y/mWCZinnvxjTKYhJ+pYxwD0mRLVvOtdS2Awbgxln6iEnt4rk0yBxeSBHkGJcPucRiG0e55mwWp+g/05rsrd6w== + totalist@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/totalist/-/totalist-3.0.1.tgz#ba3a3d600c915b1a97872348f79c127475f6acf8" @@ -28695,6 +28619,11 @@ tslib@^2, tslib@^2.0.0, tslib@^2.0.3, tslib@^2.2.0, tslib@^2.3.0, tslib@^2.3.1, resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01" integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw== +tslib@^2.5.0: + version "2.7.0" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.7.0.tgz#d9b40c5c40ab59e8738f297df3087bf1a2690c01" + integrity sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA== + tslib@~2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.1.0.tgz#da60860f1c2ecaa5703ab7d39bc05b6bf988b97a" @@ -28942,13 +28871,6 @@ undici@^5.28.4: dependencies: "@fastify/busboy" "^2.0.0" -unescape@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/unescape/-/unescape-1.0.1.tgz#956e430f61cad8a4d57d82c518f5e6cc5d0dda96" - integrity sha512-O0+af1Gs50lyH1nUu3ZyYS1cRh01Q/kUKatTOkSs7jukXE6/NebucDVxyiDsA9AQ4JC1V1jUH9EO8JX2nMDgGQ== - dependencies: - extend-shallow "^2.0.1" - unicode-canonical-property-names-ecmascript@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz#301acdc525631670d39f6146e0e77ff6bbdebddc" @@ -29180,26 +29102,6 @@ url@^0.11.0: punycode "1.3.2" querystring "0.2.0" -urllib@^2.41.0: - version "2.41.0" - resolved "https://registry.yarnpkg.com/urllib/-/urllib-2.41.0.tgz#be15705e62af4eadcafcfeadda1014b526ae2d0d" - integrity sha512-pNXdxEv52L67jahLT+/7QE+Fup1y2Gc6EdmrAhQ6OpQIC2rl14oWwv9hvk1GXOZqEnJNwRXHABuwgPOs1CtL7g== - dependencies: - any-promise "^1.3.0" - content-type "^1.0.2" - debug "^2.6.9" - default-user-agent "^1.0.0" - digest-header "^1.0.0" - ee-first "~1.1.1" - formstream "^1.1.0" - humanize-ms "^1.2.0" - iconv-lite "^0.4.15" - ip "^1.1.5" - pump "^3.0.0" - qs "^6.4.0" - statuses "^1.3.1" - utility "^1.16.1" - use-callback-ref@^1.3.2: version "1.3.2" resolved "https://registry.yarnpkg.com/use-callback-ref/-/use-callback-ref-1.3.2.tgz#6134c7f6ff76e2be0b56c809b17a650c942b1693" @@ -29254,17 +29156,6 @@ utila@~0.4: resolved "https://registry.yarnpkg.com/utila/-/utila-0.4.0.tgz#8a16a05d445657a3aea5eecc5b12a4fa5379772c" integrity sha1-ihagXURWV6Oupe7MWxKk+lN5dyw= -utility@^1.16.1: - version "1.17.0" - resolved "https://registry.yarnpkg.com/utility/-/utility-1.17.0.tgz#60819f712a6e0ce774f52fb1d691992a5f59d362" - integrity sha512-KdVkF9An/0239BJ4+dqOa7NPrPIOeQE9AGfx0XS16O9DBiHNHRJMoeU5nL6pRGAkgJOqdOu8R4gBRcXnAocJKw== - dependencies: - copy-to "^2.0.1" - escape-html "^1.0.3" - mkdirp "^0.5.1" - mz "^2.7.0" - unescape "^1.0.1" - utils-merge@1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" @@ -30028,13 +29919,6 @@ wildcard@^2.0.0: resolved "https://registry.yarnpkg.com/wildcard/-/wildcard-2.0.0.tgz#a77d20e5200c6faaac979e4b3aadc7b3dd7f8fec" integrity sha512-JcKqAHLPxcdb9KM49dufGXn2x3ssnfjbcaQdLlfZsL9rH9wgDQjUtDxbo8NE0F6SFvydeu1VhZe7hZuHsB2/pw== -win-release@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/win-release/-/win-release-1.1.1.tgz#5fa55e02be7ca934edfc12665632e849b72e5209" - integrity sha512-iCRnKVvGxOQdsKhcQId2PXV1vV3J/sDPXKA4Oe9+Eti2nb2ESEsYHRYls/UjoUW3bIc5ZDO8dTH50A/5iVN+bw== - dependencies: - semver "^5.0.1" - winreg@~1.2.2: version "1.2.4" resolved "https://registry.yarnpkg.com/winreg/-/winreg-1.2.4.tgz#ba065629b7a925130e15779108cf540990e98d1b"