From 076ad775254a9dcc105825315044bb41a17edf91 Mon Sep 17 00:00:00 2001 From: Dmitry Patsura Date: Mon, 13 Jul 2026 23:30:46 +0200 Subject: [PATCH 1/2] feat(pinot-driver): Tesseract SQL dialect fixes + incorrect timeout bug (#11242) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - **ILIKE text-search filters** (Fixes #11238): render `contains`/`startsWith`/`endsWith` as `LOWER(col) LIKE CONCAT('%', LOWER(?), '%')` instead of unsupported `ILIKE`. - **Time-series / rolling-window casts** (Fixes #11239): use `CAST(... AS TIMESTAMP)` instead of PostgreSQL `::timestamp` in `time_series_select`, `series_bounds_cast`, and `rolling_window_expr_timestamp_cast`. - **Interval arithmetic** (Fixes #11237): emit `fromEpochDays/Hours/Minutes/Seconds` and `TIMESTAMPADD(MONTH|YEAR, ...)` instead of invalid `fromEpoch()`. - **OFFSET/LIMIT ordering**: emit `LIMIT` before `OFFSET` (Pinot's multi-stage engine rejects the reverse). - **Custom granularities**: implement `dateBin()` (via `TIMESTAMPADD`/`TIMESTAMPDIFF`, mirroring the MSSQL/ClickHouse approach) so custom time-dimension granularities (`half_year`, `three_months`, `two_mo`, …) work — reached by Tesseract through the `DriverTools` bridge, no template needed. - **Timestamp literals** on the SQL-API push-down path: parse the ISO-8601 value (`yyyy-MM-dd'T'HH:mm:ss.SSS'Z'`) the SQL API emits, instead of the space-separated `convertTz` format. --- .../cubejs-pinot-driver/src/PinotDriver.ts | 5 +- .../cubejs-pinot-driver/src/PinotQuery.ts | 100 +- .../test/PinotQueryTemplates.test.ts | 7 +- .../fixtures/pinot.json | 134 +- .../__snapshots__/pinot-full.test.ts.snap | 17069 ++++++++++++---- 5 files changed, 13403 insertions(+), 3912 deletions(-) diff --git a/packages/cubejs-pinot-driver/src/PinotDriver.ts b/packages/cubejs-pinot-driver/src/PinotDriver.ts index 77b9420eeaeb0..432cba778d7ca 100644 --- a/packages/cubejs-pinot-driver/src/PinotDriver.ts +++ b/packages/cubejs-pinot-driver/src/PinotDriver.ts @@ -8,6 +8,7 @@ import { import { getEnv, assertDataSource, + Required, } from '@cubejs-backend/shared'; import type { ConnectionOptions as TLSConnectionOptions } from 'tls'; @@ -82,7 +83,7 @@ export class PinotDriver extends BaseDriver implements DriverInterface { return 10; } - protected readonly config: PinotDriverConfiguration; + protected readonly config: Required; protected readonly url: string; @@ -183,7 +184,7 @@ export class PinotDriver extends BaseDriver implements DriverInterface { }), body: JSON.stringify({ sql: query, - queryOptions: `useMultistageEngine=true;enableNullHandling=${this.config.nullHandling};timeoutMs=${this.config.queryTimeout}` + queryOptions: `useMultistageEngine=true;enableNullHandling=${this.config.nullHandling};timeoutMs=${this.config.queryTimeout * 1000}` }) }); diff --git a/packages/cubejs-pinot-driver/src/PinotQuery.ts b/packages/cubejs-pinot-driver/src/PinotQuery.ts index c9a7c4c8da7f3..73cb3b96955aa 100644 --- a/packages/cubejs-pinot-driver/src/PinotQuery.ts +++ b/packages/cubejs-pinot-driver/src/PinotQuery.ts @@ -1,4 +1,5 @@ import { BaseFilter, BaseQuery, BaseTimeDimension } from '@cubejs-backend/schema-compiler'; +import { parseSqlInterval } from '@cubejs-backend/shared'; enum GRANULARITY_TO_INTERVAL { day = 'day', @@ -15,6 +16,18 @@ type GRANULARITY_ID = keyof typeof GRANULARITY_TO_INTERVAL; const DATE_TIME_FORMAT = '\'yyyy-MM-dd HH:mm:ss.SSS\''; +// Pinot has no `date + INTERVAL '...'` syntax. Fixed-length units are added to a +// timestamp as epoch-millis offsets produced by these `fromEpoch()` functions +// (note: pluralized and case-sensitive). Calendar units (month/quarter/year), whose +// length varies, must instead go through TIMESTAMPADD(). +const PINOT_EPOCH_FN: Record = { + second: 'fromEpochSeconds', + minute: 'fromEpochMinutes', + hour: 'fromEpochHours', + day: 'fromEpochDays', + week: 'fromEpochDays', +}; + class PinotTimeDimension extends BaseTimeDimension { public formatFromDate(date: string) { return super.formatFromDate(date).replace('T', ' '); @@ -76,13 +89,70 @@ export class PinotQuery extends BaseQuery { } public subtractInterval(date: string, interval: string) { - const [intervalValue, intervalUnit] = interval.split(' '); - return `${this.timeStampCast(date)} - fromEpoch${intervalUnit}(${intervalValue})`; + return this.applyInterval(date, interval, -1); } public addInterval(date: string, interval: string) { - const [intervalValue, intervalUnit] = interval.split(' '); - return `${this.timeStampCast(date)} + fromEpoch${intervalUnit}(${intervalValue})`; + return this.applyInterval(date, interval, 1); + } + + /** + * Renders Pinot-valid interval arithmetic on top of a timestamp expression. + * The interval string (e.g. "7 day", "1 year", "1 year 2 month") is parsed into + * its unit parts; fixed-length units are applied as epoch-millis offsets via + * fromEpoch(), calendar units via TIMESTAMPADD(). `sign` is +1 for addition + * and -1 for subtraction. + */ + private applyInterval(date: string, interval: string, sign: number): string { + const parsed = parseSqlInterval(interval); + let expr = this.timeStampCast(date); + + for (const [unit, rawValue] of Object.entries(parsed)) { + const value = (rawValue as number) * sign; + + switch (unit) { + case 'second': + case 'minute': + case 'hour': + case 'day': + case 'week': { + const amount = unit === 'week' ? value * 7 : value; + const op = amount < 0 ? '-' : '+'; + expr = `${expr} ${op} ${PINOT_EPOCH_FN[unit]}(${Math.abs(amount)})`; + break; + } + case 'month': + expr = `TIMESTAMPADD(MONTH, ${value}, ${expr})`; + break; + case 'quarter': + expr = `TIMESTAMPADD(MONTH, ${value * 3}, ${expr})`; + break; + case 'year': + expr = `TIMESTAMPADD(YEAR, ${value}, ${expr})`; + break; + default: + throw new Error(`Unsupported interval unit "${unit}" for the Pinot dialect`); + } + } + + return expr; + } + + /** + * Floors `source` to the timestamp aligned with `interval`-sized bins relative + * to `origin`, used for custom (non-natural-aligned) granularities. + */ + public dateBin(interval: string, source: string, origin: string): string { + const originAligned = this.timeStampCast(`'${origin.replace('T', ' ')}'`); + const beginOfTime = this.timeStampCast('\'1970-01-01 00:00:00.000\''); + const timeUnit = this.diffTimeUnitForInterval(interval).toUpperCase(); + const intervalSize = `TIMESTAMPDIFF(${timeUnit}, ${beginOfTime}, ${this.addInterval(beginOfTime, interval)})`; + + return this.timeStampCast( + `TIMESTAMPADD(${timeUnit}, ` + + `CAST(FLOOR(CAST(TIMESTAMPDIFF(${timeUnit}, ${originAligned}, ${source}) AS DOUBLE) / ${intervalSize}) AS INTEGER) * ${intervalSize}, ` + + `${originAligned})` + ); } public seriesSql(timeDimension: BaseTimeDimension) { @@ -131,7 +201,8 @@ export class PinotQuery extends BaseQuery { protected limitOffsetClause(limit: string | number, offset: string | number) { const limitClause = limit != null ? ` LIMIT ${limit}` : ''; const offsetClause = offset != null ? ` OFFSET ${offset}` : ''; - return `${offsetClause}${limitClause}`; + // Pinot expects LIMIT before OFFSET. + return `${limitClause}${offsetClause}`; } public newTimeDimension(timeDimension: any): BaseTimeDimension { @@ -160,12 +231,25 @@ export class PinotQuery extends BaseQuery { '{% if group_by %}\nGROUP BY {{ group_by }}{% endif %}' + '{% if having %}\nHAVING {{ having }}{% endif %}' + '{% if order_by %}\nORDER BY {{ order_by | map(attribute=\'expr\') | join(\', \') }}{% endif %}' + - '{% if offset is not none %}\nOFFSET {{ offset }}{% endif %}' + - '{% if limit is not none %}\nLIMIT {{ limit }}{% endif %}'; + // Pinot (multi-stage engine) expects LIMIT before OFFSET; the reverse order is rejected. + '{% if limit is not none %}\nLIMIT {{ limit }}{% endif %}' + + '{% if offset is not none %}\nOFFSET {{ offset }}{% endif %}'; templates.expressions.extract = 'EXTRACT({{ date_part }} FROM {{ expr }})'; - templates.expressions.timestamp_literal = `fromDateTime('{{ value }}', ${DATE_TIME_FORMAT})`; + templates.expressions.timestamp_literal = 'fromDateTime(\'{{ value }}\', \'yyyy-MM-dd\'\'T\'\'HH:mm:ss.SSS\'\'Z\'\'\')'; // NOTE: this template contains a comma; two order expressions are being generated templates.expressions.sort = '{{ expr }} IS NULL {% if nulls_first %}DESC{% else %}ASC{% endif %}, {{ expr }} {% if asc %}ASC{% else %}DESC{% endif %}'; + templates.expressions.ilike = 'LOWER({{ expr }}) {% if negated %}NOT {% endif %}LIKE LOWER({{ pattern }})'; + templates.filters.like_pattern = 'CONCAT({% if start_wild %}\'%\'{% else %}\'\'{% endif %}, LOWER({{ value }}), {% if end_wild %}\'%\'{% else %}\'\'{% endif %})'; + templates.tesseract.ilike = 'LOWER({{ expr }}) {% if negated %}NOT {% endif %} LIKE {{ pattern }}'; + templates.tesseract.series_bounds_cast = 'CAST({{ expr }} AS TIMESTAMP)'; + templates.expressions.rolling_window_expr_timestamp_cast = 'CAST({{ value }} AS TIMESTAMP)'; + templates.statements.time_series_select = 'SELECT CAST(f AS TIMESTAMP) date_from, CAST(t AS TIMESTAMP) date_to \n' + + 'FROM (\n' + + '{% for time_item in seria %}' + + ' select \'{{ time_item[0] }}\' f, \'{{ time_item[1] }}\' t \n' + + '{% if not loop.last %} UNION ALL\n{% endif %}' + + '{% endfor %}' + + ') AS dates'; templates.quotes.identifiers = '"'; delete templates.types.time; delete templates.types.interval; diff --git a/packages/cubejs-pinot-driver/test/PinotQueryTemplates.test.ts b/packages/cubejs-pinot-driver/test/PinotQueryTemplates.test.ts index cac48e48af350..46a6cfed509bc 100644 --- a/packages/cubejs-pinot-driver/test/PinotQueryTemplates.test.ts +++ b/packages/cubejs-pinot-driver/test/PinotQueryTemplates.test.ts @@ -36,7 +36,7 @@ describe('PinotQuery SQL templates', () => { measures: ['orders.count'], timeDimensions: [], filters: [], - limit: 10, + rowLimit: 10, offset: 5, useNativeSqlPlanner: true, }); @@ -45,7 +45,8 @@ describe('PinotQuery SQL templates', () => { expect(sql).toMatch(/FROM\s+orders\b/); expect(sql).not.toMatch(/FROM\s*\(\s*\)\s+AS\b/); - expect(sql.indexOf('OFFSET 5')).toBeGreaterThan(-1); - expect(sql.indexOf('OFFSET 5')).toBeLessThan(sql.indexOf('LIMIT 10')); + expect(sql.indexOf('LIMIT 10')).toBeGreaterThan(-1); + // Pinot expects LIMIT before OFFSET. + expect(sql.indexOf('LIMIT 10')).toBeLessThan(sql.indexOf('OFFSET 5')); }); }); diff --git a/packages/cubejs-testing-drivers/fixtures/pinot.json b/packages/cubejs-testing-drivers/fixtures/pinot.json index 11eaa5aebb583..6e6a9e1d52e29 100644 --- a/packages/cubejs-testing-drivers/fixtures/pinot.json +++ b/packages/cubejs-testing-drivers/fixtures/pinot.json @@ -41,7 +41,7 @@ } }, "pinot-controller": { - "image": "apachepinot/pinot:1.1.0", + "image": "apachepinot/pinot:1.4.0", "hostname": "pinot-controller", "restart": "unless-stopped", "command": "StartController -configFileName /tmp/data/test-resources/controller.conf", @@ -57,7 +57,7 @@ "volumes": ["../fixtures/pinot:/tmp/data/test-resources:ro"] }, "pinot-broker": { - "image": "apachepinot/pinot:1.1.0", + "image": "apachepinot/pinot:1.4.0", "hostname": "pinot-broker", "restart": "unless-stopped", "command": "StartBroker -zkAddress zookeeper:2181 -configFileName /tmp/data/test-resources/broker.conf", @@ -73,7 +73,7 @@ "volumes": ["../fixtures/pinot:/tmp/data/test-resources:ro"] }, "pinot-server": { - "image": "apachepinot/pinot:1.1.0", + "image": "apachepinot/pinot:1.4.0", "hostname": "pinot-server", "restart": "unless-stopped", "command": "StartServer -zkAddress zookeeper:2181", @@ -137,6 +137,16 @@ "CUBE.totalSales", "CUBE.totalProfit" ] + }, + { + "name": "TBuildOnlyHalfYear", + "time_dimension": "CUBE.orderDate", + "granularity": "build_only_half_year", + "partition_granularity": "year", + "dimensions": ["CUBE.productName"], + "measures": [ + "CUBE.totalQuantity" + ] } ], "BigECommerce": [ @@ -159,6 +169,24 @@ "measures": [ "CUBE.totalProfit" ] + }, + { + "name": "MultiTimeDimForCount", + "time_dimensions": [ + { + "dimension": "CUBE.completedDate", + "granularity": "day" + }, + { + "dimension": "CUBE.orderDate", + "granularity": "day" + } + ], + "partition_granularity": "month", + "measures": [ + "CUBE.count" + ], + "sqlAlias": "mtdfc" } ] }, @@ -224,86 +252,18 @@ "querying ECommerce: total quantity, avg discount, total sales, total profit by product + order + total -- noisy test", "---------------------------------------", - "Pinot dialect has no ILIKE (case-insensitive LIKE). Cube/Tesseract renders", - "contains/startsWith/endsWith filters as `col ILIKE '%'||?||'%'`, which Pinot", - "rejects (`No match found for function signature ILIKE`). Needs a PinotQuery", - "Tesseract template (lower()+LIKE or TEXT_MATCH) -- driver follow-up.", - "---------------------------------------", - "filtering Customers: contains + dimensions, first", - "filtering Customers: contains + dimensions, second", - "filtering Customers: contains + dimensions, third", - "filtering Customers: startsWith + dimensions, first", - "filtering Customers: startsWith + dimensions, second", - "filtering Customers: startsWith + dimensions, third", - "filtering Customers: notStartsWith + dimensions, first", - "filtering Customers: notStartsWith + dimensions, second", - "filtering Customers: notStartsWith + dimensions, third", - "filtering Customers: endsWith filter + dimensions, first", - "filtering Customers: endsWith filter + dimensions, second", - "filtering Customers: endsWith filter + dimensions, third", - "filtering Customers: notEndsWith filter + dimensions, first", - "filtering Customers: notEndsWith filter + dimensions, second", - "filtering Customers: notEndsWith filter + dimensions, third", - "filtering ECommerce: contains dimensions, first", - "filtering ECommerce: contains dimensions, second", - "filtering ECommerce: contains dimensions, third", - "filtering ECommerce: startsWith + dimensions, first", - "filtering ECommerce: startsWith + dimensions, second", - "filtering ECommerce: startsWith + dimensions, third", - "filtering ECommerce: endsWith + dimensions, first", - "filtering ECommerce: endsWith + dimensions, second", - "filtering ECommerce: endsWith + dimensions, third", - "filtering Products: contains + dimensions + order, first", - "filtering Products: contains + dimensions + order, second", - "filtering Products: contains + dimensions + order, third", - "filtering Products: contains with special chars + dimensions", - "filtering Products: startsWith filter + dimensions + order, first", - "filtering Products: startsWith filter + dimensions + order, second", - "filtering Products: startsWith filter + dimensions + order, third", - "filtering Products: endsWith filter + dimensions + order, first", - "filtering Products: endsWith filter + dimensions + order, second", - "filtering Products: endsWith filter + dimensions + order, third", - - "---------------------------------------", - "Tesseract renders OFFSET before LIMIT; Pinot's multi-stage engine rejects that", - "ordering (expects LIMIT ... OFFSET ...) -- driver/dialect follow-up.", - "---------------------------------------", - "querying Customers: dimensions + order + total + offset", - "querying Customers: dimensions + order + limit + total + offset", - "querying ECommerce: dimensions + order + total + offset", - "querying ECommerce: dimensions + order + limit + total + offset", - - "---------------------------------------", - "Rolling windows / time series: the generated Pinot SQL is rejected by Pinot's", - "parser (rolling-window and YTD constructs) -- Pinot Tesseract dialect follow-up.", + "Rolling windows without an explicit date range still rely on Tesseract-generated", + "time series bounds, which the Pinot dialect does not emit yet -- follow-up.", "---------------------------------------", - "querying BigECommerce: time series in rolling window", - "querying BigECommerce: rolling window by 2 day", "querying BigECommerce: rolling window by 2 day without date range", - "querying BigECommerce: rolling window by 2 week", - "querying BigECommerce: rolling window by 2 month", "querying BigECommerce: rolling window by 2 month without date range", - "querying BigECommerce: rolling window YTD (month)", - "querying BigECommerce: rolling window YTD (month + week)", - "querying BigECommerce: rolling window YTD (month + week + no gran)", - "querying BigECommerce: rolling window YTD (month + week + day)", - "querying BigECommerce: rolling window YTD (month + week + day + no gran)", "querying BigECommerce: rolling window YTD without date range", "---------------------------------------", - "Custom granularities (half_year / three_months / two_mo rolling): unsupported", - "granularity/interval SQL under the Pinot dialect -- follow-up.", + "Custom granularity + rolling window without an explicit date range needs the", + "Tesseract-generated time series bounds (see above) -- follow-up.", "---------------------------------------", - "querying custom granularities ECommerce: count by half_year + dimension", - "querying custom granularities ECommerce: count by half_year + no dimension", - "querying custom granularities ECommerce: count by half_year_by_1st_april + dimension", - "querying custom granularities ECommerce: count by half_year_by_1st_april + no dimension", - "querying custom granularities ECommerce: count by three_months_by_march + dimension", - "querying custom granularities ECommerce: count by three_months_by_march + no dimension", - "querying custom granularities ECommerce: count by two_mo_by_feb + no dimension + rollingCountByLeading", "querying custom granularities ECommerce: count by two_mo_by_feb + no dimension + rollingCountByLeading without date range", - "querying custom granularities ECommerce: count by two_mo_by_feb + no dimension + rollingCountByTrailing", - "querying custom granularities ECommerce: count by two_mo_by_feb + no dimension + rollingCountByUnbounded", "---------------------------------------", "Multi-stage & time-shift measures -- not yet supported by the Pinot dialect.", @@ -323,29 +283,9 @@ "SQL API: Complex Rollup", "SQL API: Rollup with aliases", "SQL API: Rollup over exprs", - "SQL API: Nested Rollup", - "SQL API: Nested Rollup with aliases", "SQL API: Nested Rollup over asterisk", "SQL API: Extended nested Rollup over asterisk", "SQL API: SQL push down push to cube quoted alias", - "SQL API: Rolling Window YTD (year + month + day + date_trunc equal)", - "SQL API: Rolling Window YTD (year + month + day + date_trunc IN)", - "SQL API: Window function over measure (running total)", - - "---------------------------------------", - "Pre-aggregation build via the HTTP API does not complete for Pinot (builds fine", - "in-process -- see the green pinot-core tier); the build test times out, and with", - "no rollups built the pre-agg-backed query tests below can't be served. Skipped", - "together as a pre-agg-over-API follow-up. Raw-source query coverage still runs.", - "---------------------------------------", - "must built pre-aggregations", - "pre-aggregations Customers: running total without time dimension", - "querying ECommerce: partitioned pre-agg", - "querying ECommerce: partitioned pre-agg higher granularity", - "querying BigECommerce: partitioned pre-agg", - "querying custom granularities (with preaggregation) ECommerce: totalQuantity by half_year + no dimension", - "querying custom granularities (with preaggregation) ECommerce: totalQuantity by half_year + dimension", - "SQL API: ungrouped pre-agg", "---------------------------------------", "Additional advanced-query dialect gaps surfaced under Tesseract on Pinot.", @@ -353,11 +293,7 @@ "querying ECommerce: total sales, total profit by month + order (date) + total -- doesn't work with the BigQuery", "querying BigECommerce: null sum", "querying BigECommerce: multi-stage group by time dimension", - "querying BigECommerce: totalProfitYearAgo", "querying BigECommerce: two multi-stage branches sharing one pre-aggregation", - "SQL API: post-aggregate percentage of total", - "SQL API: reuse params", - "SQL API: metabase count cast to float32 from push down", "Tesseract: SQL API: Timeshift measure from cube" ] } diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/pinot-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/pinot-full.test.ts.snap index efeb4adb7bffe..67ce1e1cfac54 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/pinot-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/pinot-full.test.ts.snap @@ -30,5177 +30,14646 @@ Array [ ] `; -exports[`Queries with the @cubejs-backend/pinot-driver SQL API: post-aggregate percentage of total 1`] = ` +exports[`Queries with the @cubejs-backend/pinot-driver SQL API: Nested Rollup 1`] = ` Array [ Object { - "SUM(BigECommerce.percentageOfTotalForStatus)": 100, + "SUM(a.cnt)": "1", + "orderDate": 2020-10-30T00:00:00.000Z, + "orderId": "CA-2017-139661", + "rowId": 1494, }, -] -`; - -exports[`Queries with the @cubejs-backend/pinot-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(a.cnt)": "1", + "orderDate": 2020-12-02T00:00:00.000Z, + "orderId": "CA-2017-102379", + "rowId": 6272, }, -] -`; - -exports[`Queries with the @cubejs-backend/pinot-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(a.cnt)": "1", + "orderDate": 2020-06-10T00:00:00.000Z, + "orderId": "CA-2017-112172", + "rowId": 7310, }, -] -`; - -exports[`Queries with the @cubejs-backend/pinot-driver Tesseract: SQL API: Timeshift measure from cube 1`] = ` -Array [ Object { - "orderDate": 2020-01-01T00:00:00.000Z, - "totalQuantity": 6, - "totalQuantityPriorMonth": null, + "SUM(a.cnt)": "1", + "orderDate": 2020-06-15T00:00:00.000Z, + "orderId": "CA-2017-119284", + "rowId": 8697, }, Object { - "orderDate": 2020-02-01T00:00:00.000Z, - "totalQuantity": 2, - "totalQuantityPriorMonth": 6, + "SUM(a.cnt)": "1", + "orderDate": 2020-05-29T00:00:00.000Z, + "orderId": "CA-2017-144568", + "rowId": 3717, }, Object { - "orderDate": 2020-03-01T00:00:00.000Z, - "totalQuantity": 13, - "totalQuantityPriorMonth": 2, + "SUM(a.cnt)": "1", + "orderDate": 2020-09-17T00:00:00.000Z, + "orderId": "CA-2017-112515", + "rowId": 2655, }, Object { - "orderDate": 2020-04-01T00:00:00.000Z, - "totalQuantity": 3, - "totalQuantityPriorMonth": 13, + "SUM(a.cnt)": "1", + "orderDate": 2020-12-14T00:00:00.000Z, + "orderId": "CA-2017-147333", + "rowId": 5277, }, Object { - "orderDate": 2020-05-01T00:00:00.000Z, - "totalQuantity": 15, - "totalQuantityPriorMonth": 3, + "SUM(a.cnt)": "1", + "orderDate": 2020-10-12T00:00:00.000Z, + "orderId": "CA-2017-150091", + "rowId": 8425, }, Object { - "orderDate": 2020-06-01T00:00:00.000Z, - "totalQuantity": 18, - "totalQuantityPriorMonth": 15, + "SUM(a.cnt)": "1", + "orderDate": 2020-06-17T00:00:00.000Z, + "orderId": "CA-2017-118437", + "rowId": 1013, }, Object { - "orderDate": 2020-07-01T00:00:00.000Z, - "totalQuantity": null, - "totalQuantityPriorMonth": 18, + "SUM(a.cnt)": "1", + "orderDate": 2020-11-21T00:00:00.000Z, + "orderId": "CA-2017-100811", + "rowId": 4012, }, Object { - "orderDate": 2020-09-01T00:00:00.000Z, - "totalQuantity": 27, - "totalQuantityPriorMonth": null, + "SUM(a.cnt)": "1", + "orderDate": 2020-01-23T00:00:00.000Z, + "orderId": "CA-2017-145142", + "rowId": 523, }, Object { - "orderDate": 2020-10-01T00:00:00.000Z, - "totalQuantity": 11, - "totalQuantityPriorMonth": 27, + "SUM(a.cnt)": "1", + "orderDate": 2020-03-17T00:00:00.000Z, + "orderId": "CA-2017-140949", + "rowId": 2455, }, Object { - "orderDate": 2020-11-01T00:00:00.000Z, - "totalQuantity": 43, - "totalQuantityPriorMonth": 11, + "SUM(a.cnt)": "1", + "orderDate": 2020-04-10T00:00:00.000Z, + "orderId": "CA-2017-135069", + "rowId": 7425, }, Object { - "orderDate": 2020-12-01T00:00:00.000Z, - "totalQuantity": 22, - "totalQuantityPriorMonth": 43, + "SUM(a.cnt)": "1", + "orderDate": 2020-05-27T00:00:00.000Z, + "orderId": "US-2017-132297", + "rowId": 3083, }, -] -`; - -exports[`Queries with the @cubejs-backend/pinot-driver Tesseract: querying BigECommerce with Retail Calendar: totalCountRetailMonthAgo 1`] = ` -Array [ Object { - "BigECommerce.count": "1", - "BigECommerce.totalCountRetailMonthAgo": "1", - "RetailCalendar.retail_date": "2020-02-01T00:00:00.000", - "RetailCalendar.retail_date.month": "2020-02-01T00:00:00.000", + "SUM(a.cnt)": "1", + "orderDate": 2020-09-23T00:00:00.000Z, + "orderId": "CA-2017-138422", + "rowId": 2329, }, Object { - "BigECommerce.count": "2", - "BigECommerce.totalCountRetailMonthAgo": "1", - "RetailCalendar.retail_date": "2020-03-01T00:00:00.000", - "RetailCalendar.retail_date.month": "2020-03-01T00:00:00.000", + "SUM(a.cnt)": "1", + "orderDate": 2020-06-25T00:00:00.000Z, + "orderId": "CA-2017-133648", + "rowId": 1995, }, Object { - "BigECommerce.count": "1", - "BigECommerce.totalCountRetailMonthAgo": "2", - "RetailCalendar.retail_date": "2020-04-01T00:00:00.000", - "RetailCalendar.retail_date.month": "2020-04-01T00:00:00.000", + "SUM(a.cnt)": "1", + "orderDate": 2020-12-25T00:00:00.000Z, + "orderId": "CA-2017-105620", + "rowId": 8958, }, Object { - "BigECommerce.count": "5", - "BigECommerce.totalCountRetailMonthAgo": "1", - "RetailCalendar.retail_date": "2020-05-01T00:00:00.000", - "RetailCalendar.retail_date.month": "2020-05-01T00:00:00.000", + "SUM(a.cnt)": "1", + "orderDate": 2020-03-26T00:00:00.000Z, + "orderId": "US-2017-141677", + "rowId": 7174, }, Object { - "BigECommerce.count": "7", - "BigECommerce.totalCountRetailMonthAgo": "5", - "RetailCalendar.retail_date": "2020-06-01T00:00:00.000", - "RetailCalendar.retail_date.month": "2020-06-01T00:00:00.000", + "SUM(a.cnt)": "1", + "orderDate": 2020-09-02T00:00:00.000Z, + "orderId": "CA-2017-123001", + "rowId": 3934, }, Object { - "BigECommerce.count": null, - "BigECommerce.totalCountRetailMonthAgo": "7", - "RetailCalendar.retail_date": "2020-07-01T00:00:00.000", - "RetailCalendar.retail_date.month": "2020-07-01T00:00:00.000", + "SUM(a.cnt)": "1", + "orderDate": 2020-09-08T00:00:00.000Z, + "orderId": "US-2017-124779", + "rowId": 6651, }, Object { - "BigECommerce.count": "6", - "BigECommerce.totalCountRetailMonthAgo": null, - "RetailCalendar.retail_date": "2020-09-01T00:00:00.000", - "RetailCalendar.retail_date.month": "2020-09-01T00:00:00.000", + "SUM(a.cnt)": "1", + "orderDate": 2020-01-01T00:00:00.000Z, + "orderId": "CA-2017-107503", + "rowId": 849, }, Object { - "BigECommerce.count": "4", - "BigECommerce.totalCountRetailMonthAgo": "6", - "RetailCalendar.retail_date": "2020-10-01T00:00:00.000", - "RetailCalendar.retail_date.month": "2020-10-01T00:00:00.000", + "SUM(a.cnt)": "1", + "orderDate": 2020-12-24T00:00:00.000Z, + "orderId": "CA-2017-124296", + "rowId": 4031, }, Object { - "BigECommerce.count": "9", - "BigECommerce.totalCountRetailMonthAgo": "5", - "RetailCalendar.retail_date": "2020-11-01T00:00:00.000", - "RetailCalendar.retail_date.month": "2020-11-01T00:00:00.000", + "SUM(a.cnt)": "1", + "orderDate": 2020-06-11T00:00:00.000Z, + "orderId": "CA-2017-102554", + "rowId": 3448, }, Object { - "BigECommerce.count": "7", - "BigECommerce.totalCountRetailMonthAgo": "8", - "RetailCalendar.retail_date": "2020-12-01T00:00:00.000", - "RetailCalendar.retail_date.month": "2020-12-01T00:00:00.000", + "SUM(a.cnt)": "1", + "orderDate": 2020-06-25T00:00:00.000Z, + "orderId": "CA-2017-116127", + "rowId": 9584, }, Object { - "BigECommerce.count": null, - "BigECommerce.totalCountRetailMonthAgo": "7", - "RetailCalendar.retail_date": "2021-01-01T00:00:00.000", - "RetailCalendar.retail_date.month": "2021-01-01T00:00:00.000", + "SUM(a.cnt)": "1", + "orderDate": 2020-11-16T00:00:00.000Z, + "orderId": "CA-2017-160633", + "rowId": 9618, }, -] -`; - -exports[`Queries with the @cubejs-backend/pinot-driver pre-aggregations Customers: running total without time dimension 1`] = ` -Array [ Object { - "Customers.runningTotal": "41", + "SUM(a.cnt)": "1", + "orderDate": 2020-11-02T00:00:00.000Z, + "orderId": "CA-2017-143567", + "rowId": 4882, }, -] -`; - -exports[`Queries with the @cubejs-backend/pinot-driver querying BigECommerce with Retail Calendar: totalCountRetailYearAgo 1`] = ` -Array [ Object { - "BigECommerce.count": "42", - "BigECommerce.totalCountRetailYearAgo": "2", - "RetailCalendar.retail_date": "2020-02-02T00:00:00.000", - "RetailCalendar.retail_date.year": "2020-02-02T00:00:00.000", + "SUM(a.cnt)": "1", + "orderDate": 2020-12-14T00:00:00.000Z, + "orderId": "CA-2017-151799", + "rowId": 7698, }, -] -`; - -exports[`Queries with the @cubejs-backend/pinot-driver querying BigECommerce: filtering with possible casts 1`] = ` -Array [ Object { - "BigECommerce.orderDate": "2020-01-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", - "BigECommerce.totalSales": "48.896", + "SUM(a.cnt)": "1", + "orderDate": 2020-11-11T00:00:00.000Z, + "orderId": "CA-2017-120327", + "rowId": 4227, }, Object { - "BigECommerce.orderDate": "2020-12-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", - "BigECommerce.totalSales": "232.88", + "SUM(a.cnt)": "1", + "orderDate": 2020-05-14T00:00:00.000Z, + "orderId": "CA-2017-115546", + "rowId": 4161, }, -] -`; - -exports[`Queries with the @cubejs-backend/pinot-driver querying BigECommerce: multi-stage group by time dimension 1`] = ` -Array [ Object { - "BigECommerce.orderDate": "2020-01-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", - "BigECommerce.orderDate.quarter": "2020-01-01T00:00:00.000", - "BigECommerce.totalProfit": "29.6548", - "BigECommerce.totalProfitForQuarter": "619.4485000000001", + "SUM(a.cnt)": "1", + "orderDate": 2020-09-01T00:00:00.000Z, + "orderId": "CA-2017-145653", + "rowId": 5220, }, Object { - "BigECommerce.orderDate": "2020-02-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", - "BigECommerce.orderDate.quarter": "2020-01-01T00:00:00.000", - "BigECommerce.totalProfit": "6.1992", - "BigECommerce.totalProfitForQuarter": "619.4485000000001", + "SUM(a.cnt)": "1", + "orderDate": 2020-11-06T00:00:00.000Z, + "orderId": "US-2017-119319", + "rowId": 8621, }, Object { - "BigECommerce.orderDate": "2020-03-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", - "BigECommerce.orderDate.quarter": "2020-01-01T00:00:00.000", - "BigECommerce.totalProfit": "583.5945", - "BigECommerce.totalProfitForQuarter": "619.4485000000001", + "SUM(a.cnt)": "1", + "orderDate": 2020-11-05T00:00:00.000Z, + "orderId": "CA-2017-102925", + "rowId": 9473, }, Object { - "BigECommerce.orderDate": "2020-04-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", - "BigECommerce.orderDate.quarter": "2020-04-01T00:00:00.000", - "BigECommerce.totalProfit": "6.4176", - "BigECommerce.totalProfitForQuarter": "394.33860000000004", + "SUM(a.cnt)": "1", + "orderDate": 2020-12-01T00:00:00.000Z, + "orderId": "CA-2017-145660", + "rowId": 6205, }, Object { - "BigECommerce.orderDate": "2020-05-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", - "BigECommerce.orderDate.quarter": "2020-04-01T00:00:00.000", - "BigECommerce.totalProfit": "353.6849", - "BigECommerce.totalProfitForQuarter": "394.33860000000004", + "SUM(a.cnt)": "1", + "orderDate": 2020-06-03T00:00:00.000Z, + "orderId": "CA-2017-145772", + "rowId": 6125, }, Object { - "BigECommerce.orderDate": "2020-06-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", - "BigECommerce.orderDate.quarter": "2020-04-01T00:00:00.000", - "BigECommerce.totalProfit": "34.2361", - "BigECommerce.totalProfitForQuarter": "394.33860000000004", + "SUM(a.cnt)": "1", + "orderDate": 2020-11-12T00:00:00.000Z, + "orderId": "CA-2017-134915", + "rowId": 2952, }, Object { - "BigECommerce.orderDate": "2020-09-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", - "BigECommerce.orderDate.quarter": "2020-07-01T00:00:00.000", - "BigECommerce.totalProfit": "461.1332", - "BigECommerce.totalProfitForQuarter": "461.1332", + "SUM(a.cnt)": "1", + "orderDate": 2020-10-19T00:00:00.000Z, + "orderId": "CA-2017-131492", + "rowId": 3060, }, Object { - "BigECommerce.orderDate": "2020-10-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", - "BigECommerce.orderDate.quarter": "2020-10-01T00:00:00.000", - "BigECommerce.totalProfit": "139.997", - "BigECommerce.totalProfitForQuarter": "1576.6324", + "SUM(a.cnt)": "1", + "orderDate": 2020-11-28T00:00:00.000Z, + "orderId": "CA-2017-123372", + "rowId": 2661, }, Object { - "BigECommerce.orderDate": "2020-11-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", - "BigECommerce.orderDate.quarter": "2020-10-01T00:00:00.000", - "BigECommerce.totalProfit": "1132.6616999999999", - "BigECommerce.totalProfitForQuarter": "1576.6324", + "SUM(a.cnt)": "1", + "orderDate": 2020-05-13T00:00:00.000Z, + "orderId": "CA-2017-149048", + "rowId": 2595, }, Object { - "BigECommerce.orderDate": "2020-12-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", - "BigECommerce.orderDate.quarter": "2020-10-01T00:00:00.000", - "BigECommerce.totalProfit": "303.97370000000006", - "BigECommerce.totalProfitForQuarter": "1576.6324", + "SUM(a.cnt)": "1", + "orderDate": 2020-02-16T00:00:00.000Z, + "orderId": "CA-2017-163265", + "rowId": 8673, }, -] -`; - -exports[`Queries with the @cubejs-backend/pinot-driver querying BigECommerce: null boolean 1`] = ` -Array [ Object { - "BigECommerce.returning": null, + "SUM(a.cnt)": "1", + "orderDate": 2020-10-19T00:00:00.000Z, + "orderId": "CA-2017-131492", + "rowId": 3059, }, -] -`; - -exports[`Queries with the @cubejs-backend/pinot-driver querying BigECommerce: null sum 1`] = ` -Array [ Object { - "BigECommerce.totalSales": null, + "SUM(a.cnt)": "1", + "orderDate": 2020-05-14T00:00:00.000Z, + "orderId": "US-2017-133361", + "rowId": 6459, + }, + Object { + "SUM(a.cnt)": "1", + "orderDate": 2020-12-04T00:00:00.000Z, + "orderId": "CA-2017-109183", + "rowId": 7293, + }, + Object { + "SUM(a.cnt)": "1", + "orderDate": 2020-11-16T00:00:00.000Z, + "orderId": "CA-2017-160633", + "rowId": 9619, + }, + Object { + "SUM(a.cnt)": "1", + "orderDate": 2020-09-17T00:00:00.000Z, + "orderId": "CA-2017-126928", + "rowId": 8878, }, ] `; -exports[`Queries with the @cubejs-backend/pinot-driver querying BigECommerce: partitioned pre-agg 1`] = ` +exports[`Queries with the @cubejs-backend/pinot-driver SQL API: Nested Rollup with aliases 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.cnt)": "1", + "date": 2020-10-30T00:00:00.000Z, + "order": "CA-2017-139661", + "row": 1494, }, 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.cnt)": "1", + "date": 2020-12-02T00:00:00.000Z, + "order": "CA-2017-102379", + "row": 6272, }, 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.cnt)": "1", + "date": 2020-06-10T00:00:00.000Z, + "order": "CA-2017-112172", + "row": 7310, }, 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.cnt)": "1", + "date": 2020-06-15T00:00:00.000Z, + "order": "CA-2017-119284", + "row": 8697, }, 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.cnt)": "1", + "date": 2020-05-29T00:00:00.000Z, + "order": "CA-2017-144568", + "row": 3717, }, 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.cnt)": "1", + "date": 2020-09-17T00:00:00.000Z, + "order": "CA-2017-112515", + "row": 2655, }, 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.cnt)": "1", + "date": 2020-12-14T00:00:00.000Z, + "order": "CA-2017-147333", + "row": 5277, }, 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.cnt)": "1", + "date": 2020-10-12T00:00:00.000Z, + "order": "CA-2017-150091", + "row": 8425, }, 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.cnt)": "1", + "date": 2020-06-17T00:00:00.000Z, + "order": "CA-2017-118437", + "row": 1013, }, 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.cnt)": "1", + "date": 2020-11-21T00:00:00.000Z, + "order": "CA-2017-100811", + "row": 4012, }, 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.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": "DMI Eclipse Executive Suite Bookcases", - "BigECommerce.totalQuantity": "1", + "SUM(a.cnt)": "1", + "date": 2020-03-17T00:00:00.000Z, + "order": "CA-2017-140949", + "row": 2455, }, 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-04-10T00:00:00.000Z, + "order": "CA-2017-135069", + "row": 7425, }, 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": 2020-05-27T00:00:00.000Z, + "order": "US-2017-132297", + "row": 3083, }, 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": 2020-09-23T00:00:00.000Z, + "order": "CA-2017-138422", + "row": 2329, }, 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-06-25T00:00:00.000Z, + "order": "CA-2017-133648", + "row": 1995, }, 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": 2020-12-25T00:00:00.000Z, + "order": "CA-2017-105620", + "row": 8958, }, 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": 2020-03-26T00:00:00.000Z, + "order": "US-2017-141677", + "row": 7174, }, 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-09-02T00:00:00.000Z, + "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.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", - "BigECommerce.totalQuantity": "4", + "SUM(a.cnt)": "1", + "date": 2020-09-08T00:00:00.000Z, + "order": "US-2017-124779", + "row": 6651, }, 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": 2020-01-01T00:00:00.000Z, + "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": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", - "BigECommerce.totalQuantity": "5", + "SUM(a.cnt)": "1", + "date": 2020-12-24T00:00:00.000Z, + "order": "CA-2017-124296", + "row": 4031, }, 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": 2020-06-11T00:00:00.000Z, + "order": "CA-2017-102554", + "row": 3448, }, 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": 2020-06-25T00:00:00.000Z, + "order": "CA-2017-116127", + "row": 9584, }, 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-11-16T00:00:00.000Z, + "order": "CA-2017-160633", + "row": 9618, }, 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": 2020-11-02T00:00:00.000Z, + "order": "CA-2017-143567", + "row": 4882, }, 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": 2020-12-14T00:00:00.000Z, + "order": "CA-2017-151799", + "row": 7698, }, 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-11-11T00:00:00.000Z, + "order": "CA-2017-120327", + "row": 4227, }, 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": 2020-05-14T00:00:00.000Z, + "order": "CA-2017-115546", + "row": 4161, }, 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": 2020-09-01T00:00:00.000Z, + "order": "CA-2017-145653", + "row": 5220, }, 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-11-06T00:00:00.000Z, + "order": "US-2017-119319", + "row": 8621, }, 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": 2020-11-05T00:00:00.000Z, + "order": "CA-2017-102925", + "row": 9473, }, 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": 2020-12-01T00:00:00.000Z, + "order": "CA-2017-145660", + "row": 6205, }, 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-06-03T00:00:00.000Z, + "order": "CA-2017-145772", + "row": 6125, }, 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": 2020-11-12T00:00:00.000Z, + "order": "CA-2017-134915", + "row": 2952, }, 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": 2020-10-19T00:00:00.000Z, + "order": "CA-2017-131492", + "row": 3060, }, 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-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": "Kingston Digital DataTraveler 16GB USB 2.0", - "BigECommerce.totalQuantity": "5", + "SUM(a.cnt)": "1", + "date": 2020-05-13T00:00:00.000Z, + "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": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", - "BigECommerce.totalQuantity": "2", + "SUM(a.cnt)": "1", + "date": 2020-02-16T00:00:00.000Z, + "order": "CA-2017-163265", + "row": 8673, }, 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-10-19T00:00:00.000Z, + "order": "CA-2017-131492", + "row": 3059, }, 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": 2020-05-14T00:00:00.000Z, + "order": "US-2017-133361", + "row": 6459, }, 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": 2020-12-04T00:00:00.000Z, + "order": "CA-2017-109183", + "row": 7293, + }, + Object { + "SUM(a.cnt)": "1", + "date": 2020-11-16T00:00:00.000Z, + "order": "CA-2017-160633", + "row": 9619, + }, + Object { + "SUM(a.cnt)": "1", + "date": 2020-09-17T00:00:00.000Z, + "order": "CA-2017-126928", + "row": 8878, }, ] `; -exports[`Queries with the @cubejs-backend/pinot-driver querying BigECommerce: partitioned pre-agg with multi time dimension 1`] = ` +exports[`Queries with the @cubejs-backend/pinot-driver SQL API: Rolling Window YTD (year + month + day + date_trunc IN) 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", + "orderDateD": 2020-01-01T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", }, 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", + "orderDateD": 2020-01-02T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", }, 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", + "orderDateD": 2020-01-03T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", }, 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", + "orderDateD": 2020-01-04T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", }, 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", + "orderDateD": 2020-01-05T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", }, 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", + "orderDateD": 2020-01-06T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", }, 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", + "orderDateD": 2020-01-07T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", }, 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", + "orderDateD": 2020-01-08T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", }, 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", + "orderDateD": 2020-01-09T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", }, 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", + "orderDateD": 2020-01-10T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", }, 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", + "orderDateD": 2020-01-11T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", }, 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", + "orderDateD": 2020-01-12T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", }, 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", + "orderDateD": 2020-01-13T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", }, 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", + "orderDateD": 2020-01-14T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", }, 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", + "orderDateD": 2020-01-15T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", }, 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", + "orderDateD": 2020-01-16T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", }, 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", + "orderDateD": 2020-01-17T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", }, 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", + "orderDateD": 2020-01-18T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", }, 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", + "orderDateD": 2020-01-19T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", }, 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", + "orderDateD": 2020-01-20T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", }, 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", + "orderDateD": 2020-01-21T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", }, 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", + "orderDateD": 2020-01-22T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", }, 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", + "orderDateD": 2020-01-23T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", }, 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", + "orderDateD": 2020-01-24T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", }, 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", + "orderDateD": 2020-01-25T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", }, 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", + "orderDateD": 2020-01-26T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", }, 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", + "orderDateD": 2020-01-27T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", }, 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", + "orderDateD": 2020-01-28T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", }, 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", + "orderDateD": 2020-01-29T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", }, 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", + "orderDateD": 2020-01-30T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", }, 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", + "orderDateD": 2020-01-31T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", }, 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", + "orderDateD": 2020-02-01T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", }, 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", + "orderDateD": 2020-02-02T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", }, 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", + "orderDateD": 2020-02-03T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", }, 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", + "orderDateD": 2020-02-04T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", }, 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", + "orderDateD": 2020-02-05T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", }, 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", + "orderDateD": 2020-02-06T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", }, 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", + "orderDateD": 2020-02-07T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", }, -] -`; - -exports[`Queries with the @cubejs-backend/pinot-driver querying BigECommerce: rolling window YTD without granularity 1`] = ` -Array [ Object { - "BigECommerce.rollingCountYTD": "3", + "orderDateD": 2020-02-08T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", }, -] -`; - -exports[`Queries with the @cubejs-backend/pinot-driver querying BigECommerce: totalProfitYearAgo 1`] = `Array []`; - -exports[`Queries with the @cubejs-backend/pinot-driver querying BigECommerce: two multi-stage branches sharing one pre-aggregation 1`] = ` -Array [ Object { - "BigECommerce.orderDate": "2020-01-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", - "BigECommerce.totalProfitNoId": "29.6548", - "BigECommerce.totalProfitNoIdPct": "50", + "orderDateD": 2020-02-09T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", }, Object { - "BigECommerce.orderDate": "2020-02-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", - "BigECommerce.totalProfitNoId": "6.1992", - "BigECommerce.totalProfitNoIdPct": "50", + "orderDateD": 2020-02-10T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", }, Object { - "BigECommerce.orderDate": "2020-03-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", - "BigECommerce.totalProfitNoId": "583.5945", - "BigECommerce.totalProfitNoIdPct": "50", + "orderDateD": 2020-02-11T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", }, Object { - "BigECommerce.orderDate": "2020-04-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", - "BigECommerce.totalProfitNoId": "6.4176", - "BigECommerce.totalProfitNoIdPct": "50", + "orderDateD": 2020-02-12T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", }, Object { - "BigECommerce.orderDate": "2020-05-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", - "BigECommerce.totalProfitNoId": "353.6849", - "BigECommerce.totalProfitNoIdPct": "50", + "orderDateD": 2020-02-13T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", }, Object { - "BigECommerce.orderDate": "2020-06-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", - "BigECommerce.totalProfitNoId": "34.2361", - "BigECommerce.totalProfitNoIdPct": "50", + "orderDateD": 2020-02-14T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", }, Object { - "BigECommerce.orderDate": "2020-09-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", - "BigECommerce.totalProfitNoId": "461.1332", - "BigECommerce.totalProfitNoIdPct": "50", + "orderDateD": 2020-02-15T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", }, Object { - "BigECommerce.orderDate": "2020-10-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", - "BigECommerce.totalProfitNoId": "139.997", - "BigECommerce.totalProfitNoIdPct": "50", + "orderDateD": 2020-02-16T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", }, Object { - "BigECommerce.orderDate": "2020-11-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", - "BigECommerce.totalProfitNoId": "1132.6616999999999", - "BigECommerce.totalProfitNoIdPct": "50", + "orderDateD": 2020-02-17T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", }, Object { - "BigECommerce.orderDate": "2020-12-01T00:00:00.000", - "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", - "BigECommerce.totalProfitNoId": "303.97370000000006", - "BigECommerce.totalProfitNoIdPct": "50", + "orderDateD": 2020-02-18T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", }, -] -`; - -exports[`Queries with the @cubejs-backend/pinot-driver querying Customers: dimensions + limit 1`] = ` -Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "orderDateD": 2020-02-19T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", }, Object { - "Customers.customerId": "AJ-10780", - "Customers.customerName": "Customer 2", + "orderDateD": 2020-02-20T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", }, Object { - "Customers.customerId": "AS-10225", - "Customers.customerName": "Customer 3", + "orderDateD": 2020-02-21T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", }, Object { - "Customers.customerId": "AW-10840", - "Customers.customerName": "Customer 4", + "orderDateD": 2020-02-22T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", }, Object { - "Customers.customerId": "BB-11545", - "Customers.customerName": "Customer 5", + "orderDateD": 2020-02-23T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", }, Object { - "Customers.customerId": "BF-11020", - "Customers.customerName": "Customer 6", + "orderDateD": 2020-02-24T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", }, Object { - "Customers.customerId": "BF-11170", - "Customers.customerName": "Customer 7", + "orderDateD": 2020-02-25T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", }, Object { - "Customers.customerId": "BM-11650", - "Customers.customerName": "Customer 8", + "orderDateD": 2020-02-26T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", }, Object { - "Customers.customerId": "BS-11380", - "Customers.customerName": "Customer 9", + "orderDateD": 2020-02-27T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "orderDateD": 2020-02-28T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", }, -] -`; - -exports[`Queries with the @cubejs-backend/pinot-driver querying Customers: dimensions + order + limit + total 1`] = ` -Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "orderDateD": 2020-02-29T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "orderDateD": 2020-03-01T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", }, Object { - "Customers.customerId": "CA-12775", - "Customers.customerName": "Customer 11", + "orderDateD": 2020-03-02T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", }, Object { - "Customers.customerId": "CC-12475", - "Customers.customerName": "Customer 12", + "orderDateD": 2020-03-03T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", }, Object { - "Customers.customerId": "CD-12280", - "Customers.customerName": "Customer 13", + "orderDateD": 2020-03-04T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", }, Object { - "Customers.customerId": "CS-12355", - "Customers.customerName": "Customer 14", + "orderDateD": 2020-03-05T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", }, Object { - "Customers.customerId": "DB-13405", - "Customers.customerName": "Customer 15", + "orderDateD": 2020-03-06T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", }, Object { - "Customers.customerId": "DG-13300", - "Customers.customerName": "Customer 16", + "orderDateD": 2020-03-07T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", }, Object { - "Customers.customerId": "DW-13480", - "Customers.customerName": "Customer 17", + "orderDateD": 2020-03-08T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", }, Object { - "Customers.customerId": "EM-14140", - "Customers.customerName": "Customer 18", + "orderDateD": 2020-03-09T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", }, -] -`; - -exports[`Queries with the @cubejs-backend/pinot-driver querying Customers: dimensions + order 1`] = ` -Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "orderDateD": 2020-03-10T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", }, Object { - "Customers.customerId": "AJ-10780", - "Customers.customerName": "Customer 2", + "orderDateD": 2020-03-11T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", }, Object { - "Customers.customerId": "AS-10225", - "Customers.customerName": "Customer 3", + "orderDateD": 2020-03-12T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", }, Object { - "Customers.customerId": "AW-10840", - "Customers.customerName": "Customer 4", + "orderDateD": 2020-03-13T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", }, Object { - "Customers.customerId": "BB-11545", - "Customers.customerName": "Customer 5", + "orderDateD": 2020-03-14T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", }, Object { - "Customers.customerId": "BF-11020", - "Customers.customerName": "Customer 6", + "orderDateD": 2020-03-15T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", }, Object { - "Customers.customerId": "BF-11170", - "Customers.customerName": "Customer 7", + "orderDateD": 2020-03-16T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", }, Object { - "Customers.customerId": "BM-11650", - "Customers.customerName": "Customer 8", + "orderDateD": 2020-03-17T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "4", }, Object { - "Customers.customerId": "BS-11380", - "Customers.customerName": "Customer 9", + "orderDateD": 2020-03-18T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "4", }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "orderDateD": 2020-03-19T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "4", }, Object { - "Customers.customerId": "CA-12775", - "Customers.customerName": "Customer 11", + "orderDateD": 2020-03-20T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "4", }, Object { - "Customers.customerId": "CC-12475", - "Customers.customerName": "Customer 12", + "orderDateD": 2020-03-21T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "4", }, Object { - "Customers.customerId": "CD-12280", - "Customers.customerName": "Customer 13", + "orderDateD": 2020-03-22T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "4", }, Object { - "Customers.customerId": "CS-12355", - "Customers.customerName": "Customer 14", + "orderDateD": 2020-03-23T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "4", }, Object { - "Customers.customerId": "DB-13405", - "Customers.customerName": "Customer 15", + "orderDateD": 2020-03-24T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "4", }, Object { - "Customers.customerId": "DG-13300", - "Customers.customerName": "Customer 16", + "orderDateD": 2020-03-25T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "4", }, Object { - "Customers.customerId": "DW-13480", - "Customers.customerName": "Customer 17", + "orderDateD": 2020-03-26T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "5", }, Object { - "Customers.customerId": "EM-14140", - "Customers.customerName": "Customer 18", + "orderDateD": 2020-03-27T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "5", }, Object { - "Customers.customerId": "GA-14725", - "Customers.customerName": "Customer 19", + "orderDateD": 2020-03-28T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "5", }, Object { - "Customers.customerId": "GZ-14470", - "Customers.customerName": "Customer 20", + "orderDateD": 2020-03-29T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "5", }, Object { - "Customers.customerId": "HH-15010", - "Customers.customerName": "Customer 21", + "orderDateD": 2020-03-30T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "5", }, Object { - "Customers.customerId": "HK-14890", - "Customers.customerName": "Customer 22", + "orderDateD": 2020-03-31T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "5", }, Object { - "Customers.customerId": "JH-15430", - "Customers.customerName": "Customer 23", + "orderDateD": 2020-04-01T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "5", }, Object { - "Customers.customerId": "JO-15550", - "Customers.customerName": "Customer 24", + "orderDateD": 2020-04-02T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "5", }, Object { - "Customers.customerId": "JS-16030", - "Customers.customerName": "Customer 25", + "orderDateD": 2020-04-03T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "5", }, Object { - "Customers.customerId": "JW-15220", - "Customers.customerName": "Customer 26", + "orderDateD": 2020-04-04T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "5", }, Object { - "Customers.customerId": "KL-16555", - "Customers.customerName": "Customer 27", + "orderDateD": 2020-04-05T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "5", }, Object { - "Customers.customerId": "KN-16705", - "Customers.customerName": "Customer 28", + "orderDateD": 2020-04-06T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "5", }, Object { - "Customers.customerId": "LC-17050", - "Customers.customerName": "Customer 29", + "orderDateD": 2020-04-07T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "5", }, Object { - "Customers.customerId": "LR-16915", - "Customers.customerName": "Customer 30", + "orderDateD": 2020-04-08T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "5", }, Object { - "Customers.customerId": "MC-17605", - "Customers.customerName": "Customer 31", + "orderDateD": 2020-04-09T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "5", }, Object { - "Customers.customerId": "MG-17650", - "Customers.customerName": "Customer 32", + "orderDateD": 2020-04-10T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", }, Object { - "Customers.customerId": "ML-17755", - "Customers.customerName": "Customer 33", + "orderDateD": 2020-04-11T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", }, Object { - "Customers.customerId": "MM-18280", - "Customers.customerName": "Customer 34", + "orderDateD": 2020-04-12T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", }, Object { - "Customers.customerId": "NP-18670", - "Customers.customerName": "Customer 35", + "orderDateD": 2020-04-13T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", }, Object { - "Customers.customerId": "PF-19165", - "Customers.customerName": "Customer 36", + "orderDateD": 2020-04-14T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", }, Object { - "Customers.customerId": "SB-20185", - "Customers.customerName": "Customer 37", + "orderDateD": 2020-04-15T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", }, Object { - "Customers.customerId": "SS-20140", - "Customers.customerName": "Customer 38", + "orderDateD": 2020-04-16T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", }, Object { - "Customers.customerId": "TB-21175", - "Customers.customerName": "Customer 39", + "orderDateD": 2020-04-17T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", }, Object { - "Customers.customerId": "TS-21205", - "Customers.customerName": "Customer 40", + "orderDateD": 2020-04-18T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", }, Object { - "Customers.customerId": "WB-21850", - "Customers.customerName": "Customer 41", + "orderDateD": 2020-04-19T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", }, -] -`; - -exports[`Queries with the @cubejs-backend/pinot-driver querying Customers: dimensions + total 1`] = ` -Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "orderDateD": 2020-04-20T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", }, Object { - "Customers.customerId": "AJ-10780", - "Customers.customerName": "Customer 2", + "orderDateD": 2020-04-21T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", }, Object { - "Customers.customerId": "AS-10225", - "Customers.customerName": "Customer 3", + "orderDateD": 2020-04-22T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", }, Object { - "Customers.customerId": "AW-10840", - "Customers.customerName": "Customer 4", + "orderDateD": 2020-04-23T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", }, Object { - "Customers.customerId": "BB-11545", - "Customers.customerName": "Customer 5", + "orderDateD": 2020-04-24T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", }, Object { - "Customers.customerId": "BF-11020", - "Customers.customerName": "Customer 6", + "orderDateD": 2020-04-25T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", }, Object { - "Customers.customerId": "BF-11170", - "Customers.customerName": "Customer 7", + "orderDateD": 2020-04-26T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", }, Object { - "Customers.customerId": "BM-11650", - "Customers.customerName": "Customer 8", + "orderDateD": 2020-04-27T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", }, Object { - "Customers.customerId": "BS-11380", - "Customers.customerName": "Customer 9", + "orderDateD": 2020-04-28T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "orderDateD": 2020-04-29T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", }, Object { - "Customers.customerId": "CA-12775", - "Customers.customerName": "Customer 11", + "orderDateD": 2020-04-30T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", }, Object { - "Customers.customerId": "CC-12475", - "Customers.customerName": "Customer 12", + "orderDateD": 2020-05-01T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", }, Object { - "Customers.customerId": "CD-12280", - "Customers.customerName": "Customer 13", + "orderDateD": 2020-05-02T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", }, Object { - "Customers.customerId": "CS-12355", - "Customers.customerName": "Customer 14", + "orderDateD": 2020-05-03T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", }, Object { - "Customers.customerId": "DB-13405", - "Customers.customerName": "Customer 15", + "orderDateD": 2020-05-04T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", }, Object { - "Customers.customerId": "DG-13300", - "Customers.customerName": "Customer 16", + "orderDateD": 2020-05-05T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", }, Object { - "Customers.customerId": "DW-13480", - "Customers.customerName": "Customer 17", + "orderDateD": 2020-05-06T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", }, Object { - "Customers.customerId": "EM-14140", - "Customers.customerName": "Customer 18", + "orderDateD": 2020-05-07T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", }, Object { - "Customers.customerId": "GA-14725", - "Customers.customerName": "Customer 19", + "orderDateD": 2020-05-08T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", }, Object { - "Customers.customerId": "GZ-14470", - "Customers.customerName": "Customer 20", + "orderDateD": 2020-05-09T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", }, Object { - "Customers.customerId": "HH-15010", - "Customers.customerName": "Customer 21", + "orderDateD": 2020-05-10T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", }, Object { - "Customers.customerId": "HK-14890", - "Customers.customerName": "Customer 22", + "orderDateD": 2020-05-11T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", }, Object { - "Customers.customerId": "JH-15430", - "Customers.customerName": "Customer 23", + "orderDateD": 2020-05-12T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", }, Object { - "Customers.customerId": "JO-15550", - "Customers.customerName": "Customer 24", + "orderDateD": 2020-05-13T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "7", }, Object { - "Customers.customerId": "JS-16030", - "Customers.customerName": "Customer 25", + "orderDateD": 2020-05-14T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "9", }, Object { - "Customers.customerId": "JW-15220", - "Customers.customerName": "Customer 26", + "orderDateD": 2020-05-15T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "9", }, Object { - "Customers.customerId": "KL-16555", - "Customers.customerName": "Customer 27", + "orderDateD": 2020-05-16T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "9", }, Object { - "Customers.customerId": "KN-16705", - "Customers.customerName": "Customer 28", + "orderDateD": 2020-05-17T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "9", }, Object { - "Customers.customerId": "LC-17050", - "Customers.customerName": "Customer 29", + "orderDateD": 2020-05-18T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "9", }, Object { - "Customers.customerId": "LR-16915", - "Customers.customerName": "Customer 30", + "orderDateD": 2020-05-19T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "9", }, Object { - "Customers.customerId": "MC-17605", - "Customers.customerName": "Customer 31", + "orderDateD": 2020-05-20T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "9", }, Object { - "Customers.customerId": "MG-17650", - "Customers.customerName": "Customer 32", + "orderDateD": 2020-05-21T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "9", }, Object { - "Customers.customerId": "ML-17755", - "Customers.customerName": "Customer 33", + "orderDateD": 2020-05-22T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "9", }, Object { - "Customers.customerId": "MM-18280", - "Customers.customerName": "Customer 34", + "orderDateD": 2020-05-23T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "9", }, Object { - "Customers.customerId": "NP-18670", - "Customers.customerName": "Customer 35", + "orderDateD": 2020-05-24T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "9", }, Object { - "Customers.customerId": "PF-19165", - "Customers.customerName": "Customer 36", + "orderDateD": 2020-05-25T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "9", }, Object { - "Customers.customerId": "SB-20185", - "Customers.customerName": "Customer 37", + "orderDateD": 2020-05-26T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "9", }, Object { - "Customers.customerId": "SS-20140", - "Customers.customerName": "Customer 38", + "orderDateD": 2020-05-27T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "10", }, Object { - "Customers.customerId": "TB-21175", - "Customers.customerName": "Customer 39", + "orderDateD": 2020-05-28T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "10", }, Object { - "Customers.customerId": "TS-21205", - "Customers.customerName": "Customer 40", + "orderDateD": 2020-05-29T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "11", }, Object { - "Customers.customerId": "WB-21850", - "Customers.customerName": "Customer 41", + "orderDateD": 2020-05-30T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "11", }, -] -`; - -exports[`Queries with the @cubejs-backend/pinot-driver querying Customers: dimensions 1`] = ` -Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "orderDateD": 2020-05-31T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "11", }, Object { - "Customers.customerId": "AJ-10780", - "Customers.customerName": "Customer 2", + "orderDateD": 2020-06-01T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "11", }, Object { - "Customers.customerId": "AS-10225", - "Customers.customerName": "Customer 3", + "orderDateD": 2020-06-02T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "11", }, Object { - "Customers.customerId": "AW-10840", - "Customers.customerName": "Customer 4", + "orderDateD": 2020-06-03T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "12", }, Object { - "Customers.customerId": "BB-11545", - "Customers.customerName": "Customer 5", + "orderDateD": 2020-06-04T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "12", }, Object { - "Customers.customerId": "BF-11020", - "Customers.customerName": "Customer 6", + "orderDateD": 2020-06-05T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "12", }, Object { - "Customers.customerId": "BF-11170", - "Customers.customerName": "Customer 7", + "orderDateD": 2020-06-06T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "12", }, Object { - "Customers.customerId": "BM-11650", - "Customers.customerName": "Customer 8", + "orderDateD": 2020-06-07T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "12", }, Object { - "Customers.customerId": "BS-11380", - "Customers.customerName": "Customer 9", + "orderDateD": 2020-06-08T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "12", }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "orderDateD": 2020-06-09T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "12", }, Object { - "Customers.customerId": "CA-12775", - "Customers.customerName": "Customer 11", + "orderDateD": 2020-06-10T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "13", }, Object { - "Customers.customerId": "CC-12475", - "Customers.customerName": "Customer 12", + "orderDateD": 2020-06-11T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "14", }, Object { - "Customers.customerId": "CD-12280", - "Customers.customerName": "Customer 13", + "orderDateD": 2020-06-12T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "14", }, Object { - "Customers.customerId": "CS-12355", - "Customers.customerName": "Customer 14", + "orderDateD": 2020-06-13T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "14", }, Object { - "Customers.customerId": "DB-13405", - "Customers.customerName": "Customer 15", + "orderDateD": 2020-06-14T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "14", }, Object { - "Customers.customerId": "DG-13300", - "Customers.customerName": "Customer 16", + "orderDateD": 2020-06-15T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "15", }, Object { - "Customers.customerId": "DW-13480", - "Customers.customerName": "Customer 17", + "orderDateD": 2020-06-16T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "15", }, Object { - "Customers.customerId": "EM-14140", - "Customers.customerName": "Customer 18", + "orderDateD": 2020-06-17T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "16", }, Object { - "Customers.customerId": "GA-14725", - "Customers.customerName": "Customer 19", + "orderDateD": 2020-06-18T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "16", }, Object { - "Customers.customerId": "GZ-14470", - "Customers.customerName": "Customer 20", + "orderDateD": 2020-06-19T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "16", }, Object { - "Customers.customerId": "HH-15010", - "Customers.customerName": "Customer 21", + "orderDateD": 2020-06-20T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "16", }, Object { - "Customers.customerId": "HK-14890", - "Customers.customerName": "Customer 22", + "orderDateD": 2020-06-21T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "16", }, Object { - "Customers.customerId": "JH-15430", - "Customers.customerName": "Customer 23", + "orderDateD": 2020-06-22T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "16", }, Object { - "Customers.customerId": "JO-15550", - "Customers.customerName": "Customer 24", + "orderDateD": 2020-06-23T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "16", }, Object { - "Customers.customerId": "JS-16030", - "Customers.customerName": "Customer 25", + "orderDateD": 2020-06-24T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "16", }, Object { - "Customers.customerId": "JW-15220", - "Customers.customerName": "Customer 26", + "orderDateD": 2020-06-25T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "Customers.customerId": "KL-16555", - "Customers.customerName": "Customer 27", + "orderDateD": 2020-06-26T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "Customers.customerId": "KN-16705", - "Customers.customerName": "Customer 28", + "orderDateD": 2020-06-27T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "Customers.customerId": "LC-17050", - "Customers.customerName": "Customer 29", + "orderDateD": 2020-06-28T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "Customers.customerId": "LR-16915", - "Customers.customerName": "Customer 30", + "orderDateD": 2020-06-29T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "Customers.customerId": "MC-17605", - "Customers.customerName": "Customer 31", + "orderDateD": 2020-06-30T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "Customers.customerId": "MG-17650", - "Customers.customerName": "Customer 32", + "orderDateD": 2020-07-01T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "Customers.customerId": "ML-17755", - "Customers.customerName": "Customer 33", + "orderDateD": 2020-07-02T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "Customers.customerId": "MM-18280", - "Customers.customerName": "Customer 34", + "orderDateD": 2020-07-03T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "Customers.customerId": "NP-18670", - "Customers.customerName": "Customer 35", + "orderDateD": 2020-07-04T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "Customers.customerId": "PF-19165", - "Customers.customerName": "Customer 36", + "orderDateD": 2020-07-05T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "Customers.customerId": "SB-20185", - "Customers.customerName": "Customer 37", + "orderDateD": 2020-07-06T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "Customers.customerId": "SS-20140", - "Customers.customerName": "Customer 38", + "orderDateD": 2020-07-07T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "Customers.customerId": "TB-21175", - "Customers.customerName": "Customer 39", + "orderDateD": 2020-07-08T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "Customers.customerId": "TS-21205", - "Customers.customerName": "Customer 40", + "orderDateD": 2020-07-09T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "Customers.customerId": "WB-21850", - "Customers.customerName": "Customer 41", + "orderDateD": 2020-07-10T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, -] -`; - -exports[`Queries with the @cubejs-backend/pinot-driver querying ECommerce: count by cities + order 1`] = ` -Array [ Object { - "ECommerce.city": "Columbus", - "ECommerce.count": "12", + "orderDateD": 2020-07-11T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.city": "New York City", - "ECommerce.count": "5", + "orderDateD": 2020-07-12T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.city": "Detroit", - "ECommerce.count": "2", + "orderDateD": 2020-07-13T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.city": "Philadelphia", - "ECommerce.count": "2", + "orderDateD": 2020-07-14T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.city": "San Francisco", - "ECommerce.count": "2", + "orderDateD": 2020-07-15T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.city": "Arlington", - "ECommerce.count": "1", + "orderDateD": 2020-07-16T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.city": "Auburn", - "ECommerce.count": "1", + "orderDateD": 2020-07-17T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.city": "Bakersfield", - "ECommerce.count": "1", + "orderDateD": 2020-07-18T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.city": "Baltimore", - "ECommerce.count": "1", + "orderDateD": 2020-07-19T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.city": "Bowling", - "ECommerce.count": "1", + "orderDateD": 2020-07-20T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.city": "Dallas", - "ECommerce.count": "1", + "orderDateD": 2020-07-21T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.city": "Decatur", - "ECommerce.count": "1", + "orderDateD": 2020-07-22T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.city": "Glendale", - "ECommerce.count": "1", + "orderDateD": 2020-07-23T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.city": "Houston", - "ECommerce.count": "1", + "orderDateD": 2020-07-24T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.city": "Lafayette", - "ECommerce.count": "1", + "orderDateD": 2020-07-25T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.city": "Lakewood", - "ECommerce.count": "1", + "orderDateD": 2020-07-26T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.city": "Lorain", - "ECommerce.count": "1", + "orderDateD": 2020-07-27T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.city": "Los Angeles", - "ECommerce.count": "1", + "orderDateD": 2020-07-28T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.city": "Louisville", - "ECommerce.count": "1", + "orderDateD": 2020-07-29T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.city": "Marion", - "ECommerce.count": "1", + "orderDateD": 2020-07-30T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.city": "Morristown", - "ECommerce.count": "1", + "orderDateD": 2020-07-31T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.city": "Oakland", - "ECommerce.count": "1", + "orderDateD": 2020-08-01T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.city": "Olympia", - "ECommerce.count": "1", + "orderDateD": 2020-08-02T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.city": "Omaha", - "ECommerce.count": "1", + "orderDateD": 2020-08-03T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.city": "Provo", - "ECommerce.count": "1", + "orderDateD": 2020-08-04T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.city": "Vancouver", - "ECommerce.count": "1", + "orderDateD": 2020-08-05T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, -] -`; - -exports[`Queries with the @cubejs-backend/pinot-driver querying ECommerce: count by month + order with non-UTC timezone (Asia/Kolkata) 1`] = ` -Array [ Object { - "ECommerce.count": "2", - "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.month": "2020-01-01T00:00:00.000", + "orderDateD": 2020-08-06T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-02-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.month": "2020-02-01T00:00:00.000", + "orderDateD": 2020-08-07T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.count": "2", - "ECommerce.customOrderDateNoPreAgg": "2020-03-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.month": "2020-03-01T00:00:00.000", + "orderDateD": 2020-08-08T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.count": "1", - "ECommerce.customOrderDateNoPreAgg": "2020-04-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.month": "2020-04-01T00:00:00.000", + "orderDateD": 2020-08-09T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.count": "5", - "ECommerce.customOrderDateNoPreAgg": "2020-05-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.month": "2020-05-01T00:00:00.000", + "orderDateD": 2020-08-10T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.count": "7", - "ECommerce.customOrderDateNoPreAgg": "2020-06-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.month": "2020-06-01T00:00:00.000", + "orderDateD": 2020-08-11T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.count": "6", - "ECommerce.customOrderDateNoPreAgg": "2020-09-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.month": "2020-09-01T00:00:00.000", + "orderDateD": 2020-08-12T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.count": "4", - "ECommerce.customOrderDateNoPreAgg": "2020-10-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.month": "2020-10-01T00:00:00.000", + "orderDateD": 2020-08-13T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.count": "9", - "ECommerce.customOrderDateNoPreAgg": "2020-11-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.month": "2020-11-01T00:00:00.000", + "orderDateD": 2020-08-14T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.count": "7", - "ECommerce.customOrderDateNoPreAgg": "2020-12-01T00:00:00.000", - "ECommerce.customOrderDateNoPreAgg.month": "2020-12-01T00:00:00.000", + "orderDateD": 2020-08-15T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, -] -`; - -exports[`Queries with the @cubejs-backend/pinot-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", - "ECommerce.orderDate": "2020-01-23T00:00:00.000", - "ECommerce.orderId": "CA-2017-145142", - "ECommerce.productName": "Balt Solid Wood Rectangular Table", - "ECommerce.profit": "21.098", - "ECommerce.quantity": "2", - "ECommerce.rowId": "523", - "ECommerce.sales": "210.98", - "ECommerce.subCategory": "Tables", + "orderDateD": 2020-08-16T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, 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", + "orderDateD": 2020-08-17T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Olympia", - "ECommerce.customerId": "PF-19165", - "ECommerce.customerName": "Customer 36", - "ECommerce.discount": "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.03", - "ECommerce.subCategory": "Storage", + "orderDateD": 2020-08-18T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Vancouver", - "ECommerce.customerId": "JW-15220", - "ECommerce.customerName": "Customer 26", - "ECommerce.discount": "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.64", - "ECommerce.subCategory": "Furnishings", + "orderDateD": 2020-08-19T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, 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", + "orderDateD": 2020-08-20T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, 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", + "orderDateD": 2020-08-21T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "New York City", - "ECommerce.customerId": "DB-13405", - "ECommerce.customerName": "Customer 15", - "ECommerce.discount": "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.604", - "ECommerce.quantity": "8", - "ECommerce.rowId": "2455", - "ECommerce.sales": "71.6", - "ECommerce.subCategory": "Accessories", + "orderDateD": 2020-08-22T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "BM-11650", - "ECommerce.customerName": "Customer 8", - "ECommerce.discount": "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.432", - "ECommerce.quantity": "2", - "ECommerce.rowId": "2595", - "ECommerce.sales": "180.96", - "ECommerce.subCategory": "Envelopes", + "orderDateD": 2020-08-23T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Provo", - "ECommerce.customerId": "AS-10225", - "ECommerce.customerName": "Customer 3", - "ECommerce.discount": "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.94", - "ECommerce.subCategory": "Bookcases", + "orderDateD": 2020-08-24T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "DG-13300", - "ECommerce.customerName": "Customer 16", - "ECommerce.discount": "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.89", - "ECommerce.subCategory": "Phones", + "orderDateD": 2020-08-25T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, -] -`; - -exports[`Queries with the @cubejs-backend/pinot-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", - "ECommerce.orderDate": "2020-01-23T00:00:00.000", - "ECommerce.orderId": "CA-2017-145142", - "ECommerce.productName": "Balt Solid Wood Rectangular Table", - "ECommerce.profit": "21.098", - "ECommerce.quantity": "2", - "ECommerce.rowId": "523", - "ECommerce.sales": "210.98", - "ECommerce.subCategory": "Tables", + "orderDateD": 2020-08-26T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, 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", + "orderDateD": 2020-08-27T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Olympia", - "ECommerce.customerId": "PF-19165", - "ECommerce.customerName": "Customer 36", - "ECommerce.discount": "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.03", - "ECommerce.subCategory": "Storage", + "orderDateD": 2020-08-28T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Vancouver", - "ECommerce.customerId": "JW-15220", - "ECommerce.customerName": "Customer 26", - "ECommerce.discount": "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.64", - "ECommerce.subCategory": "Furnishings", + "orderDateD": 2020-08-29T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, 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", + "orderDateD": 2020-08-30T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, 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", + "orderDateD": 2020-08-31T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "New York City", - "ECommerce.customerId": "DB-13405", - "ECommerce.customerName": "Customer 15", - "ECommerce.discount": "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.604", - "ECommerce.quantity": "8", - "ECommerce.rowId": "2455", - "ECommerce.sales": "71.6", - "ECommerce.subCategory": "Accessories", + "orderDateD": 2020-09-01T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "19", }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "BM-11650", - "ECommerce.customerName": "Customer 8", - "ECommerce.discount": "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.432", - "ECommerce.quantity": "2", - "ECommerce.rowId": "2595", - "ECommerce.sales": "180.96", - "ECommerce.subCategory": "Envelopes", + "orderDateD": 2020-09-02T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "20", }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Provo", - "ECommerce.customerId": "AS-10225", - "ECommerce.customerName": "Customer 3", - "ECommerce.discount": "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.94", - "ECommerce.subCategory": "Bookcases", + "orderDateD": 2020-09-03T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "20", }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "DG-13300", - "ECommerce.customerName": "Customer 16", - "ECommerce.discount": "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.89", - "ECommerce.subCategory": "Phones", + "orderDateD": 2020-09-04T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "20", }, -] -`; - -exports[`Queries with the @cubejs-backend/pinot-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", - "ECommerce.orderDate": "2020-01-23T00:00:00.000", - "ECommerce.orderId": "CA-2017-145142", - "ECommerce.productName": "Balt Solid Wood Rectangular Table", - "ECommerce.profit": "21.098", - "ECommerce.quantity": "2", - "ECommerce.rowId": "523", - "ECommerce.sales": "210.98", - "ECommerce.subCategory": "Tables", + "orderDateD": 2020-09-05T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "20", }, 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", + "orderDateD": 2020-09-06T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "20", }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Olympia", - "ECommerce.customerId": "PF-19165", - "ECommerce.customerName": "Customer 36", - "ECommerce.discount": "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.03", - "ECommerce.subCategory": "Storage", + "orderDateD": 2020-09-07T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "20", }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Vancouver", - "ECommerce.customerId": "JW-15220", - "ECommerce.customerName": "Customer 26", - "ECommerce.discount": "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.64", - "ECommerce.subCategory": "Furnishings", + "orderDateD": 2020-09-08T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "21", }, 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", + "orderDateD": 2020-09-09T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "21", }, 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", + "orderDateD": 2020-09-10T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "21", }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "New York City", - "ECommerce.customerId": "DB-13405", - "ECommerce.customerName": "Customer 15", - "ECommerce.discount": "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.604", - "ECommerce.quantity": "8", - "ECommerce.rowId": "2455", - "ECommerce.sales": "71.6", - "ECommerce.subCategory": "Accessories", + "orderDateD": 2020-09-11T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "21", }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "BM-11650", - "ECommerce.customerName": "Customer 8", - "ECommerce.discount": "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.432", - "ECommerce.quantity": "2", - "ECommerce.rowId": "2595", - "ECommerce.sales": "180.96", - "ECommerce.subCategory": "Envelopes", + "orderDateD": 2020-09-12T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "21", }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Provo", - "ECommerce.customerId": "AS-10225", - "ECommerce.customerName": "Customer 3", - "ECommerce.discount": "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.94", - "ECommerce.subCategory": "Bookcases", + "orderDateD": 2020-09-13T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "21", }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "DG-13300", - "ECommerce.customerName": "Customer 16", - "ECommerce.discount": "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.89", - "ECommerce.subCategory": "Phones", + "orderDateD": 2020-09-14T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "21", }, 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", + "orderDateD": 2020-09-15T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "21", }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "San Francisco", - "ECommerce.customerId": "HH-15010", - "ECommerce.customerName": "Customer 21", - "ECommerce.discount": "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.56", - "ECommerce.subCategory": "Furnishings", + "orderDateD": 2020-09-16T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "21", }, 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", + "orderDateD": 2020-09-17T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "23", }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Louisville", - "ECommerce.customerId": "DW-13480", - "ECommerce.customerName": "Customer 17", - "ECommerce.discount": "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.97", - "ECommerce.subCategory": "Phones", + "orderDateD": 2020-09-18T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "23", }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Auburn", - "ECommerce.customerId": "KN-16705", - "ECommerce.customerName": "Customer 28", - "ECommerce.discount": "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.76", - "ECommerce.subCategory": "Art", + "orderDateD": 2020-09-19T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "23", }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Omaha", - "ECommerce.customerId": "JO-15550", - "ECommerce.customerName": "Customer 24", - "ECommerce.discount": "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.55", - "ECommerce.subCategory": "Fasteners", + "orderDateD": 2020-09-20T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "23", }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Bakersfield", - "ECommerce.customerId": "AW-10840", - "ECommerce.customerName": "Customer 4", - "ECommerce.discount": "0", - "ECommerce.orderDate": "2020-09-02T00:00:00.000", - "ECommerce.orderId": "CA-2017-123001", - "ECommerce.productName": "OIC #2 Pencils, Medium Soft", - "ECommerce.profit": "2.726", - "ECommerce.quantity": "5", - "ECommerce.rowId": "3934", - "ECommerce.sales": "9.4", - "ECommerce.subCategory": "Art", + "orderDateD": 2020-09-21T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "23", }, 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", + "orderDateD": 2020-09-22T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "23", }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Lafayette", - "ECommerce.customerId": "CS-12355", - "ECommerce.customerName": "Customer 14", - "ECommerce.discount": "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.88", - "ECommerce.subCategory": "Chairs", + "orderDateD": 2020-09-23T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "New York City", - "ECommerce.customerId": "AH-10465", - "ECommerce.customerName": "Customer 1", - "ECommerce.discount": "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.97", - "ECommerce.subCategory": "Phones", + "orderDateD": 2020-09-24T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "WB-21850", - "ECommerce.customerName": "Customer 41", - "ECommerce.discount": "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.92", - "ECommerce.subCategory": "Fasteners", + "orderDateD": 2020-09-25T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "TB-21175", - "ECommerce.customerName": "Customer 39", - "ECommerce.discount": "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.91", - "ECommerce.subCategory": "Accessories", + "orderDateD": 2020-09-26T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Detroit", - "ECommerce.customerId": "CA-12775", - "ECommerce.customerName": "Customer 11", - "ECommerce.discount": "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.26", - "ECommerce.subCategory": "Chairs", + "orderDateD": 2020-09-27T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "KL-16555", - "ECommerce.customerName": "Customer 27", - "ECommerce.discount": "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.75", - "ECommerce.subCategory": "Accessories", + "orderDateD": 2020-09-28T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Los Angeles", - "ECommerce.customerId": "SS-20140", - "ECommerce.customerName": "Customer 38", - "ECommerce.discount": "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.75", - "ECommerce.subCategory": "Accessories", + "orderDateD": 2020-09-29T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", }, 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", + "orderDateD": 2020-09-30T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Oakland", - "ECommerce.customerId": "BB-11545", - "ECommerce.customerName": "Customer 5", - "ECommerce.discount": "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.975", - "ECommerce.quantity": "5", - "ECommerce.rowId": "6272", - "ECommerce.sales": "179.9", - "ECommerce.subCategory": "Art", + "orderDateD": 2020-10-01T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Baltimore", - "ECommerce.customerId": "AJ-10780", - "ECommerce.customerName": "Customer 2", - "ECommerce.discount": "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.76", - "ECommerce.subCategory": "Art", + "orderDateD": 2020-10-02T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", }, 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.498", - "ECommerce.quantity": "5", - "ECommerce.rowId": "6651", - "ECommerce.sales": "45.92", - "ECommerce.subCategory": "Fasteners", + "orderDateD": 2020-10-03T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", }, 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.96", - "ECommerce.subCategory": "Copiers", + "orderDateD": 2020-10-04T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", }, 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.58", - "ECommerce.quantity": "2", - "ECommerce.rowId": "7293", - "ECommerce.sales": "649", - "ECommerce.subCategory": "Machines", + "orderDateD": 2020-10-05T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "New York City", - "ECommerce.customerId": "MM-18280", - "ECommerce.customerName": "Customer 34", - "ECommerce.discount": "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.13", - "ECommerce.subCategory": "Fasteners", + "orderDateD": 2020-10-06T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", }, 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", + "orderDateD": 2020-10-07T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "BF-11170", - "ECommerce.customerName": "Customer 7", - "ECommerce.discount": "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.98", - "ECommerce.subCategory": "Copiers", + "orderDateD": 2020-10-08T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Lakewood", - "ECommerce.customerId": "NP-18670", - "ECommerce.customerName": "Customer 35", - "ECommerce.discount": "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.294", - "ECommerce.quantity": "5", - "ECommerce.rowId": "8425", - "ECommerce.sales": "2154.9", - "ECommerce.subCategory": "Bookcases", + "orderDateD": 2020-10-09T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", }, 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.864", - "ECommerce.quantity": "5", - "ECommerce.rowId": "8621", - "ECommerce.sales": "30.56", - "ECommerce.subCategory": "Furnishings", + "orderDateD": 2020-10-10T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", }, 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", + "orderDateD": 2020-10-11T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", }, 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", + "orderDateD": 2020-10-12T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "25", }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Morristown", - "ECommerce.customerId": "GZ-14470", - "ECommerce.customerName": "Customer 20", - "ECommerce.discount": "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.6", - "ECommerce.quantity": "4", - "ECommerce.rowId": "8878", - "ECommerce.sales": "480", - "ECommerce.subCategory": "Machines", + "orderDateD": 2020-10-13T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "25", }, 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.2", - "ECommerce.quantity": "2", - "ECommerce.rowId": "8958", - "ECommerce.sales": "120", - "ECommerce.subCategory": "Machines", + "orderDateD": 2020-10-14T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "25", }, 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", + "orderDateD": 2020-10-15T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "25", }, 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", + "orderDateD": 2020-10-16T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "25", }, 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", + "orderDateD": 2020-10-17T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "25", }, 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.397", - "ECommerce.quantity": "3", - "ECommerce.rowId": "9619", - "ECommerce.sales": "86.352", - "ECommerce.subCategory": "Art", + "orderDateD": 2020-10-18T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "25", }, -] -`; - -exports[`Queries with the @cubejs-backend/pinot-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", - "ECommerce.orderDate": "2020-01-23T00:00:00.000", - "ECommerce.orderId": "CA-2017-145142", - "ECommerce.productName": "Balt Solid Wood Rectangular Table", - "ECommerce.profit": "21.098", - "ECommerce.quantity": "2", - "ECommerce.rowId": "523", - "ECommerce.sales": "210.98", - "ECommerce.subCategory": "Tables", + "orderDateD": 2020-10-19T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "27", }, 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", + "orderDateD": 2020-10-20T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "27", }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Olympia", - "ECommerce.customerId": "PF-19165", - "ECommerce.customerName": "Customer 36", - "ECommerce.discount": "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.03", - "ECommerce.subCategory": "Storage", + "orderDateD": 2020-10-21T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "27", }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Vancouver", - "ECommerce.customerId": "JW-15220", - "ECommerce.customerName": "Customer 26", - "ECommerce.discount": "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.64", - "ECommerce.subCategory": "Furnishings", + "orderDateD": 2020-10-22T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "27", }, 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", + "orderDateD": 2020-10-23T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "27", }, 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", + "orderDateD": 2020-10-24T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "27", }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "New York City", - "ECommerce.customerId": "DB-13405", - "ECommerce.customerName": "Customer 15", - "ECommerce.discount": "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.604", - "ECommerce.quantity": "8", - "ECommerce.rowId": "2455", - "ECommerce.sales": "71.6", - "ECommerce.subCategory": "Accessories", + "orderDateD": 2020-10-25T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "27", }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "BM-11650", - "ECommerce.customerName": "Customer 8", - "ECommerce.discount": "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.432", - "ECommerce.quantity": "2", - "ECommerce.rowId": "2595", - "ECommerce.sales": "180.96", - "ECommerce.subCategory": "Envelopes", + "orderDateD": 2020-10-26T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "27", }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Provo", - "ECommerce.customerId": "AS-10225", - "ECommerce.customerName": "Customer 3", - "ECommerce.discount": "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.94", - "ECommerce.subCategory": "Bookcases", + "orderDateD": 2020-10-27T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "27", }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "DG-13300", - "ECommerce.customerName": "Customer 16", - "ECommerce.discount": "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.89", - "ECommerce.subCategory": "Phones", + "orderDateD": 2020-10-28T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "27", }, 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", + "orderDateD": 2020-10-29T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "27", }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "San Francisco", - "ECommerce.customerId": "HH-15010", - "ECommerce.customerName": "Customer 21", - "ECommerce.discount": "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.56", - "ECommerce.subCategory": "Furnishings", + "orderDateD": 2020-10-30T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "28", }, 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", + "orderDateD": 2020-10-31T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "28", }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Louisville", - "ECommerce.customerId": "DW-13480", - "ECommerce.customerName": "Customer 17", - "ECommerce.discount": "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.97", - "ECommerce.subCategory": "Phones", + "orderDateD": 2020-11-01T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "28", }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Auburn", - "ECommerce.customerId": "KN-16705", - "ECommerce.customerName": "Customer 28", - "ECommerce.discount": "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.76", - "ECommerce.subCategory": "Art", + "orderDateD": 2020-11-02T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "29", }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Omaha", - "ECommerce.customerId": "JO-15550", - "ECommerce.customerName": "Customer 24", - "ECommerce.discount": "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.55", - "ECommerce.subCategory": "Fasteners", + "orderDateD": 2020-11-03T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "29", }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Bakersfield", - "ECommerce.customerId": "AW-10840", - "ECommerce.customerName": "Customer 4", - "ECommerce.discount": "0", - "ECommerce.orderDate": "2020-09-02T00:00:00.000", - "ECommerce.orderId": "CA-2017-123001", - "ECommerce.productName": "OIC #2 Pencils, Medium Soft", - "ECommerce.profit": "2.726", - "ECommerce.quantity": "5", - "ECommerce.rowId": "3934", - "ECommerce.sales": "9.4", - "ECommerce.subCategory": "Art", + "orderDateD": 2020-11-04T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "29", }, 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", + "orderDateD": 2020-11-05T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "30", }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Lafayette", - "ECommerce.customerId": "CS-12355", - "ECommerce.customerName": "Customer 14", - "ECommerce.discount": "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.88", - "ECommerce.subCategory": "Chairs", + "orderDateD": 2020-11-06T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "31", }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "New York City", - "ECommerce.customerId": "AH-10465", - "ECommerce.customerName": "Customer 1", - "ECommerce.discount": "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.97", - "ECommerce.subCategory": "Phones", + "orderDateD": 2020-11-07T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "31", }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "WB-21850", - "ECommerce.customerName": "Customer 41", - "ECommerce.discount": "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.92", - "ECommerce.subCategory": "Fasteners", + "orderDateD": 2020-11-08T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "31", }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "TB-21175", - "ECommerce.customerName": "Customer 39", - "ECommerce.discount": "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.91", - "ECommerce.subCategory": "Accessories", + "orderDateD": 2020-11-09T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "31", }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Detroit", - "ECommerce.customerId": "CA-12775", - "ECommerce.customerName": "Customer 11", - "ECommerce.discount": "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.26", - "ECommerce.subCategory": "Chairs", + "orderDateD": 2020-11-10T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "31", }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "KL-16555", - "ECommerce.customerName": "Customer 27", - "ECommerce.discount": "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.75", - "ECommerce.subCategory": "Accessories", + "orderDateD": 2020-11-11T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "32", }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Los Angeles", - "ECommerce.customerId": "SS-20140", - "ECommerce.customerName": "Customer 38", - "ECommerce.discount": "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.75", - "ECommerce.subCategory": "Accessories", + "orderDateD": 2020-11-12T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "33", }, 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", + "orderDateD": 2020-11-13T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "33", }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Oakland", - "ECommerce.customerId": "BB-11545", - "ECommerce.customerName": "Customer 5", - "ECommerce.discount": "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.975", - "ECommerce.quantity": "5", - "ECommerce.rowId": "6272", - "ECommerce.sales": "179.9", - "ECommerce.subCategory": "Art", + "orderDateD": 2020-11-14T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "33", }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Baltimore", - "ECommerce.customerId": "AJ-10780", - "ECommerce.customerName": "Customer 2", - "ECommerce.discount": "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.76", - "ECommerce.subCategory": "Art", + "orderDateD": 2020-11-15T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "33", }, 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.498", - "ECommerce.quantity": "5", - "ECommerce.rowId": "6651", - "ECommerce.sales": "45.92", - "ECommerce.subCategory": "Fasteners", + "orderDateD": 2020-11-16T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "35", }, 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.96", - "ECommerce.subCategory": "Copiers", + "orderDateD": 2020-11-17T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "35", }, 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.58", - "ECommerce.quantity": "2", - "ECommerce.rowId": "7293", - "ECommerce.sales": "649", - "ECommerce.subCategory": "Machines", + "orderDateD": 2020-11-18T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "35", }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "New York City", - "ECommerce.customerId": "MM-18280", - "ECommerce.customerName": "Customer 34", - "ECommerce.discount": "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.13", - "ECommerce.subCategory": "Fasteners", + "orderDateD": 2020-11-19T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "35", }, 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", + "orderDateD": 2020-11-20T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "35", }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "BF-11170", - "ECommerce.customerName": "Customer 7", - "ECommerce.discount": "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.98", - "ECommerce.subCategory": "Copiers", + "orderDateD": 2020-11-21T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "36", }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Lakewood", - "ECommerce.customerId": "NP-18670", - "ECommerce.customerName": "Customer 35", - "ECommerce.discount": "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.294", - "ECommerce.quantity": "5", - "ECommerce.rowId": "8425", - "ECommerce.sales": "2154.9", - "ECommerce.subCategory": "Bookcases", + "orderDateD": 2020-11-22T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "36", }, 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.864", - "ECommerce.quantity": "5", - "ECommerce.rowId": "8621", - "ECommerce.sales": "30.56", - "ECommerce.subCategory": "Furnishings", + "orderDateD": 2020-11-23T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "36", }, 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", + "orderDateD": 2020-11-24T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "36", }, 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", + "orderDateD": 2020-11-25T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "36", }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Morristown", - "ECommerce.customerId": "GZ-14470", - "ECommerce.customerName": "Customer 20", - "ECommerce.discount": "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.6", - "ECommerce.quantity": "4", - "ECommerce.rowId": "8878", - "ECommerce.sales": "480", - "ECommerce.subCategory": "Machines", + "orderDateD": 2020-11-26T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "36", }, 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.2", - "ECommerce.quantity": "2", - "ECommerce.rowId": "8958", - "ECommerce.sales": "120", - "ECommerce.subCategory": "Machines", + "orderDateD": 2020-11-27T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "36", }, 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", + "orderDateD": 2020-11-28T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "37", }, 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", + "orderDateD": 2020-11-29T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "37", }, 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", + "orderDateD": 2020-11-30T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "37", }, 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.397", - "ECommerce.quantity": "3", - "ECommerce.rowId": "9619", - "ECommerce.sales": "86.352", - "ECommerce.subCategory": "Art", + "orderDateD": 2020-12-01T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "38", }, -] -`; - -exports[`Queries with the @cubejs-backend/pinot-driver querying ECommerce: dimensions 1`] = ` -Array [ Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Detroit", - "ECommerce.customerId": "MC-17605", - "ECommerce.customerName": "Customer 31", - "ECommerce.discount": "0", - "ECommerce.orderDate": "2020-01-23T00:00:00.000", - "ECommerce.orderId": "CA-2017-145142", - "ECommerce.productName": "Balt Solid Wood Rectangular Table", - "ECommerce.profit": "21.098", - "ECommerce.quantity": "2", - "ECommerce.rowId": "523", - "ECommerce.sales": "210.98", - "ECommerce.subCategory": "Tables", + "orderDateD": 2020-12-02T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "39", }, 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", + "orderDateD": 2020-12-03T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "39", }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Olympia", - "ECommerce.customerId": "PF-19165", - "ECommerce.customerName": "Customer 36", - "ECommerce.discount": "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.03", - "ECommerce.subCategory": "Storage", + "orderDateD": 2020-12-04T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "40", }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Vancouver", - "ECommerce.customerId": "JW-15220", - "ECommerce.customerName": "Customer 26", - "ECommerce.discount": "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.64", - "ECommerce.subCategory": "Furnishings", + "orderDateD": 2020-12-05T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "40", }, 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", + "orderDateD": 2020-12-06T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "40", }, 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", + "orderDateD": 2020-12-07T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "40", }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "New York City", - "ECommerce.customerId": "DB-13405", - "ECommerce.customerName": "Customer 15", - "ECommerce.discount": "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.604", - "ECommerce.quantity": "8", - "ECommerce.rowId": "2455", - "ECommerce.sales": "71.6", - "ECommerce.subCategory": "Accessories", + "orderDateD": 2020-12-08T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "40", }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "BM-11650", - "ECommerce.customerName": "Customer 8", - "ECommerce.discount": "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.432", - "ECommerce.quantity": "2", - "ECommerce.rowId": "2595", - "ECommerce.sales": "180.96", - "ECommerce.subCategory": "Envelopes", + "orderDateD": 2020-12-09T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "40", }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Provo", - "ECommerce.customerId": "AS-10225", - "ECommerce.customerName": "Customer 3", - "ECommerce.discount": "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.94", - "ECommerce.subCategory": "Bookcases", + "orderDateD": 2020-12-10T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "40", }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "DG-13300", - "ECommerce.customerName": "Customer 16", - "ECommerce.discount": "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.89", - "ECommerce.subCategory": "Phones", + "orderDateD": 2020-12-11T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "40", }, 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", + "orderDateD": 2020-12-12T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "40", }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "San Francisco", - "ECommerce.customerId": "HH-15010", - "ECommerce.customerName": "Customer 21", - "ECommerce.discount": "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.56", - "ECommerce.subCategory": "Furnishings", + "orderDateD": 2020-12-13T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "40", }, 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", + "orderDateD": 2020-12-14T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "42", }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Louisville", - "ECommerce.customerId": "DW-13480", - "ECommerce.customerName": "Customer 17", - "ECommerce.discount": "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.97", - "ECommerce.subCategory": "Phones", + "orderDateD": 2020-12-15T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "42", }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Auburn", - "ECommerce.customerId": "KN-16705", - "ECommerce.customerName": "Customer 28", - "ECommerce.discount": "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.76", - "ECommerce.subCategory": "Art", + "orderDateD": 2020-12-16T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "42", }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Omaha", - "ECommerce.customerId": "JO-15550", - "ECommerce.customerName": "Customer 24", - "ECommerce.discount": "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.55", - "ECommerce.subCategory": "Fasteners", + "orderDateD": 2020-12-17T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "42", }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Bakersfield", - "ECommerce.customerId": "AW-10840", - "ECommerce.customerName": "Customer 4", - "ECommerce.discount": "0", - "ECommerce.orderDate": "2020-09-02T00:00:00.000", - "ECommerce.orderId": "CA-2017-123001", - "ECommerce.productName": "OIC #2 Pencils, Medium Soft", - "ECommerce.profit": "2.726", - "ECommerce.quantity": "5", - "ECommerce.rowId": "3934", - "ECommerce.sales": "9.4", - "ECommerce.subCategory": "Art", + "orderDateD": 2020-12-18T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "42", }, 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", + "orderDateD": 2020-12-19T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "42", }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Lafayette", - "ECommerce.customerId": "CS-12355", - "ECommerce.customerName": "Customer 14", - "ECommerce.discount": "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.88", - "ECommerce.subCategory": "Chairs", + "orderDateD": 2020-12-20T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "42", }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "New York City", - "ECommerce.customerId": "AH-10465", - "ECommerce.customerName": "Customer 1", - "ECommerce.discount": "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.97", - "ECommerce.subCategory": "Phones", + "orderDateD": 2020-12-21T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "42", }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "WB-21850", - "ECommerce.customerName": "Customer 41", - "ECommerce.discount": "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.92", - "ECommerce.subCategory": "Fasteners", + "orderDateD": 2020-12-22T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "42", }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "TB-21175", - "ECommerce.customerName": "Customer 39", - "ECommerce.discount": "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.91", - "ECommerce.subCategory": "Accessories", + "orderDateD": 2020-12-23T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "42", }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Detroit", - "ECommerce.customerId": "CA-12775", - "ECommerce.customerName": "Customer 11", - "ECommerce.discount": "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.26", - "ECommerce.subCategory": "Chairs", + "orderDateD": 2020-12-24T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "43", }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "KL-16555", - "ECommerce.customerName": "Customer 27", - "ECommerce.discount": "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.75", - "ECommerce.subCategory": "Accessories", + "orderDateD": 2020-12-25T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "44", }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Los Angeles", - "ECommerce.customerId": "SS-20140", - "ECommerce.customerName": "Customer 38", - "ECommerce.discount": "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.75", - "ECommerce.subCategory": "Accessories", + "orderDateD": 2020-12-26T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "44", }, 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", + "orderDateD": 2020-12-27T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "44", }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Oakland", - "ECommerce.customerId": "BB-11545", - "ECommerce.customerName": "Customer 5", - "ECommerce.discount": "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.975", - "ECommerce.quantity": "5", - "ECommerce.rowId": "6272", - "ECommerce.sales": "179.9", - "ECommerce.subCategory": "Art", + "orderDateD": 2020-12-28T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "44", }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Baltimore", - "ECommerce.customerId": "AJ-10780", - "ECommerce.customerName": "Customer 2", - "ECommerce.discount": "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", + "orderDateD": 2020-12-29T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "44", + }, + Object { + "orderDateD": 2020-12-30T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "44", + }, + Object { + "orderDateD": 2020-12-31T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "44", + }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-driver SQL API: Rolling Window YTD (year + month + day + date_trunc equal) 1`] = ` +Array [ + Object { + "orderDateD": 2020-01-01T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", + }, + Object { + "orderDateD": 2020-01-02T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", + }, + Object { + "orderDateD": 2020-01-03T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", + }, + Object { + "orderDateD": 2020-01-04T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", + }, + Object { + "orderDateD": 2020-01-05T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", + }, + Object { + "orderDateD": 2020-01-06T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", + }, + Object { + "orderDateD": 2020-01-07T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", + }, + Object { + "orderDateD": 2020-01-08T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", + }, + Object { + "orderDateD": 2020-01-09T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", + }, + Object { + "orderDateD": 2020-01-10T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", + }, + Object { + "orderDateD": 2020-01-11T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", + }, + Object { + "orderDateD": 2020-01-12T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", + }, + Object { + "orderDateD": 2020-01-13T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", + }, + Object { + "orderDateD": 2020-01-14T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", + }, + Object { + "orderDateD": 2020-01-15T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", + }, + Object { + "orderDateD": 2020-01-16T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", + }, + Object { + "orderDateD": 2020-01-17T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", + }, + Object { + "orderDateD": 2020-01-18T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", + }, + Object { + "orderDateD": 2020-01-19T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", + }, + Object { + "orderDateD": 2020-01-20T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", + }, + Object { + "orderDateD": 2020-01-21T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", + }, + Object { + "orderDateD": 2020-01-22T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "1", + }, + Object { + "orderDateD": 2020-01-23T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", + }, + Object { + "orderDateD": 2020-01-24T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", + }, + Object { + "orderDateD": 2020-01-25T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", + }, + Object { + "orderDateD": 2020-01-26T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", + }, + Object { + "orderDateD": 2020-01-27T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", + }, + Object { + "orderDateD": 2020-01-28T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", + }, + Object { + "orderDateD": 2020-01-29T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", + }, + Object { + "orderDateD": 2020-01-30T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", + }, + Object { + "orderDateD": 2020-01-31T00:00:00.000Z, + "orderDateM": 2020-01-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", + }, + Object { + "orderDateD": 2020-02-01T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", + }, + Object { + "orderDateD": 2020-02-02T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", + }, + Object { + "orderDateD": 2020-02-03T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", + }, + Object { + "orderDateD": 2020-02-04T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", + }, + Object { + "orderDateD": 2020-02-05T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", + }, + Object { + "orderDateD": 2020-02-06T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", + }, + Object { + "orderDateD": 2020-02-07T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", + }, + Object { + "orderDateD": 2020-02-08T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", + }, + Object { + "orderDateD": 2020-02-09T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", + }, + Object { + "orderDateD": 2020-02-10T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", + }, + Object { + "orderDateD": 2020-02-11T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", + }, + Object { + "orderDateD": 2020-02-12T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", + }, + Object { + "orderDateD": 2020-02-13T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", + }, + Object { + "orderDateD": 2020-02-14T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", + }, + Object { + "orderDateD": 2020-02-15T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "2", + }, + Object { + "orderDateD": 2020-02-16T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", + }, + Object { + "orderDateD": 2020-02-17T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", + }, + Object { + "orderDateD": 2020-02-18T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", + }, + Object { + "orderDateD": 2020-02-19T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", + }, + Object { + "orderDateD": 2020-02-20T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", + }, + Object { + "orderDateD": 2020-02-21T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", + }, + Object { + "orderDateD": 2020-02-22T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", + }, + Object { + "orderDateD": 2020-02-23T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", + }, + Object { + "orderDateD": 2020-02-24T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", + }, + Object { + "orderDateD": 2020-02-25T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", + }, + Object { + "orderDateD": 2020-02-26T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", + }, + Object { + "orderDateD": 2020-02-27T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", + }, + Object { + "orderDateD": 2020-02-28T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", + }, + Object { + "orderDateD": 2020-02-29T00:00:00.000Z, + "orderDateM": 2020-02-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", + }, + Object { + "orderDateD": 2020-03-01T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", + }, + Object { + "orderDateD": 2020-03-02T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", + }, + Object { + "orderDateD": 2020-03-03T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", + }, + Object { + "orderDateD": 2020-03-04T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", + }, + Object { + "orderDateD": 2020-03-05T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", + }, + Object { + "orderDateD": 2020-03-06T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", + }, + Object { + "orderDateD": 2020-03-07T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", + }, + Object { + "orderDateD": 2020-03-08T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", + }, + Object { + "orderDateD": 2020-03-09T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", + }, + Object { + "orderDateD": 2020-03-10T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", + }, + Object { + "orderDateD": 2020-03-11T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", + }, + Object { + "orderDateD": 2020-03-12T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", + }, + Object { + "orderDateD": 2020-03-13T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", + }, + Object { + "orderDateD": 2020-03-14T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", + }, + Object { + "orderDateD": 2020-03-15T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", + }, + Object { + "orderDateD": 2020-03-16T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "3", + }, + Object { + "orderDateD": 2020-03-17T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "4", + }, + Object { + "orderDateD": 2020-03-18T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "4", + }, + Object { + "orderDateD": 2020-03-19T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "4", + }, + Object { + "orderDateD": 2020-03-20T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "4", + }, + Object { + "orderDateD": 2020-03-21T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "4", + }, + Object { + "orderDateD": 2020-03-22T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "4", + }, + Object { + "orderDateD": 2020-03-23T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "4", + }, + Object { + "orderDateD": 2020-03-24T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "4", + }, + Object { + "orderDateD": 2020-03-25T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "4", + }, + Object { + "orderDateD": 2020-03-26T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "5", + }, + Object { + "orderDateD": 2020-03-27T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "5", + }, + Object { + "orderDateD": 2020-03-28T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "5", + }, + Object { + "orderDateD": 2020-03-29T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "5", + }, + Object { + "orderDateD": 2020-03-30T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "5", + }, + Object { + "orderDateD": 2020-03-31T00:00:00.000Z, + "orderDateM": 2020-03-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "5", + }, + Object { + "orderDateD": 2020-04-01T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "5", + }, + Object { + "orderDateD": 2020-04-02T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "5", + }, + Object { + "orderDateD": 2020-04-03T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "5", + }, + Object { + "orderDateD": 2020-04-04T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "5", + }, + Object { + "orderDateD": 2020-04-05T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "5", + }, + Object { + "orderDateD": 2020-04-06T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "5", + }, + Object { + "orderDateD": 2020-04-07T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "5", + }, + Object { + "orderDateD": 2020-04-08T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "5", + }, + Object { + "orderDateD": 2020-04-09T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "5", + }, + Object { + "orderDateD": 2020-04-10T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", + }, + Object { + "orderDateD": 2020-04-11T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", + }, + Object { + "orderDateD": 2020-04-12T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", + }, + Object { + "orderDateD": 2020-04-13T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", + }, + Object { + "orderDateD": 2020-04-14T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", + }, + Object { + "orderDateD": 2020-04-15T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", + }, + Object { + "orderDateD": 2020-04-16T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", + }, + Object { + "orderDateD": 2020-04-17T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", + }, + Object { + "orderDateD": 2020-04-18T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", + }, + Object { + "orderDateD": 2020-04-19T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", + }, + Object { + "orderDateD": 2020-04-20T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", + }, + Object { + "orderDateD": 2020-04-21T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", + }, + Object { + "orderDateD": 2020-04-22T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", + }, + Object { + "orderDateD": 2020-04-23T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", + }, + Object { + "orderDateD": 2020-04-24T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", + }, + Object { + "orderDateD": 2020-04-25T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", + }, + Object { + "orderDateD": 2020-04-26T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", + }, + Object { + "orderDateD": 2020-04-27T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", + }, + Object { + "orderDateD": 2020-04-28T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", + }, + Object { + "orderDateD": 2020-04-29T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", + }, + Object { + "orderDateD": 2020-04-30T00:00:00.000Z, + "orderDateM": 2020-04-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", + }, + Object { + "orderDateD": 2020-05-01T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", + }, + Object { + "orderDateD": 2020-05-02T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", + }, + Object { + "orderDateD": 2020-05-03T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", + }, + Object { + "orderDateD": 2020-05-04T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", + }, + Object { + "orderDateD": 2020-05-05T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", + }, + Object { + "orderDateD": 2020-05-06T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", + }, + Object { + "orderDateD": 2020-05-07T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", + }, + Object { + "orderDateD": 2020-05-08T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", + }, + Object { + "orderDateD": 2020-05-09T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", + }, + Object { + "orderDateD": 2020-05-10T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", + }, + Object { + "orderDateD": 2020-05-11T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", + }, + Object { + "orderDateD": 2020-05-12T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "6", + }, + Object { + "orderDateD": 2020-05-13T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "7", + }, + Object { + "orderDateD": 2020-05-14T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "9", + }, + Object { + "orderDateD": 2020-05-15T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "9", + }, + Object { + "orderDateD": 2020-05-16T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "9", + }, + Object { + "orderDateD": 2020-05-17T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "9", + }, + Object { + "orderDateD": 2020-05-18T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "9", + }, + Object { + "orderDateD": 2020-05-19T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "9", + }, + Object { + "orderDateD": 2020-05-20T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "9", + }, + Object { + "orderDateD": 2020-05-21T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "9", + }, + Object { + "orderDateD": 2020-05-22T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "9", + }, + Object { + "orderDateD": 2020-05-23T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "9", + }, + Object { + "orderDateD": 2020-05-24T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "9", + }, + Object { + "orderDateD": 2020-05-25T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "9", + }, + Object { + "orderDateD": 2020-05-26T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "9", + }, + Object { + "orderDateD": 2020-05-27T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "10", + }, + Object { + "orderDateD": 2020-05-28T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "10", + }, + Object { + "orderDateD": 2020-05-29T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "11", + }, + Object { + "orderDateD": 2020-05-30T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "11", + }, + Object { + "orderDateD": 2020-05-31T00:00:00.000Z, + "orderDateM": 2020-05-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "11", + }, + Object { + "orderDateD": 2020-06-01T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "11", + }, + Object { + "orderDateD": 2020-06-02T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "11", + }, + Object { + "orderDateD": 2020-06-03T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "12", + }, + Object { + "orderDateD": 2020-06-04T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "12", + }, + Object { + "orderDateD": 2020-06-05T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "12", + }, + Object { + "orderDateD": 2020-06-06T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "12", + }, + Object { + "orderDateD": 2020-06-07T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "12", + }, + Object { + "orderDateD": 2020-06-08T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "12", + }, + Object { + "orderDateD": 2020-06-09T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "12", + }, + Object { + "orderDateD": 2020-06-10T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "13", + }, + Object { + "orderDateD": 2020-06-11T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "14", + }, + Object { + "orderDateD": 2020-06-12T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "14", + }, + Object { + "orderDateD": 2020-06-13T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "14", + }, + Object { + "orderDateD": 2020-06-14T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "14", + }, + Object { + "orderDateD": 2020-06-15T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "15", + }, + Object { + "orderDateD": 2020-06-16T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "15", + }, + Object { + "orderDateD": 2020-06-17T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "16", + }, + Object { + "orderDateD": 2020-06-18T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "16", + }, + Object { + "orderDateD": 2020-06-19T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "16", + }, + Object { + "orderDateD": 2020-06-20T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "16", + }, + Object { + "orderDateD": 2020-06-21T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "16", + }, + Object { + "orderDateD": 2020-06-22T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "16", + }, + Object { + "orderDateD": 2020-06-23T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "16", + }, + Object { + "orderDateD": 2020-06-24T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "16", + }, + Object { + "orderDateD": 2020-06-25T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-06-26T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-06-27T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-06-28T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-06-29T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-06-30T00:00:00.000Z, + "orderDateM": 2020-06-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-07-01T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-07-02T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-07-03T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-07-04T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-07-05T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-07-06T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-07-07T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-07-08T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-07-09T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-07-10T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-07-11T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-07-12T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-07-13T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-07-14T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-07-15T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-07-16T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-07-17T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-07-18T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-07-19T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-07-20T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-07-21T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-07-22T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-07-23T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-07-24T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-07-25T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-07-26T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-07-27T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-07-28T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-07-29T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-07-30T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-07-31T00:00:00.000Z, + "orderDateM": 2020-07-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-08-01T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-08-02T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-08-03T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-08-04T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-08-05T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-08-06T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-08-07T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-08-08T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-08-09T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-08-10T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-08-11T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-08-12T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-08-13T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-08-14T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-08-15T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-08-16T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-08-17T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-08-18T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-08-19T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-08-20T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-08-21T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-08-22T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-08-23T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-08-24T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-08-25T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-08-26T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-08-27T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-08-28T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-08-29T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-08-30T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-08-31T00:00:00.000Z, + "orderDateM": 2020-08-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "18", + }, + Object { + "orderDateD": 2020-09-01T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "19", + }, + Object { + "orderDateD": 2020-09-02T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "20", + }, + Object { + "orderDateD": 2020-09-03T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "20", + }, + Object { + "orderDateD": 2020-09-04T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "20", + }, + Object { + "orderDateD": 2020-09-05T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "20", + }, + Object { + "orderDateD": 2020-09-06T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "20", + }, + Object { + "orderDateD": 2020-09-07T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "20", + }, + Object { + "orderDateD": 2020-09-08T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "21", + }, + Object { + "orderDateD": 2020-09-09T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "21", + }, + Object { + "orderDateD": 2020-09-10T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "21", + }, + Object { + "orderDateD": 2020-09-11T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "21", + }, + Object { + "orderDateD": 2020-09-12T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "21", + }, + Object { + "orderDateD": 2020-09-13T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "21", + }, + Object { + "orderDateD": 2020-09-14T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "21", + }, + Object { + "orderDateD": 2020-09-15T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "21", + }, + Object { + "orderDateD": 2020-09-16T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "21", + }, + Object { + "orderDateD": 2020-09-17T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "23", + }, + Object { + "orderDateD": 2020-09-18T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "23", + }, + Object { + "orderDateD": 2020-09-19T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "23", + }, + Object { + "orderDateD": 2020-09-20T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "23", + }, + Object { + "orderDateD": 2020-09-21T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "23", + }, + Object { + "orderDateD": 2020-09-22T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "23", + }, + Object { + "orderDateD": 2020-09-23T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", + }, + Object { + "orderDateD": 2020-09-24T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", + }, + Object { + "orderDateD": 2020-09-25T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", + }, + Object { + "orderDateD": 2020-09-26T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", + }, + Object { + "orderDateD": 2020-09-27T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", + }, + Object { + "orderDateD": 2020-09-28T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", + }, + Object { + "orderDateD": 2020-09-29T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", + }, + Object { + "orderDateD": 2020-09-30T00:00:00.000Z, + "orderDateM": 2020-09-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", + }, + Object { + "orderDateD": 2020-10-01T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", + }, + Object { + "orderDateD": 2020-10-02T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", + }, + Object { + "orderDateD": 2020-10-03T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", + }, + Object { + "orderDateD": 2020-10-04T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", + }, + Object { + "orderDateD": 2020-10-05T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", + }, + Object { + "orderDateD": 2020-10-06T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", + }, + Object { + "orderDateD": 2020-10-07T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", + }, + Object { + "orderDateD": 2020-10-08T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", + }, + Object { + "orderDateD": 2020-10-09T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", + }, + Object { + "orderDateD": 2020-10-10T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", + }, + Object { + "orderDateD": 2020-10-11T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "24", + }, + Object { + "orderDateD": 2020-10-12T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "25", + }, + Object { + "orderDateD": 2020-10-13T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "25", + }, + Object { + "orderDateD": 2020-10-14T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "25", + }, + Object { + "orderDateD": 2020-10-15T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "25", + }, + Object { + "orderDateD": 2020-10-16T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "25", + }, + Object { + "orderDateD": 2020-10-17T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "25", + }, + Object { + "orderDateD": 2020-10-18T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "25", + }, + Object { + "orderDateD": 2020-10-19T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "27", + }, + Object { + "orderDateD": 2020-10-20T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "27", + }, + Object { + "orderDateD": 2020-10-21T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "27", + }, + Object { + "orderDateD": 2020-10-22T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "27", + }, + Object { + "orderDateD": 2020-10-23T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "27", + }, + Object { + "orderDateD": 2020-10-24T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "27", + }, + Object { + "orderDateD": 2020-10-25T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "27", + }, + Object { + "orderDateD": 2020-10-26T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "27", + }, + Object { + "orderDateD": 2020-10-27T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "27", + }, + Object { + "orderDateD": 2020-10-28T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "27", + }, + Object { + "orderDateD": 2020-10-29T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "27", + }, + Object { + "orderDateD": 2020-10-30T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "28", + }, + Object { + "orderDateD": 2020-10-31T00:00:00.000Z, + "orderDateM": 2020-10-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "28", + }, + Object { + "orderDateD": 2020-11-01T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "28", + }, + Object { + "orderDateD": 2020-11-02T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "29", + }, + Object { + "orderDateD": 2020-11-03T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "29", + }, + Object { + "orderDateD": 2020-11-04T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "29", + }, + Object { + "orderDateD": 2020-11-05T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "30", + }, + Object { + "orderDateD": 2020-11-06T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "31", + }, + Object { + "orderDateD": 2020-11-07T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "31", + }, + Object { + "orderDateD": 2020-11-08T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "31", + }, + Object { + "orderDateD": 2020-11-09T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "31", + }, + Object { + "orderDateD": 2020-11-10T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "31", + }, + Object { + "orderDateD": 2020-11-11T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "32", + }, + Object { + "orderDateD": 2020-11-12T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "33", + }, + Object { + "orderDateD": 2020-11-13T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "33", + }, + Object { + "orderDateD": 2020-11-14T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "33", + }, + Object { + "orderDateD": 2020-11-15T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "33", + }, + Object { + "orderDateD": 2020-11-16T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "35", + }, + Object { + "orderDateD": 2020-11-17T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "35", + }, + Object { + "orderDateD": 2020-11-18T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "35", + }, + Object { + "orderDateD": 2020-11-19T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "35", + }, + Object { + "orderDateD": 2020-11-20T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "35", + }, + Object { + "orderDateD": 2020-11-21T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "36", + }, + Object { + "orderDateD": 2020-11-22T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "36", + }, + Object { + "orderDateD": 2020-11-23T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "36", + }, + Object { + "orderDateD": 2020-11-24T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "36", + }, + Object { + "orderDateD": 2020-11-25T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "36", + }, + Object { + "orderDateD": 2020-11-26T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "36", + }, + Object { + "orderDateD": 2020-11-27T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "36", + }, + Object { + "orderDateD": 2020-11-28T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "37", + }, + Object { + "orderDateD": 2020-11-29T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "37", + }, + Object { + "orderDateD": 2020-11-30T00:00:00.000Z, + "orderDateM": 2020-11-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "37", + }, + Object { + "orderDateD": 2020-12-01T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "38", + }, + Object { + "orderDateD": 2020-12-02T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "39", + }, + Object { + "orderDateD": 2020-12-03T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "39", + }, + Object { + "orderDateD": 2020-12-04T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "40", + }, + Object { + "orderDateD": 2020-12-05T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "40", + }, + Object { + "orderDateD": 2020-12-06T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "40", + }, + Object { + "orderDateD": 2020-12-07T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "40", + }, + Object { + "orderDateD": 2020-12-08T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "40", + }, + Object { + "orderDateD": 2020-12-09T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "40", + }, + Object { + "orderDateD": 2020-12-10T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "40", + }, + Object { + "orderDateD": 2020-12-11T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "40", + }, + Object { + "orderDateD": 2020-12-12T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "40", + }, + Object { + "orderDateD": 2020-12-13T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "40", + }, + Object { + "orderDateD": 2020-12-14T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "42", + }, + Object { + "orderDateD": 2020-12-15T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "42", + }, + Object { + "orderDateD": 2020-12-16T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "42", + }, + Object { + "orderDateD": 2020-12-17T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "42", + }, + Object { + "orderDateD": 2020-12-18T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "42", + }, + Object { + "orderDateD": 2020-12-19T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "42", + }, + Object { + "orderDateD": 2020-12-20T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "42", + }, + Object { + "orderDateD": 2020-12-21T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "42", + }, + Object { + "orderDateD": 2020-12-22T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "42", + }, + Object { + "orderDateD": 2020-12-23T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "42", + }, + Object { + "orderDateD": 2020-12-24T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "43", + }, + Object { + "orderDateD": 2020-12-25T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "44", + }, + Object { + "orderDateD": 2020-12-26T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "44", + }, + Object { + "orderDateD": 2020-12-27T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "44", + }, + Object { + "orderDateD": 2020-12-28T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "44", + }, + Object { + "orderDateD": 2020-12-29T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "44", + }, + Object { + "orderDateD": 2020-12-30T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "44", + }, + Object { + "orderDateD": 2020-12-31T00:00:00.000Z, + "orderDateM": 2020-12-01T00:00:00.000Z, + "orderDateY": 2020-01-01T00:00:00.000Z, + "rollingCountYTD": "44", + }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-driver SQL API: Window function over measure (running total) 1`] = ` +Array [ + Object { + "count": "5", + "orderDateQ": 2020-01-01T00:00:00.000Z, + "runningTotal": "5", + }, + Object { + "count": "13", + "orderDateQ": 2020-04-01T00:00:00.000Z, + "runningTotal": "18", + }, + Object { + "count": "6", + "orderDateQ": 2020-07-01T00:00:00.000Z, + "runningTotal": "24", + }, + Object { + "count": "20", + "orderDateQ": 2020-10-01T00:00:00.000Z, + "runningTotal": "44", + }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-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/pinot-driver SQL API: post-aggregate percentage of total 1`] = ` +Array [ + Object { + "SUM(BigECommerce.percentageOfTotalForStatus)": 100, + }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-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/pinot-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/pinot-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/pinot-driver SQL API: ungrouped pre-agg: ungrouped_pre_agg 1`] = ` +Array [ + Object { + "productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", + "totalSales": null, + }, + 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, + }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-driver Tesseract: SQL API: Timeshift measure from cube 1`] = ` +Array [ + Object { + "orderDate": 2020-01-01T00:00:00.000Z, + "totalQuantity": 6, + "totalQuantityPriorMonth": null, + }, + Object { + "orderDate": 2020-02-01T00:00:00.000Z, + "totalQuantity": 2, + "totalQuantityPriorMonth": 6, + }, + Object { + "orderDate": 2020-03-01T00:00:00.000Z, + "totalQuantity": 13, + "totalQuantityPriorMonth": 2, + }, + Object { + "orderDate": 2020-04-01T00:00:00.000Z, + "totalQuantity": 3, + "totalQuantityPriorMonth": 13, + }, + Object { + "orderDate": 2020-05-01T00:00:00.000Z, + "totalQuantity": 15, + "totalQuantityPriorMonth": 3, + }, + Object { + "orderDate": 2020-06-01T00:00:00.000Z, + "totalQuantity": 18, + "totalQuantityPriorMonth": 15, + }, + Object { + "orderDate": 2020-07-01T00:00:00.000Z, + "totalQuantity": null, + "totalQuantityPriorMonth": 18, + }, + Object { + "orderDate": 2020-09-01T00:00:00.000Z, + "totalQuantity": 27, + "totalQuantityPriorMonth": null, + }, + Object { + "orderDate": 2020-10-01T00:00:00.000Z, + "totalQuantity": 11, + "totalQuantityPriorMonth": 27, + }, + Object { + "orderDate": 2020-11-01T00:00:00.000Z, + "totalQuantity": 43, + "totalQuantityPriorMonth": 11, + }, + Object { + "orderDate": 2020-12-01T00:00:00.000Z, + "totalQuantity": 22, + "totalQuantityPriorMonth": 43, + }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-driver Tesseract: querying BigECommerce with Retail Calendar: totalCountRetailMonthAgo 1`] = ` +Array [ + Object { + "BigECommerce.count": "1", + "BigECommerce.totalCountRetailMonthAgo": "1", + "RetailCalendar.retail_date": "2020-02-01T00:00:00.000", + "RetailCalendar.retail_date.month": "2020-02-01T00:00:00.000", + }, + Object { + "BigECommerce.count": "2", + "BigECommerce.totalCountRetailMonthAgo": "1", + "RetailCalendar.retail_date": "2020-03-01T00:00:00.000", + "RetailCalendar.retail_date.month": "2020-03-01T00:00:00.000", + }, + Object { + "BigECommerce.count": "1", + "BigECommerce.totalCountRetailMonthAgo": "2", + "RetailCalendar.retail_date": "2020-04-01T00:00:00.000", + "RetailCalendar.retail_date.month": "2020-04-01T00:00:00.000", + }, + Object { + "BigECommerce.count": "5", + "BigECommerce.totalCountRetailMonthAgo": "1", + "RetailCalendar.retail_date": "2020-05-01T00:00:00.000", + "RetailCalendar.retail_date.month": "2020-05-01T00:00:00.000", + }, + Object { + "BigECommerce.count": "7", + "BigECommerce.totalCountRetailMonthAgo": "5", + "RetailCalendar.retail_date": "2020-06-01T00:00:00.000", + "RetailCalendar.retail_date.month": "2020-06-01T00:00:00.000", + }, + Object { + "BigECommerce.count": null, + "BigECommerce.totalCountRetailMonthAgo": "7", + "RetailCalendar.retail_date": "2020-07-01T00:00:00.000", + "RetailCalendar.retail_date.month": "2020-07-01T00:00:00.000", + }, + Object { + "BigECommerce.count": "6", + "BigECommerce.totalCountRetailMonthAgo": null, + "RetailCalendar.retail_date": "2020-09-01T00:00:00.000", + "RetailCalendar.retail_date.month": "2020-09-01T00:00:00.000", + }, + Object { + "BigECommerce.count": "4", + "BigECommerce.totalCountRetailMonthAgo": "6", + "RetailCalendar.retail_date": "2020-10-01T00:00:00.000", + "RetailCalendar.retail_date.month": "2020-10-01T00:00:00.000", + }, + Object { + "BigECommerce.count": "9", + "BigECommerce.totalCountRetailMonthAgo": "5", + "RetailCalendar.retail_date": "2020-11-01T00:00:00.000", + "RetailCalendar.retail_date.month": "2020-11-01T00:00:00.000", + }, + Object { + "BigECommerce.count": "7", + "BigECommerce.totalCountRetailMonthAgo": "8", + "RetailCalendar.retail_date": "2020-12-01T00:00:00.000", + "RetailCalendar.retail_date.month": "2020-12-01T00:00:00.000", + }, + Object { + "BigECommerce.count": null, + "BigECommerce.totalCountRetailMonthAgo": "7", + "RetailCalendar.retail_date": "2021-01-01T00:00:00.000", + "RetailCalendar.retail_date.month": "2021-01-01T00:00:00.000", + }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-driver filtering Customers: contains + dimensions, first 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/pinot-driver filtering Customers: contains + dimensions, second 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/pinot-driver filtering Customers: contains + dimensions, third 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/pinot-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/pinot-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/pinot-driver filtering Customers: endsWith filter + dimensions, third 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/pinot-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/pinot-driver filtering Customers: notEndsWith filter + dimensions, second 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/pinot-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/pinot-driver filtering Customers: notStartsWith + 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/pinot-driver filtering Customers: notStartsWith + 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/pinot-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/pinot-driver filtering Customers: startsWith + dimensions, first 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/pinot-driver filtering Customers: startsWith + dimensions, second 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/pinot-driver filtering Customers: startsWith + dimensions, third 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/pinot-driver filtering ECommerce: contains dimensions, first 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/pinot-driver filtering ECommerce: contains dimensions, second 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/pinot-driver filtering ECommerce: contains dimensions, third 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/pinot-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.2", + "ECommerce.quantity": "2", + "ECommerce.rowId": "8958", + "ECommerce.sales": "120", + "ECommerce.subCategory": "Machines", + }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-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", + "ECommerce.orderDate": "2020-01-23T00:00:00.000", + "ECommerce.orderId": "CA-2017-145142", + "ECommerce.productName": "Balt Solid Wood Rectangular Table", + "ECommerce.profit": "21.098", + "ECommerce.quantity": "2", + "ECommerce.rowId": "523", + "ECommerce.sales": "210.98", + "ECommerce.subCategory": "Tables", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Vancouver", + "ECommerce.customerId": "JW-15220", + "ECommerce.customerName": "Customer 26", + "ECommerce.discount": "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.64", + "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", + "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.89", + "ECommerce.subCategory": "Phones", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "San Francisco", + "ECommerce.customerId": "HH-15010", + "ECommerce.customerName": "Customer 21", + "ECommerce.discount": "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.56", + "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", + "ECommerce.orderDate": "2020-09-02T00:00:00.000", + "ECommerce.orderId": "CA-2017-123001", + "ECommerce.productName": "OIC #2 Pencils, Medium Soft", + "ECommerce.profit": "2.726", + "ECommerce.quantity": "5", + "ECommerce.rowId": "3934", + "ECommerce.sales": "9.4", + "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", + "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.75", + "ECommerce.subCategory": "Accessories", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Baltimore", + "ECommerce.customerId": "AJ-10780", + "ECommerce.customerName": "Customer 2", + "ECommerce.discount": "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.76", + "ECommerce.subCategory": "Art", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "New York City", + "ECommerce.customerId": "MM-18280", + "ECommerce.customerName": "Customer 34", + "ECommerce.discount": "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.13", + "ECommerce.subCategory": "Fasteners", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Lakewood", + "ECommerce.customerId": "NP-18670", + "ECommerce.customerName": "Customer 35", + "ECommerce.discount": "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.294", + "ECommerce.quantity": "5", + "ECommerce.rowId": "8425", + "ECommerce.sales": "2154.9", + "ECommerce.subCategory": "Bookcases", + }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-driver filtering ECommerce: endsWith + dimensions, third 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/pinot-driver filtering ECommerce: startsWith + dimensions, first 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/pinot-driver filtering ECommerce: startsWith + dimensions, second 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/pinot-driver filtering ECommerce: startsWith + dimensions, third 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/pinot-driver filtering Products: contains + dimensions + order, first 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/pinot-driver filtering Products: contains + dimensions + order, second 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/pinot-driver filtering Products: contains + dimensions + order, third 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/pinot-driver filtering Products: contains with special chars + dimensions 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/pinot-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/pinot-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/pinot-driver filtering Products: endsWith filter + dimensions + order, third 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/pinot-driver filtering Products: startsWith filter + dimensions + order, first 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/pinot-driver filtering Products: startsWith filter + dimensions + order, second 1`] = ` +Array [ + Object { + "Products.category": "Furniture", + "Products.productName": "Linden 10 Round Wall Clock, Black", + "Products.subCategory": "Furnishings", + }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-driver filtering Products: startsWith filter + dimensions + order, third 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/pinot-driver pre-aggregations Customers: running total without time dimension 1`] = ` +Array [ + Object { + "Customers.runningTotal": "41", + }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-driver querying BigECommerce with Retail Calendar: totalCountRetailYearAgo 1`] = ` +Array [ + Object { + "BigECommerce.count": "42", + "BigECommerce.totalCountRetailYearAgo": "2", + "RetailCalendar.retail_date": "2020-02-02T00:00:00.000", + "RetailCalendar.retail_date.year": "2020-02-02T00:00:00.000", + }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-driver querying BigECommerce: filtering with possible casts 1`] = ` +Array [ + Object { + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.totalSales": "48.896", + }, + Object { + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + "BigECommerce.totalSales": "232.88", + }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-driver querying BigECommerce: multi-stage group by time dimension 1`] = ` +Array [ + Object { + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.quarter": "2020-01-01T00:00:00.000", + "BigECommerce.totalProfit": "29.6548", + "BigECommerce.totalProfitForQuarter": "619.4485000000001", + }, + Object { + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.quarter": "2020-01-01T00:00:00.000", + "BigECommerce.totalProfit": "6.1992", + "BigECommerce.totalProfitForQuarter": "619.4485000000001", + }, + Object { + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.quarter": "2020-01-01T00:00:00.000", + "BigECommerce.totalProfit": "583.5945", + "BigECommerce.totalProfitForQuarter": "619.4485000000001", + }, + Object { + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.quarter": "2020-04-01T00:00:00.000", + "BigECommerce.totalProfit": "6.4176", + "BigECommerce.totalProfitForQuarter": "394.33860000000004", + }, + Object { + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.quarter": "2020-04-01T00:00:00.000", + "BigECommerce.totalProfit": "353.6849", + "BigECommerce.totalProfitForQuarter": "394.33860000000004", + }, + Object { + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.quarter": "2020-04-01T00:00:00.000", + "BigECommerce.totalProfit": "34.2361", + "BigECommerce.totalProfitForQuarter": "394.33860000000004", + }, + Object { + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.quarter": "2020-07-01T00:00:00.000", + "BigECommerce.totalProfit": "461.1332", + "BigECommerce.totalProfitForQuarter": "461.1332", + }, + Object { + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.quarter": "2020-10-01T00:00:00.000", + "BigECommerce.totalProfit": "139.997", + "BigECommerce.totalProfitForQuarter": "1576.6324", + }, + Object { + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.quarter": "2020-10-01T00:00:00.000", + "BigECommerce.totalProfit": "1132.6616999999999", + "BigECommerce.totalProfitForQuarter": "1576.6324", + }, + Object { + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.quarter": "2020-10-01T00:00:00.000", + "BigECommerce.totalProfit": "303.97370000000006", + "BigECommerce.totalProfitForQuarter": "1576.6324", + }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-driver querying BigECommerce: null boolean 1`] = ` +Array [ + Object { + "BigECommerce.returning": null, + }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-driver querying BigECommerce: null sum 1`] = ` +Array [ + Object { + "BigECommerce.totalSales": null, + }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-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/pinot-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/pinot-driver querying BigECommerce: rolling window YTD (month + week + day + no gran) 1`] = ` +Array [ + Object { + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2019-12-30T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-02T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-02T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2019-12-30T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-03T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-03T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2019-12-30T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-04T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-04T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2019-12-30T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-05T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-05T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2019-12-30T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-06T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-06T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-06T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-07T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-07T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-06T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-08T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-08T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-06T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-09T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-09T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-06T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-10T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-10T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-06T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-11T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-11T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-06T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-12T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-12T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-06T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-13T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-13T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-13T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-14T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-14T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-13T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-15T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-15T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-13T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-16T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-16T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-13T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-17T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-17T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-13T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-18T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-18T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-13T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-19T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-19T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-13T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-20T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-20T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-20T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-21T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-21T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-20T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-22T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-22T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-20T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-23T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-23T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-20T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-01-24T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-24T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-20T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-01-25T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-25T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-20T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-01-26T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-26T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-20T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-01-27T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-27T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-27T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-01-28T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-28T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-27T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-01-29T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-29T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-27T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-01-30T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-30T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-27T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-01-31T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-31T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-27T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-27T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-02T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-02T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-27T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-03T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-03T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-03T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-04T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-04T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-03T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-05T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-05T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-03T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-06T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-06T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-03T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-07T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-07T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-03T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-08T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-08T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-03T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-09T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-09T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-03T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-10T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-10T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-10T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-11T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-11T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-10T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-12T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-12T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-10T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-13T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-13T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-10T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-14T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-14T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-10T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-15T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-15T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-10T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-16T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-16T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-10T00:00:00.000", + "BigECommerce.rollingCountYTD": "3", + }, + Object { + "BigECommerce.orderDate": "2020-02-17T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-17T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-17T00:00:00.000", + "BigECommerce.rollingCountYTD": "3", + }, + Object { + "BigECommerce.orderDate": "2020-02-18T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-18T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-17T00:00:00.000", + "BigECommerce.rollingCountYTD": "3", + }, + Object { + "BigECommerce.orderDate": "2020-02-19T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-19T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-17T00:00:00.000", + "BigECommerce.rollingCountYTD": "3", + }, + Object { + "BigECommerce.orderDate": "2020-02-20T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-20T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-17T00:00:00.000", + "BigECommerce.rollingCountYTD": "3", + }, + Object { + "BigECommerce.orderDate": "2020-02-21T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-21T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-17T00:00:00.000", + "BigECommerce.rollingCountYTD": "3", + }, + Object { + "BigECommerce.orderDate": "2020-02-22T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-22T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-17T00:00:00.000", + "BigECommerce.rollingCountYTD": "3", + }, + Object { + "BigECommerce.orderDate": "2020-02-23T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-23T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-17T00:00:00.000", + "BigECommerce.rollingCountYTD": "3", + }, + Object { + "BigECommerce.orderDate": "2020-02-24T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-24T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-24T00:00:00.000", + "BigECommerce.rollingCountYTD": "3", + }, + Object { + "BigECommerce.orderDate": "2020-02-25T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-25T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-24T00:00:00.000", + "BigECommerce.rollingCountYTD": "3", + }, + Object { + "BigECommerce.orderDate": "2020-02-26T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-26T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-24T00:00:00.000", + "BigECommerce.rollingCountYTD": "3", + }, + Object { + "BigECommerce.orderDate": "2020-02-27T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-27T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-24T00:00:00.000", + "BigECommerce.rollingCountYTD": "3", + }, + Object { + "BigECommerce.orderDate": "2020-02-28T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-28T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-24T00:00:00.000", + "BigECommerce.rollingCountYTD": "3", + }, + Object { + "BigECommerce.orderDate": "2020-02-29T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-29T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-24T00:00:00.000", + "BigECommerce.rollingCountYTD": "3", + }, + Object { + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.day": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-24T00:00:00.000", + "BigECommerce.rollingCountYTD": "3", + }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-driver querying BigECommerce: rolling window YTD (month + week + day) 1`] = ` +Array [ + Object { + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2019-12-30T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-02T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-02T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2019-12-30T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-03T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-03T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2019-12-30T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-04T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-04T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2019-12-30T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-05T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-05T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2019-12-30T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-06T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-06T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-06T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-07T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-07T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-06T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-08T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-08T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-06T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-09T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-09T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-06T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-10T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-10T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-06T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-11T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-11T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-06T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-12T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-12T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-06T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-13T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-13T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-13T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-14T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-14T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-13T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-15T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-15T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-13T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-16T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-16T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-13T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-17T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-17T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-13T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-18T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-18T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-13T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-19T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-19T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-13T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-20T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-20T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-20T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-21T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-21T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-20T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-22T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-22T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-20T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-23T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-23T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-20T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-01-24T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-24T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-20T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-01-25T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-25T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-20T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-01-26T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-26T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-20T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-01-27T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-27T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-27T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-01-28T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-28T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-27T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-01-29T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-29T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-27T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-01-30T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-30T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-27T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-01-31T00:00:00.000", + "BigECommerce.orderDate.day": "2020-01-31T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-27T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-27T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-02T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-02T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-27T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-03T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-03T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-03T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-04T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-04T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-03T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-05T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-05T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-03T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-06T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-06T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-03T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-07T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-07T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-03T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-08T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-08T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-03T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-09T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-09T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-03T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-10T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-10T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-10T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-11T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-11T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-10T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-12T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-12T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-10T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-13T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-13T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-10T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-14T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-14T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-10T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-15T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-15T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-10T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-16T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-16T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-10T00:00:00.000", + "BigECommerce.rollingCountYTD": "3", + }, + Object { + "BigECommerce.orderDate": "2020-02-17T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-17T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-17T00:00:00.000", + "BigECommerce.rollingCountYTD": "3", + }, + Object { + "BigECommerce.orderDate": "2020-02-18T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-18T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-17T00:00:00.000", + "BigECommerce.rollingCountYTD": "3", + }, + Object { + "BigECommerce.orderDate": "2020-02-19T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-19T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-17T00:00:00.000", + "BigECommerce.rollingCountYTD": "3", + }, + Object { + "BigECommerce.orderDate": "2020-02-20T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-20T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-17T00:00:00.000", + "BigECommerce.rollingCountYTD": "3", + }, + Object { + "BigECommerce.orderDate": "2020-02-21T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-21T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-17T00:00:00.000", + "BigECommerce.rollingCountYTD": "3", + }, + Object { + "BigECommerce.orderDate": "2020-02-22T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-22T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-17T00:00:00.000", + "BigECommerce.rollingCountYTD": "3", + }, + Object { + "BigECommerce.orderDate": "2020-02-23T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-23T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-17T00:00:00.000", + "BigECommerce.rollingCountYTD": "3", + }, + Object { + "BigECommerce.orderDate": "2020-02-24T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-24T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-24T00:00:00.000", + "BigECommerce.rollingCountYTD": "3", + }, + Object { + "BigECommerce.orderDate": "2020-02-25T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-25T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-24T00:00:00.000", + "BigECommerce.rollingCountYTD": "3", + }, + Object { + "BigECommerce.orderDate": "2020-02-26T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-26T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-24T00:00:00.000", + "BigECommerce.rollingCountYTD": "3", + }, + Object { + "BigECommerce.orderDate": "2020-02-27T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-27T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-24T00:00:00.000", + "BigECommerce.rollingCountYTD": "3", + }, + Object { + "BigECommerce.orderDate": "2020-02-28T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-28T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-24T00:00:00.000", + "BigECommerce.rollingCountYTD": "3", + }, + Object { + "BigECommerce.orderDate": "2020-02-29T00:00:00.000", + "BigECommerce.orderDate.day": "2020-02-29T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-24T00:00:00.000", + "BigECommerce.rollingCountYTD": "3", + }, + Object { + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.day": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-24T00:00:00.000", + "BigECommerce.rollingCountYTD": "3", + }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-driver querying BigECommerce: rolling window YTD (month + week + no gran) 1`] = ` +Array [ + Object { + "BigECommerce.orderDate": "2019-12-30T00:00:00.000", + "BigECommerce.orderDate.month": "2019-12-01T00:00:00.000", + "BigECommerce.orderDate.week": "2019-12-30T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-06T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-06T00:00:00.000", + "BigECommerce.rollingCountYTD": null, + }, + Object { + "BigECommerce.orderDate": "2020-01-13T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-13T00:00:00.000", + "BigECommerce.rollingCountYTD": null, + }, + Object { + "BigECommerce.orderDate": "2020-01-20T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-20T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-27T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-27T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-02-03T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-03T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-02-10T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-10T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-17T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-17T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-24T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-24T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-03-02T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-03-02T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-03-09T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-03-09T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-03-16T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-03-16T00:00:00.000", + "BigECommerce.rollingCountYTD": "3", + }, + Object { + "BigECommerce.orderDate": "2020-03-23T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-03-23T00:00:00.000", + "BigECommerce.rollingCountYTD": "4", + }, + Object { + "BigECommerce.orderDate": "2020-03-30T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-03-30T00:00:00.000", + "BigECommerce.rollingCountYTD": "4", + }, + Object { + "BigECommerce.orderDate": "2020-04-06T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-04-06T00:00:00.000", + "BigECommerce.rollingCountYTD": "5", + }, + Object { + "BigECommerce.orderDate": "2020-04-13T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-04-13T00:00:00.000", + "BigECommerce.rollingCountYTD": "5", + }, + Object { + "BigECommerce.orderDate": "2020-04-20T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-04-20T00:00:00.000", + "BigECommerce.rollingCountYTD": "5", + }, + Object { + "BigECommerce.orderDate": "2020-04-27T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-04-27T00:00:00.000", + "BigECommerce.rollingCountYTD": "5", + }, + Object { + "BigECommerce.orderDate": "2020-05-04T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-05-04T00:00:00.000", + "BigECommerce.rollingCountYTD": "5", + }, + Object { + "BigECommerce.orderDate": "2020-05-11T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-05-11T00:00:00.000", + "BigECommerce.rollingCountYTD": "8", + }, + Object { + "BigECommerce.orderDate": "2020-05-18T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-05-18T00:00:00.000", + "BigECommerce.rollingCountYTD": "8", + }, + Object { + "BigECommerce.orderDate": "2020-05-25T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-05-25T00:00:00.000", + "BigECommerce.rollingCountYTD": "10", + }, + Object { + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-06-01T00:00:00.000", + "BigECommerce.rollingCountYTD": "11", + }, + Object { + "BigECommerce.orderDate": "2020-06-08T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-06-08T00:00:00.000", + "BigECommerce.rollingCountYTD": "13", + }, + Object { + "BigECommerce.orderDate": "2020-06-15T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-06-15T00:00:00.000", + "BigECommerce.rollingCountYTD": "15", + }, + Object { + "BigECommerce.orderDate": "2020-06-22T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-06-22T00:00:00.000", + "BigECommerce.rollingCountYTD": "17", + }, + Object { + "BigECommerce.orderDate": "2020-06-29T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-06-29T00:00:00.000", + "BigECommerce.rollingCountYTD": "17", + }, + Object { + "BigECommerce.orderDate": "2020-07-06T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-07-06T00:00:00.000", + "BigECommerce.rollingCountYTD": "17", + }, + Object { + "BigECommerce.orderDate": "2020-07-13T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-07-13T00:00:00.000", + "BigECommerce.rollingCountYTD": "17", + }, + Object { + "BigECommerce.orderDate": "2020-07-20T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-07-20T00:00:00.000", + "BigECommerce.rollingCountYTD": "17", + }, + Object { + "BigECommerce.orderDate": "2020-07-27T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-07-27T00:00:00.000", + "BigECommerce.rollingCountYTD": "17", + }, + Object { + "BigECommerce.orderDate": "2020-08-03T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-08-03T00:00:00.000", + "BigECommerce.rollingCountYTD": "17", + }, + Object { + "BigECommerce.orderDate": "2020-08-10T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-08-10T00:00:00.000", + "BigECommerce.rollingCountYTD": "17", + }, + Object { + "BigECommerce.orderDate": "2020-08-17T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-08-17T00:00:00.000", + "BigECommerce.rollingCountYTD": "17", + }, + Object { + "BigECommerce.orderDate": "2020-08-24T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-08-24T00:00:00.000", + "BigECommerce.rollingCountYTD": "17", + }, + Object { + "BigECommerce.orderDate": "2020-08-31T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-08-31T00:00:00.000", + "BigECommerce.rollingCountYTD": "19", + }, + Object { + "BigECommerce.orderDate": "2020-09-07T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-09-07T00:00:00.000", + "BigECommerce.rollingCountYTD": "20", + }, + Object { + "BigECommerce.orderDate": "2020-09-14T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-09-14T00:00:00.000", + "BigECommerce.rollingCountYTD": "22", + }, + Object { + "BigECommerce.orderDate": "2020-09-21T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-09-21T00:00:00.000", + "BigECommerce.rollingCountYTD": "23", + }, + Object { + "BigECommerce.orderDate": "2020-09-28T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-09-28T00:00:00.000", + "BigECommerce.rollingCountYTD": "23", + }, + Object { + "BigECommerce.orderDate": "2020-10-05T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-10-05T00:00:00.000", + "BigECommerce.rollingCountYTD": "23", + }, + Object { + "BigECommerce.orderDate": "2020-10-12T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-10-12T00:00:00.000", + "BigECommerce.rollingCountYTD": "24", + }, + Object { + "BigECommerce.orderDate": "2020-10-19T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-10-19T00:00:00.000", + "BigECommerce.rollingCountYTD": "26", + }, + Object { + "BigECommerce.orderDate": "2020-10-26T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-10-26T00:00:00.000", + "BigECommerce.rollingCountYTD": "27", + }, + Object { + "BigECommerce.orderDate": "2020-11-02T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-11-02T00:00:00.000", + "BigECommerce.rollingCountYTD": "30", + }, + Object { + "BigECommerce.orderDate": "2020-11-09T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-11-09T00:00:00.000", + "BigECommerce.rollingCountYTD": "32", + }, + Object { + "BigECommerce.orderDate": "2020-11-16T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-11-16T00:00:00.000", + "BigECommerce.rollingCountYTD": "35", + }, + Object { + "BigECommerce.orderDate": "2020-11-23T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-11-23T00:00:00.000", + "BigECommerce.rollingCountYTD": "36", + }, + Object { + "BigECommerce.orderDate": "2020-11-30T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-11-30T00:00:00.000", + "BigECommerce.rollingCountYTD": "39", + }, + Object { + "BigECommerce.orderDate": "2020-12-07T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-12-07T00:00:00.000", + "BigECommerce.rollingCountYTD": "39", + }, + Object { + "BigECommerce.orderDate": "2020-12-14T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-12-14T00:00:00.000", + "BigECommerce.rollingCountYTD": "41", + }, + Object { + "BigECommerce.orderDate": "2020-12-21T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-12-21T00:00:00.000", + "BigECommerce.rollingCountYTD": "43", + }, + Object { + "BigECommerce.orderDate": "2020-12-28T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-12-28T00:00:00.000", + "BigECommerce.rollingCountYTD": "43", + }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-driver querying BigECommerce: rolling window YTD (month + week) 1`] = ` +Array [ + Object { + "BigECommerce.orderDate": "2019-12-30T00:00:00.000", + "BigECommerce.orderDate.month": "2019-12-01T00:00:00.000", + "BigECommerce.orderDate.week": "2019-12-30T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-06T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-06T00:00:00.000", + "BigECommerce.rollingCountYTD": null, + }, + Object { + "BigECommerce.orderDate": "2020-01-13T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-13T00:00:00.000", + "BigECommerce.rollingCountYTD": null, + }, + Object { + "BigECommerce.orderDate": "2020-01-20T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-20T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-01-27T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-01-27T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-02-03T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-03T00:00:00.000", + "BigECommerce.rollingCountYTD": "1", + }, + Object { + "BigECommerce.orderDate": "2020-02-10T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-10T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-17T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-17T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-24T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-02-24T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-03-02T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-03-02T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-03-09T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-03-09T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-03-16T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-03-16T00:00:00.000", + "BigECommerce.rollingCountYTD": "3", + }, + Object { + "BigECommerce.orderDate": "2020-03-23T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-03-23T00:00:00.000", + "BigECommerce.rollingCountYTD": "4", + }, + Object { + "BigECommerce.orderDate": "2020-03-30T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-03-30T00:00:00.000", + "BigECommerce.rollingCountYTD": "4", + }, + Object { + "BigECommerce.orderDate": "2020-04-06T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-04-06T00:00:00.000", + "BigECommerce.rollingCountYTD": "5", + }, + Object { + "BigECommerce.orderDate": "2020-04-13T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-04-13T00:00:00.000", + "BigECommerce.rollingCountYTD": "5", + }, + Object { + "BigECommerce.orderDate": "2020-04-20T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-04-20T00:00:00.000", + "BigECommerce.rollingCountYTD": "5", + }, + Object { + "BigECommerce.orderDate": "2020-04-27T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-04-27T00:00:00.000", + "BigECommerce.rollingCountYTD": "5", + }, + Object { + "BigECommerce.orderDate": "2020-05-04T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-05-04T00:00:00.000", + "BigECommerce.rollingCountYTD": "5", + }, + Object { + "BigECommerce.orderDate": "2020-05-11T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-05-11T00:00:00.000", + "BigECommerce.rollingCountYTD": "8", + }, + Object { + "BigECommerce.orderDate": "2020-05-18T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-05-18T00:00:00.000", + "BigECommerce.rollingCountYTD": "8", + }, + Object { + "BigECommerce.orderDate": "2020-05-25T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-05-25T00:00:00.000", + "BigECommerce.rollingCountYTD": "10", + }, + Object { + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-06-01T00:00:00.000", + "BigECommerce.rollingCountYTD": "11", + }, + Object { + "BigECommerce.orderDate": "2020-06-08T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-06-08T00:00:00.000", + "BigECommerce.rollingCountYTD": "13", + }, + Object { + "BigECommerce.orderDate": "2020-06-15T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-06-15T00:00:00.000", + "BigECommerce.rollingCountYTD": "15", + }, + Object { + "BigECommerce.orderDate": "2020-06-22T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-06-22T00:00:00.000", + "BigECommerce.rollingCountYTD": "17", + }, + Object { + "BigECommerce.orderDate": "2020-06-29T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-06-29T00:00:00.000", + "BigECommerce.rollingCountYTD": "17", + }, + Object { + "BigECommerce.orderDate": "2020-07-06T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-07-06T00:00:00.000", + "BigECommerce.rollingCountYTD": "17", + }, + Object { + "BigECommerce.orderDate": "2020-07-13T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-07-13T00:00:00.000", + "BigECommerce.rollingCountYTD": "17", + }, + Object { + "BigECommerce.orderDate": "2020-07-20T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-07-20T00:00:00.000", + "BigECommerce.rollingCountYTD": "17", + }, + Object { + "BigECommerce.orderDate": "2020-07-27T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-07-27T00:00:00.000", + "BigECommerce.rollingCountYTD": "17", + }, + Object { + "BigECommerce.orderDate": "2020-08-03T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-08-03T00:00:00.000", + "BigECommerce.rollingCountYTD": "17", + }, + Object { + "BigECommerce.orderDate": "2020-08-10T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-08-10T00:00:00.000", + "BigECommerce.rollingCountYTD": "17", + }, + Object { + "BigECommerce.orderDate": "2020-08-17T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-08-17T00:00:00.000", + "BigECommerce.rollingCountYTD": "17", + }, + Object { + "BigECommerce.orderDate": "2020-08-24T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-08-24T00:00:00.000", + "BigECommerce.rollingCountYTD": "17", + }, + Object { + "BigECommerce.orderDate": "2020-08-31T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-08-31T00:00:00.000", + "BigECommerce.rollingCountYTD": "19", + }, + Object { + "BigECommerce.orderDate": "2020-09-07T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-09-07T00:00:00.000", + "BigECommerce.rollingCountYTD": "20", + }, + Object { + "BigECommerce.orderDate": "2020-09-14T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-09-14T00:00:00.000", + "BigECommerce.rollingCountYTD": "22", + }, + Object { + "BigECommerce.orderDate": "2020-09-21T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-09-21T00:00:00.000", + "BigECommerce.rollingCountYTD": "23", + }, + Object { + "BigECommerce.orderDate": "2020-09-28T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-09-28T00:00:00.000", + "BigECommerce.rollingCountYTD": "23", + }, + Object { + "BigECommerce.orderDate": "2020-10-05T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-10-05T00:00:00.000", + "BigECommerce.rollingCountYTD": "23", + }, + Object { + "BigECommerce.orderDate": "2020-10-12T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-10-12T00:00:00.000", + "BigECommerce.rollingCountYTD": "24", + }, + Object { + "BigECommerce.orderDate": "2020-10-19T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-10-19T00:00:00.000", + "BigECommerce.rollingCountYTD": "26", + }, + Object { + "BigECommerce.orderDate": "2020-10-26T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-10-26T00:00:00.000", + "BigECommerce.rollingCountYTD": "27", + }, + Object { + "BigECommerce.orderDate": "2020-11-02T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-11-02T00:00:00.000", + "BigECommerce.rollingCountYTD": "30", + }, + Object { + "BigECommerce.orderDate": "2020-11-09T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-11-09T00:00:00.000", + "BigECommerce.rollingCountYTD": "32", + }, + Object { + "BigECommerce.orderDate": "2020-11-16T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-11-16T00:00:00.000", + "BigECommerce.rollingCountYTD": "35", + }, + Object { + "BigECommerce.orderDate": "2020-11-23T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-11-23T00:00:00.000", + "BigECommerce.rollingCountYTD": "36", + }, + Object { + "BigECommerce.orderDate": "2020-11-30T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-11-30T00:00:00.000", + "BigECommerce.rollingCountYTD": "39", + }, + Object { + "BigECommerce.orderDate": "2020-12-07T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-12-07T00:00:00.000", + "BigECommerce.rollingCountYTD": "39", + }, + Object { + "BigECommerce.orderDate": "2020-12-14T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-12-14T00:00:00.000", + "BigECommerce.rollingCountYTD": "41", + }, + Object { + "BigECommerce.orderDate": "2020-12-21T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-12-21T00:00:00.000", + "BigECommerce.rollingCountYTD": "43", + }, + Object { + "BigECommerce.orderDate": "2020-12-28T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.week": "2020-12-28T00:00:00.000", + "BigECommerce.rollingCountYTD": "43", + }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-driver querying BigECommerce: rolling window YTD (month) 1`] = ` +Array [ + Object { + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.rollingCountYTD": "2", + }, + Object { + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.rollingCountYTD": "3", + }, + Object { + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + "BigECommerce.rollingCountYTD": "5", + }, + Object { + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + "BigECommerce.rollingCountYTD": "6", + }, + Object { + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + "BigECommerce.rollingCountYTD": "11", + }, + Object { + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + "BigECommerce.rollingCountYTD": "18", + }, + Object { + "BigECommerce.orderDate": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + "BigECommerce.rollingCountYTD": "18", + }, + Object { + "BigECommerce.orderDate": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + "BigECommerce.rollingCountYTD": "18", + }, + Object { + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + "BigECommerce.rollingCountYTD": "24", + }, + Object { + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + "BigECommerce.rollingCountYTD": "28", + }, + Object { + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "BigECommerce.rollingCountYTD": "37", + }, + Object { + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + "BigECommerce.rollingCountYTD": "44", + }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-driver querying BigECommerce: rolling window YTD without granularity 1`] = ` +Array [ + Object { + "BigECommerce.rollingCountYTD": "3", + }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-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/pinot-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/pinot-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/pinot-driver querying BigECommerce: time series in rolling window 1`] = ` +Array [ + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "2", + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "1", + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "5", + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "7", + "BigECommerce.orderDate": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-08-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-08-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": null, + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "6", + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "4", + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + }, + Object { + "BigECommerce.customersCountPrev1Month": "9", + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-driver querying BigECommerce: totalProfitYearAgo 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/pinot-driver querying BigECommerce: two multi-stage branches sharing one pre-aggregation 1`] = ` +Array [ + Object { + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.totalProfitNoId": "29.6548", + "BigECommerce.totalProfitNoIdPct": "50", + }, + Object { + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.totalProfitNoId": "6.1992", + "BigECommerce.totalProfitNoIdPct": "50", + }, + Object { + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + "BigECommerce.totalProfitNoId": "583.5945", + "BigECommerce.totalProfitNoIdPct": "50", + }, + Object { + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + "BigECommerce.totalProfitNoId": "6.4176", + "BigECommerce.totalProfitNoIdPct": "50", + }, + Object { + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + "BigECommerce.totalProfitNoId": "353.6849", + "BigECommerce.totalProfitNoIdPct": "50", + }, + Object { + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + "BigECommerce.totalProfitNoId": "34.2361", + "BigECommerce.totalProfitNoIdPct": "50", + }, + Object { + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + "BigECommerce.totalProfitNoId": "461.1332", + "BigECommerce.totalProfitNoIdPct": "50", + }, + Object { + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + "BigECommerce.totalProfitNoId": "139.997", + "BigECommerce.totalProfitNoIdPct": "50", + }, + Object { + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "BigECommerce.totalProfitNoId": "1132.6616999999999", + "BigECommerce.totalProfitNoIdPct": "50", + }, + Object { + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + "BigECommerce.totalProfitNoId": "303.97370000000006", + "BigECommerce.totalProfitNoIdPct": "50", + }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-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/pinot-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/pinot-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/pinot-driver querying Customers: dimensions + order + total + offset 1`] = ` +Array [ + Object { + "Customers.customerId": "BS-11380", + "Customers.customerName": "Customer 9", + }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-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/pinot-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/pinot-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/pinot-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/pinot-driver querying ECommerce: count by month + order with non-UTC timezone (Asia/Kolkata) 1`] = ` +Array [ + Object { + "ECommerce.count": "2", + "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.month": "2020-01-01T00:00:00.000", + }, + Object { + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-02-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.month": "2020-02-01T00:00:00.000", + }, + Object { + "ECommerce.count": "2", + "ECommerce.customOrderDateNoPreAgg": "2020-03-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.month": "2020-03-01T00:00:00.000", + }, + Object { + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-04-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.month": "2020-04-01T00:00:00.000", + }, + Object { + "ECommerce.count": "5", + "ECommerce.customOrderDateNoPreAgg": "2020-05-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.month": "2020-05-01T00:00:00.000", + }, + Object { + "ECommerce.count": "7", + "ECommerce.customOrderDateNoPreAgg": "2020-06-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.month": "2020-06-01T00:00:00.000", + }, + Object { + "ECommerce.count": "6", + "ECommerce.customOrderDateNoPreAgg": "2020-09-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.month": "2020-09-01T00:00:00.000", + }, + Object { + "ECommerce.count": "4", + "ECommerce.customOrderDateNoPreAgg": "2020-10-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.month": "2020-10-01T00:00:00.000", + }, + Object { + "ECommerce.count": "9", + "ECommerce.customOrderDateNoPreAgg": "2020-11-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.month": "2020-11-01T00:00:00.000", + }, + Object { + "ECommerce.count": "7", + "ECommerce.customOrderDateNoPreAgg": "2020-12-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.month": "2020-12-01T00:00:00.000", + }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-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", + "ECommerce.orderDate": "2020-01-23T00:00:00.000", + "ECommerce.orderId": "CA-2017-145142", + "ECommerce.productName": "Balt Solid Wood Rectangular Table", + "ECommerce.profit": "21.098", + "ECommerce.quantity": "2", + "ECommerce.rowId": "523", + "ECommerce.sales": "210.98", + "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", + "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.03", + "ECommerce.subCategory": "Storage", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Vancouver", + "ECommerce.customerId": "JW-15220", + "ECommerce.customerName": "Customer 26", + "ECommerce.discount": "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.64", + "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", + "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.604", + "ECommerce.quantity": "8", + "ECommerce.rowId": "2455", + "ECommerce.sales": "71.6", + "ECommerce.subCategory": "Accessories", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "BM-11650", + "ECommerce.customerName": "Customer 8", + "ECommerce.discount": "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.432", + "ECommerce.quantity": "2", + "ECommerce.rowId": "2595", + "ECommerce.sales": "180.96", + "ECommerce.subCategory": "Envelopes", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Provo", + "ECommerce.customerId": "AS-10225", + "ECommerce.customerName": "Customer 3", + "ECommerce.discount": "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.94", + "ECommerce.subCategory": "Bookcases", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "DG-13300", + "ECommerce.customerName": "Customer 16", + "ECommerce.discount": "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.89", + "ECommerce.subCategory": "Phones", + }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-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", + "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.56", + "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", + "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.97", + "ECommerce.subCategory": "Phones", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Auburn", + "ECommerce.customerId": "KN-16705", + "ECommerce.customerName": "Customer 28", + "ECommerce.discount": "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.76", + "ECommerce.subCategory": "Art", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Omaha", + "ECommerce.customerId": "JO-15550", + "ECommerce.customerName": "Customer 24", + "ECommerce.discount": "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.55", + "ECommerce.subCategory": "Fasteners", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Bakersfield", + "ECommerce.customerId": "AW-10840", + "ECommerce.customerName": "Customer 4", + "ECommerce.discount": "0", + "ECommerce.orderDate": "2020-09-02T00:00:00.000", + "ECommerce.orderId": "CA-2017-123001", + "ECommerce.productName": "OIC #2 Pencils, Medium Soft", + "ECommerce.profit": "2.726", + "ECommerce.quantity": "5", + "ECommerce.rowId": "3934", + "ECommerce.sales": "9.4", + "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", + "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.88", + "ECommerce.subCategory": "Chairs", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "New York City", + "ECommerce.customerId": "AH-10465", + "ECommerce.customerName": "Customer 1", + "ECommerce.discount": "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.97", + "ECommerce.subCategory": "Phones", + }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-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", + "ECommerce.orderDate": "2020-01-23T00:00:00.000", + "ECommerce.orderId": "CA-2017-145142", + "ECommerce.productName": "Balt Solid Wood Rectangular Table", + "ECommerce.profit": "21.098", + "ECommerce.quantity": "2", + "ECommerce.rowId": "523", + "ECommerce.sales": "210.98", + "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", + "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.03", + "ECommerce.subCategory": "Storage", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Vancouver", + "ECommerce.customerId": "JW-15220", + "ECommerce.customerName": "Customer 26", + "ECommerce.discount": "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.64", + "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", + "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.604", + "ECommerce.quantity": "8", + "ECommerce.rowId": "2455", + "ECommerce.sales": "71.6", + "ECommerce.subCategory": "Accessories", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "BM-11650", + "ECommerce.customerName": "Customer 8", + "ECommerce.discount": "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.432", + "ECommerce.quantity": "2", + "ECommerce.rowId": "2595", + "ECommerce.sales": "180.96", + "ECommerce.subCategory": "Envelopes", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Provo", + "ECommerce.customerId": "AS-10225", + "ECommerce.customerName": "Customer 3", + "ECommerce.discount": "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.94", + "ECommerce.subCategory": "Bookcases", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "DG-13300", + "ECommerce.customerName": "Customer 16", + "ECommerce.discount": "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.89", + "ECommerce.subCategory": "Phones", + }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-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.397", + "ECommerce.quantity": "3", + "ECommerce.rowId": "9619", + "ECommerce.sales": "86.352", + "ECommerce.subCategory": "Art", + }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-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", + "ECommerce.orderDate": "2020-01-23T00:00:00.000", + "ECommerce.orderId": "CA-2017-145142", + "ECommerce.productName": "Balt Solid Wood Rectangular Table", + "ECommerce.profit": "21.098", + "ECommerce.quantity": "2", + "ECommerce.rowId": "523", + "ECommerce.sales": "210.98", + "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", + "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.03", + "ECommerce.subCategory": "Storage", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Vancouver", + "ECommerce.customerId": "JW-15220", + "ECommerce.customerName": "Customer 26", + "ECommerce.discount": "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.64", + "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", + "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.604", + "ECommerce.quantity": "8", + "ECommerce.rowId": "2455", + "ECommerce.sales": "71.6", + "ECommerce.subCategory": "Accessories", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "BM-11650", + "ECommerce.customerName": "Customer 8", + "ECommerce.discount": "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.432", + "ECommerce.quantity": "2", + "ECommerce.rowId": "2595", + "ECommerce.sales": "180.96", + "ECommerce.subCategory": "Envelopes", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Provo", + "ECommerce.customerId": "AS-10225", + "ECommerce.customerName": "Customer 3", + "ECommerce.discount": "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.94", + "ECommerce.subCategory": "Bookcases", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "DG-13300", + "ECommerce.customerName": "Customer 16", + "ECommerce.discount": "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.89", + "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", + "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.56", + "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", + "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.97", + "ECommerce.subCategory": "Phones", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Auburn", + "ECommerce.customerId": "KN-16705", + "ECommerce.customerName": "Customer 28", + "ECommerce.discount": "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.76", + "ECommerce.subCategory": "Art", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Omaha", + "ECommerce.customerId": "JO-15550", + "ECommerce.customerName": "Customer 24", + "ECommerce.discount": "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.55", + "ECommerce.subCategory": "Fasteners", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Bakersfield", + "ECommerce.customerId": "AW-10840", + "ECommerce.customerName": "Customer 4", + "ECommerce.discount": "0", + "ECommerce.orderDate": "2020-09-02T00:00:00.000", + "ECommerce.orderId": "CA-2017-123001", + "ECommerce.productName": "OIC #2 Pencils, Medium Soft", + "ECommerce.profit": "2.726", + "ECommerce.quantity": "5", + "ECommerce.rowId": "3934", + "ECommerce.sales": "9.4", + "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", + "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.88", + "ECommerce.subCategory": "Chairs", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "New York City", + "ECommerce.customerId": "AH-10465", + "ECommerce.customerName": "Customer 1", + "ECommerce.discount": "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.97", + "ECommerce.subCategory": "Phones", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "WB-21850", + "ECommerce.customerName": "Customer 41", + "ECommerce.discount": "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.92", + "ECommerce.subCategory": "Fasteners", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "TB-21175", + "ECommerce.customerName": "Customer 39", + "ECommerce.discount": "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.91", + "ECommerce.subCategory": "Accessories", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Detroit", + "ECommerce.customerId": "CA-12775", + "ECommerce.customerName": "Customer 11", + "ECommerce.discount": "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.26", + "ECommerce.subCategory": "Chairs", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "KL-16555", + "ECommerce.customerName": "Customer 27", + "ECommerce.discount": "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.75", + "ECommerce.subCategory": "Accessories", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Los Angeles", + "ECommerce.customerId": "SS-20140", + "ECommerce.customerName": "Customer 38", + "ECommerce.discount": "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.75", + "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", + "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.975", + "ECommerce.quantity": "5", + "ECommerce.rowId": "6272", + "ECommerce.sales": "179.9", + "ECommerce.subCategory": "Art", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Baltimore", + "ECommerce.customerId": "AJ-10780", + "ECommerce.customerName": "Customer 2", + "ECommerce.discount": "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.76", + "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.498", + "ECommerce.quantity": "5", + "ECommerce.rowId": "6651", + "ECommerce.sales": "45.92", + "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.96", + "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.58", + "ECommerce.quantity": "2", + "ECommerce.rowId": "7293", + "ECommerce.sales": "649", + "ECommerce.subCategory": "Machines", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "New York City", + "ECommerce.customerId": "MM-18280", + "ECommerce.customerName": "Customer 34", + "ECommerce.discount": "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.13", + "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", + "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.98", + "ECommerce.subCategory": "Copiers", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Lakewood", + "ECommerce.customerId": "NP-18670", + "ECommerce.customerName": "Customer 35", + "ECommerce.discount": "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.294", + "ECommerce.quantity": "5", + "ECommerce.rowId": "8425", + "ECommerce.sales": "2154.9", + "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.864", + "ECommerce.quantity": "5", + "ECommerce.rowId": "8621", + "ECommerce.sales": "30.56", + "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", + "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.6", + "ECommerce.quantity": "4", + "ECommerce.rowId": "8878", + "ECommerce.sales": "480", + "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.2", + "ECommerce.quantity": "2", + "ECommerce.rowId": "8958", + "ECommerce.sales": "120", + "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.397", + "ECommerce.quantity": "3", + "ECommerce.rowId": "9619", + "ECommerce.sales": "86.352", + "ECommerce.subCategory": "Art", + }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-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", + "ECommerce.orderDate": "2020-01-23T00:00:00.000", + "ECommerce.orderId": "CA-2017-145142", + "ECommerce.productName": "Balt Solid Wood Rectangular Table", + "ECommerce.profit": "21.098", + "ECommerce.quantity": "2", + "ECommerce.rowId": "523", + "ECommerce.sales": "210.98", + "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", + "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.03", + "ECommerce.subCategory": "Storage", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Vancouver", + "ECommerce.customerId": "JW-15220", + "ECommerce.customerName": "Customer 26", + "ECommerce.discount": "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.64", + "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", + "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.604", + "ECommerce.quantity": "8", + "ECommerce.rowId": "2455", + "ECommerce.sales": "71.6", + "ECommerce.subCategory": "Accessories", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "BM-11650", + "ECommerce.customerName": "Customer 8", + "ECommerce.discount": "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.432", + "ECommerce.quantity": "2", + "ECommerce.rowId": "2595", + "ECommerce.sales": "180.96", + "ECommerce.subCategory": "Envelopes", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Provo", + "ECommerce.customerId": "AS-10225", + "ECommerce.customerName": "Customer 3", + "ECommerce.discount": "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.94", + "ECommerce.subCategory": "Bookcases", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "DG-13300", + "ECommerce.customerName": "Customer 16", + "ECommerce.discount": "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.89", + "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", + "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.56", + "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", + "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.97", + "ECommerce.subCategory": "Phones", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Auburn", + "ECommerce.customerId": "KN-16705", + "ECommerce.customerName": "Customer 28", + "ECommerce.discount": "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.76", + "ECommerce.subCategory": "Art", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Omaha", + "ECommerce.customerId": "JO-15550", + "ECommerce.customerName": "Customer 24", + "ECommerce.discount": "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.55", + "ECommerce.subCategory": "Fasteners", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Bakersfield", + "ECommerce.customerId": "AW-10840", + "ECommerce.customerName": "Customer 4", + "ECommerce.discount": "0", + "ECommerce.orderDate": "2020-09-02T00:00:00.000", + "ECommerce.orderId": "CA-2017-123001", + "ECommerce.productName": "OIC #2 Pencils, Medium Soft", + "ECommerce.profit": "2.726", + "ECommerce.quantity": "5", + "ECommerce.rowId": "3934", + "ECommerce.sales": "9.4", + "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", + "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.88", + "ECommerce.subCategory": "Chairs", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "New York City", + "ECommerce.customerId": "AH-10465", + "ECommerce.customerName": "Customer 1", + "ECommerce.discount": "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.97", + "ECommerce.subCategory": "Phones", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "WB-21850", + "ECommerce.customerName": "Customer 41", + "ECommerce.discount": "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.92", + "ECommerce.subCategory": "Fasteners", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "TB-21175", + "ECommerce.customerName": "Customer 39", + "ECommerce.discount": "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.91", + "ECommerce.subCategory": "Accessories", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Detroit", + "ECommerce.customerId": "CA-12775", + "ECommerce.customerName": "Customer 11", + "ECommerce.discount": "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.26", + "ECommerce.subCategory": "Chairs", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "KL-16555", + "ECommerce.customerName": "Customer 27", + "ECommerce.discount": "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.75", + "ECommerce.subCategory": "Accessories", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Los Angeles", + "ECommerce.customerId": "SS-20140", + "ECommerce.customerName": "Customer 38", + "ECommerce.discount": "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.75", + "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", + "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.975", + "ECommerce.quantity": "5", + "ECommerce.rowId": "6272", + "ECommerce.sales": "179.9", + "ECommerce.subCategory": "Art", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Baltimore", + "ECommerce.customerId": "AJ-10780", + "ECommerce.customerName": "Customer 2", + "ECommerce.discount": "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.76", + "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.498", + "ECommerce.quantity": "5", + "ECommerce.rowId": "6651", + "ECommerce.sales": "45.92", + "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.96", + "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.58", + "ECommerce.quantity": "2", + "ECommerce.rowId": "7293", + "ECommerce.sales": "649", + "ECommerce.subCategory": "Machines", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "New York City", + "ECommerce.customerId": "MM-18280", + "ECommerce.customerName": "Customer 34", + "ECommerce.discount": "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.13", + "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", + "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.98", + "ECommerce.subCategory": "Copiers", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Lakewood", + "ECommerce.customerId": "NP-18670", + "ECommerce.customerName": "Customer 35", + "ECommerce.discount": "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.294", + "ECommerce.quantity": "5", + "ECommerce.rowId": "8425", + "ECommerce.sales": "2154.9", + "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.864", + "ECommerce.quantity": "5", + "ECommerce.rowId": "8621", + "ECommerce.sales": "30.56", + "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", + "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.6", + "ECommerce.quantity": "4", + "ECommerce.rowId": "8878", + "ECommerce.sales": "480", + "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.2", + "ECommerce.quantity": "2", + "ECommerce.rowId": "8958", + "ECommerce.sales": "120", + "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.397", + "ECommerce.quantity": "3", + "ECommerce.rowId": "9619", + "ECommerce.sales": "86.352", + "ECommerce.subCategory": "Art", + }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-driver querying ECommerce: dimensions 1`] = ` +Array [ + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Detroit", + "ECommerce.customerId": "MC-17605", + "ECommerce.customerName": "Customer 31", + "ECommerce.discount": "0", + "ECommerce.orderDate": "2020-01-23T00:00:00.000", + "ECommerce.orderId": "CA-2017-145142", + "ECommerce.productName": "Balt Solid Wood Rectangular Table", + "ECommerce.profit": "21.098", + "ECommerce.quantity": "2", + "ECommerce.rowId": "523", + "ECommerce.sales": "210.98", + "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", + "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.03", + "ECommerce.subCategory": "Storage", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Vancouver", + "ECommerce.customerId": "JW-15220", + "ECommerce.customerName": "Customer 26", + "ECommerce.discount": "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.64", + "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", + "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.604", + "ECommerce.quantity": "8", + "ECommerce.rowId": "2455", + "ECommerce.sales": "71.6", + "ECommerce.subCategory": "Accessories", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "BM-11650", + "ECommerce.customerName": "Customer 8", + "ECommerce.discount": "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.432", + "ECommerce.quantity": "2", + "ECommerce.rowId": "2595", + "ECommerce.sales": "180.96", + "ECommerce.subCategory": "Envelopes", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Provo", + "ECommerce.customerId": "AS-10225", + "ECommerce.customerName": "Customer 3", + "ECommerce.discount": "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.94", + "ECommerce.subCategory": "Bookcases", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "DG-13300", + "ECommerce.customerName": "Customer 16", + "ECommerce.discount": "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.89", + "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", + "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.56", + "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", + "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.97", + "ECommerce.subCategory": "Phones", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Auburn", + "ECommerce.customerId": "KN-16705", + "ECommerce.customerName": "Customer 28", + "ECommerce.discount": "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.76", + "ECommerce.subCategory": "Art", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Omaha", + "ECommerce.customerId": "JO-15550", + "ECommerce.customerName": "Customer 24", + "ECommerce.discount": "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.55", + "ECommerce.subCategory": "Fasteners", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Bakersfield", + "ECommerce.customerId": "AW-10840", + "ECommerce.customerName": "Customer 4", + "ECommerce.discount": "0", + "ECommerce.orderDate": "2020-09-02T00:00:00.000", + "ECommerce.orderId": "CA-2017-123001", + "ECommerce.productName": "OIC #2 Pencils, Medium Soft", + "ECommerce.profit": "2.726", + "ECommerce.quantity": "5", + "ECommerce.rowId": "3934", + "ECommerce.sales": "9.4", + "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", + "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.88", + "ECommerce.subCategory": "Chairs", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "New York City", + "ECommerce.customerId": "AH-10465", + "ECommerce.customerName": "Customer 1", + "ECommerce.discount": "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.97", + "ECommerce.subCategory": "Phones", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "WB-21850", + "ECommerce.customerName": "Customer 41", + "ECommerce.discount": "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.92", + "ECommerce.subCategory": "Fasteners", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "TB-21175", + "ECommerce.customerName": "Customer 39", + "ECommerce.discount": "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.91", + "ECommerce.subCategory": "Accessories", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Detroit", + "ECommerce.customerId": "CA-12775", + "ECommerce.customerName": "Customer 11", + "ECommerce.discount": "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.26", + "ECommerce.subCategory": "Chairs", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "KL-16555", + "ECommerce.customerName": "Customer 27", + "ECommerce.discount": "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.75", + "ECommerce.subCategory": "Accessories", + }, + Object { + "ECommerce.category": "Technology", + "ECommerce.city": "Los Angeles", + "ECommerce.customerId": "SS-20140", + "ECommerce.customerName": "Customer 38", + "ECommerce.discount": "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.75", + "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", + "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.975", + "ECommerce.quantity": "5", + "ECommerce.rowId": "6272", + "ECommerce.sales": "179.9", + "ECommerce.subCategory": "Art", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Baltimore", + "ECommerce.customerId": "AJ-10780", + "ECommerce.customerName": "Customer 2", + "ECommerce.discount": "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.76", "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.498", - "ECommerce.quantity": "5", - "ECommerce.rowId": "6651", - "ECommerce.sales": "45.92", - "ECommerce.subCategory": "Fasteners", + "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.498", + "ECommerce.quantity": "5", + "ECommerce.rowId": "6651", + "ECommerce.sales": "45.92", + "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.96", + "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.58", + "ECommerce.quantity": "2", + "ECommerce.rowId": "7293", + "ECommerce.sales": "649", + "ECommerce.subCategory": "Machines", + }, + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "New York City", + "ECommerce.customerId": "MM-18280", + "ECommerce.customerName": "Customer 34", + "ECommerce.discount": "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.13", + "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", + "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.98", + "ECommerce.subCategory": "Copiers", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Lakewood", + "ECommerce.customerId": "NP-18670", + "ECommerce.customerName": "Customer 35", + "ECommerce.discount": "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.294", + "ECommerce.quantity": "5", + "ECommerce.rowId": "8425", + "ECommerce.sales": "2154.9", + "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.864", + "ECommerce.quantity": "5", + "ECommerce.rowId": "8621", + "ECommerce.sales": "30.56", + "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", + "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.6", + "ECommerce.quantity": "4", + "ECommerce.rowId": "8878", + "ECommerce.sales": "480", + "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.2", + "ECommerce.quantity": "2", + "ECommerce.rowId": "8958", + "ECommerce.sales": "120", + "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.397", + "ECommerce.quantity": "3", + "ECommerce.rowId": "9619", + "ECommerce.sales": "86.352", + "ECommerce.subCategory": "Art", + }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-driver querying ECommerce: total sales, total profit by month + order (date) + total -- doesn't work with the BigQuery 1`] = ` +Array [ + Object { + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "ECommerce.totalProfit": "29.6548", + "ECommerce.totalSales": "259.876", + }, + Object { + "ECommerce.orderDate": "2020-02-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "ECommerce.totalProfit": "6.1992", + "ECommerce.totalSales": "18.368", + }, + Object { + "ECommerce.orderDate": "2020-03-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-03-01T00:00:00.000", + "ECommerce.totalProfit": "583.5945", + "ECommerce.totalSales": "2471.56", + }, + Object { + "ECommerce.orderDate": "2020-04-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-04-01T00:00:00.000", + "ECommerce.totalProfit": "6.4176", + "ECommerce.totalSales": "36.672", + }, + Object { + "ECommerce.orderDate": "2020-05-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-05-01T00:00:00.000", + "ECommerce.totalProfit": "353.6849", + "ECommerce.totalSales": "1288.21", + }, + Object { + "ECommerce.orderDate": "2020-06-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-06-01T00:00:00.000", + "ECommerce.totalProfit": "34.23609999999999", + "ECommerce.totalSales": "728.7339999999999", + }, + Object { + "ECommerce.orderDate": "2020-09-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-09-01T00:00:00.000", + "ECommerce.totalProfit": "461.1332", + "ECommerce.totalSales": "2340.872", + }, + Object { + "ECommerce.orderDate": "2020-10-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-10-01T00:00:00.000", + "ECommerce.totalProfit": "139.99699999999999", + "ECommerce.totalSales": "2219.468", }, 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.96", - "ECommerce.subCategory": "Copiers", + "ECommerce.orderDate": "2020-11-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "ECommerce.totalProfit": "1132.6616999999999", + "ECommerce.totalSales": "5573.922", }, 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.58", - "ECommerce.quantity": "2", - "ECommerce.rowId": "7293", - "ECommerce.sales": "649", - "ECommerce.subCategory": "Machines", + "ECommerce.orderDate": "2020-12-01T00:00:00.000", + "ECommerce.orderDate.month": "2020-12-01T00:00:00.000", + "ECommerce.totalProfit": "303.97370000000006", + "ECommerce.totalSales": "2434.222", }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-driver querying Products: dimensions + order + limit + total 1`] = ` +Array [ Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "New York City", - "ECommerce.customerId": "MM-18280", - "ECommerce.customerName": "Customer 34", - "ECommerce.discount": "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.13", - "ECommerce.subCategory": "Fasteners", + "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": "Harbour Creations 67200 Series Stacking Chairs", + "Products.subCategory": "Chairs", + }, + Object { + "Products.category": "Furniture", + "Products.productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", + "Products.subCategory": "Chairs", + }, + 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": "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/pinot-driver querying Products: dimensions + order + limit 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": "Harbour Creations 67200 Series Stacking Chairs", + "Products.subCategory": "Chairs", + }, + Object { + "Products.category": "Furniture", + "Products.productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", + "Products.subCategory": "Chairs", + }, + 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": "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/pinot-driver querying Products: dimensions + order + total 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": "Harbour Creations 67200 Series Stacking Chairs", + "Products.subCategory": "Chairs", + }, + Object { + "Products.category": "Furniture", + "Products.productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", + "Products.subCategory": "Chairs", + }, + 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": "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", + }, + 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": "Office Supplies", + "Products.productName": "Plymouth Boxed Rubber Bands by Plymouth", + "Products.subCategory": "Fasteners", + }, + Object { + "Products.category": "Office Supplies", + "Products.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", + "Products.subCategory": "Fasteners", + }, + Object { + "Products.category": "Office Supplies", + "Products.productName": "Project Tote Personal File", + "Products.subCategory": "Storage", + }, + Object { + "Products.category": "Office Supplies", + "Products.productName": "Recycled Eldon Regeneration Jumbo File", + "Products.subCategory": "Storage", }, 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", + "Products.category": "Technology", + "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.0", + "Products.subCategory": "Accessories", }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "BF-11170", - "ECommerce.customerName": "Customer 7", - "ECommerce.discount": "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.98", - "ECommerce.subCategory": "Copiers", + "Products.category": "Technology", + "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.1", + "Products.subCategory": "Accessories", }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Lakewood", - "ECommerce.customerId": "NP-18670", - "ECommerce.customerName": "Customer 35", - "ECommerce.discount": "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.294", - "ECommerce.quantity": "5", - "ECommerce.rowId": "8425", - "ECommerce.sales": "2154.9", - "ECommerce.subCategory": "Bookcases", + "Products.category": "Technology", + "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.2", + "Products.subCategory": "Accessories", }, 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.864", - "ECommerce.quantity": "5", - "ECommerce.rowId": "8621", - "ECommerce.sales": "30.56", - "ECommerce.subCategory": "Furnishings", + "Products.category": "Technology", + "Products.productName": "Logitech di_Novo Edge Keyboard", + "Products.subCategory": "Accessories", }, 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", + "Products.category": "Technology", + "Products.productName": "Canon PC1080F Personal Copier", + "Products.subCategory": "Copiers", }, 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", + "Products.category": "Technology", + "Products.productName": "Hewlett Packard 610 Color Digital Copier / Printer", + "Products.subCategory": "Copiers", }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Morristown", - "ECommerce.customerId": "GZ-14470", - "ECommerce.customerName": "Customer 20", - "ECommerce.discount": "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.6", - "ECommerce.quantity": "4", - "ECommerce.rowId": "8878", - "ECommerce.sales": "480", - "ECommerce.subCategory": "Machines", + "Products.category": "Technology", + "Products.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", + "Products.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.2", - "ECommerce.quantity": "2", - "ECommerce.rowId": "8958", - "ECommerce.sales": "120", - "ECommerce.subCategory": "Machines", + "Products.category": "Technology", + "Products.productName": "Okidata C610n Printer", + "Products.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", + "Products.category": "Technology", + "Products.productName": "Google Nexus 5", + "Products.subCategory": "Phones", }, 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", + "Products.category": "Technology", + "Products.productName": "Google Nexus 6", + "Products.subCategory": "Phones", }, 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", + "Products.category": "Technology", + "Products.productName": "Google Nexus 7", + "Products.subCategory": "Phones", }, 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.397", - "ECommerce.quantity": "3", - "ECommerce.rowId": "9619", - "ECommerce.sales": "86.352", - "ECommerce.subCategory": "Art", + "Products.category": "Technology", + "Products.productName": "HTC One", + "Products.subCategory": "Phones", }, ] `; -exports[`Queries with the @cubejs-backend/pinot-driver querying ECommerce: partitioned pre-agg 1`] = ` +exports[`Queries with the @cubejs-backend/pinot-driver querying Products: dimensions + order 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", + "Products.category": "Furniture", + "Products.productName": "DMI Eclipse Executive Suite Bookcases", + "Products.subCategory": "Bookcases", }, 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", + "Products.category": "Furniture", + "Products.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", + "Products.subCategory": "Bookcases", }, 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", + "Products.category": "Furniture", + "Products.productName": "Harbour Creations 67200 Series Stacking Chairs", + "Products.subCategory": "Chairs", }, 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", + "Products.category": "Furniture", + "Products.productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", + "Products.subCategory": "Chairs", }, 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", + "Products.category": "Furniture", + "Products.productName": "Linden 10 Round Wall Clock, Black", + "Products.subCategory": "Furnishings", }, 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", + "Products.category": "Furniture", + "Products.productName": "Magna Visual Magnetic Picture Hangers", + "Products.subCategory": "Furnishings", }, 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", + "Products.category": "Furniture", + "Products.productName": "Anderson Hickey Conga Table Tops & Accessories", + "Products.subCategory": "Tables", }, 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", + "Products.category": "Furniture", + "Products.productName": "Balt Solid Wood Rectangular Table", + "Products.subCategory": "Tables", }, - 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", + Object { + "Products.category": "Office Supplies", + "Products.productName": "OIC #2 Pencils, Medium Soft", + "Products.subCategory": "Art", }, 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", + "Products.category": "Office Supplies", + "Products.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", + "Products.subCategory": "Art", }, 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", + "Products.category": "Office Supplies", + "Products.productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", + "Products.subCategory": "Envelopes", }, 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", + "Products.category": "Office Supplies", + "Products.productName": "Wausau Papers Astrobrights Colored Envelopes", + "Products.subCategory": "Envelopes", }, 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", + "Products.category": "Office Supplies", + "Products.productName": "Plymouth Boxed Rubber Bands by Plymouth", + "Products.subCategory": "Fasteners", }, 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", + "Products.category": "Office Supplies", + "Products.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", + "Products.subCategory": "Fasteners", }, 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", + "Products.category": "Office Supplies", + "Products.productName": "Project Tote Personal File", + "Products.subCategory": "Storage", }, 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", + "Products.category": "Office Supplies", + "Products.productName": "Recycled Eldon Regeneration Jumbo File", + "Products.subCategory": "Storage", }, 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", + "Products.category": "Technology", + "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.0", + "Products.subCategory": "Accessories", }, 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", + "Products.category": "Technology", + "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.1", + "Products.subCategory": "Accessories", }, 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", + "Products.category": "Technology", + "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.2", + "Products.subCategory": "Accessories", }, 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", + "Products.category": "Technology", + "Products.productName": "Logitech di_Novo Edge Keyboard", + "Products.subCategory": "Accessories", }, 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", + "Products.category": "Technology", + "Products.productName": "Canon PC1080F Personal Copier", + "Products.subCategory": "Copiers", }, 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", + "Products.category": "Technology", + "Products.productName": "Hewlett Packard 610 Color Digital Copier / Printer", + "Products.subCategory": "Copiers", }, 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", + "Products.category": "Technology", + "Products.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", + "Products.subCategory": "Machines", }, 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", + "Products.category": "Technology", + "Products.productName": "Okidata C610n Printer", + "Products.subCategory": "Machines", }, 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", + "Products.category": "Technology", + "Products.productName": "Google Nexus 5", + "Products.subCategory": "Phones", }, 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", + "Products.category": "Technology", + "Products.productName": "Google Nexus 6", + "Products.subCategory": "Phones", }, 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", + "Products.category": "Technology", + "Products.productName": "Google Nexus 7", + "Products.subCategory": "Phones", }, 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", + "Products.category": "Technology", + "Products.productName": "HTC One", + "Products.subCategory": "Phones", }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-driver querying SwitchSourceTest: filter by switch dimensions 1`] = ` +Array [ 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", + "SwitchSourceTest.city": "Detroit", + "SwitchSourceTest.orderDate": "2020-01-01T00:00:00.000", + "SwitchSourceTest.orderDate.month": "2020-01-01T00:00:00.000", + "SwitchSourceTest.totalSales": "210.98", }, 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", + "SwitchSourceTest.city": "Lorain", + "SwitchSourceTest.orderDate": "2020-01-01T00:00:00.000", + "SwitchSourceTest.orderDate.month": "2020-01-01T00:00:00.000", + "SwitchSourceTest.totalSales": "48.896", }, 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", + "SwitchSourceTest.city": "Decatur", + "SwitchSourceTest.orderDate": "2020-02-01T00:00:00.000", + "SwitchSourceTest.orderDate.month": "2020-02-01T00:00:00.000", + "SwitchSourceTest.totalSales": "18.368", }, 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", + "SwitchSourceTest.city": "Houston", + "SwitchSourceTest.orderDate": "2020-03-01T00:00:00.000", + "SwitchSourceTest.orderDate.month": "2020-03-01T00:00:00.000", + "SwitchSourceTest.totalSales": "2399.96", }, 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", + "SwitchSourceTest.city": "New York City", + "SwitchSourceTest.orderDate": "2020-03-01T00:00:00.000", + "SwitchSourceTest.orderDate.month": "2020-03-01T00:00:00.000", + "SwitchSourceTest.totalSales": "71.6", }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-driver querying SwitchSourceTest: full cross join 1`] = ` +Array [ 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", + "SwitchSourceTest.city": "Detroit", + "SwitchSourceTest.orderDate": "2020-01-01T00:00:00.000", + "SwitchSourceTest.orderDate.month": "2020-01-01T00:00:00.000", + "SwitchSourceTest.totalSales": "1265.88", }, 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", + "SwitchSourceTest.city": "Lorain", + "SwitchSourceTest.orderDate": "2020-01-01T00:00:00.000", + "SwitchSourceTest.orderDate.month": "2020-01-01T00:00:00.000", + "SwitchSourceTest.totalSales": "293.376", }, 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", + "SwitchSourceTest.city": "Decatur", + "SwitchSourceTest.orderDate": "2020-02-01T00:00:00.000", + "SwitchSourceTest.orderDate.month": "2020-02-01T00:00:00.000", + "SwitchSourceTest.totalSales": "110.208", }, 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", + "SwitchSourceTest.city": "Houston", + "SwitchSourceTest.orderDate": "2020-03-01T00:00:00.000", + "SwitchSourceTest.orderDate.month": "2020-03-01T00:00:00.000", + "SwitchSourceTest.totalSales": "14399.76", }, 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", + "SwitchSourceTest.city": "New York City", + "SwitchSourceTest.orderDate": "2020-03-01T00:00:00.000", + "SwitchSourceTest.orderDate.month": "2020-03-01T00:00:00.000", + "SwitchSourceTest.totalSales": "429.6", }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-driver querying SwitchSourceTest: simple cross join 1`] = ` +Array [ 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", + "SwitchSourceTest.city": "Detroit", + "SwitchSourceTest.orderDate": "2020-01-01T00:00:00.000", + "SwitchSourceTest.orderDate.month": "2020-01-01T00:00:00.000", + "SwitchSourceTest.totalSalesA": "421.96", }, 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", + "SwitchSourceTest.city": "Lorain", + "SwitchSourceTest.orderDate": "2020-01-01T00:00:00.000", + "SwitchSourceTest.orderDate.month": "2020-01-01T00:00:00.000", + "SwitchSourceTest.totalSalesA": "97.792", }, 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", + "SwitchSourceTest.city": "Decatur", + "SwitchSourceTest.orderDate": "2020-02-01T00:00:00.000", + "SwitchSourceTest.orderDate.month": "2020-02-01T00:00:00.000", + "SwitchSourceTest.totalSalesA": "36.736", }, 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", + "SwitchSourceTest.city": "Houston", + "SwitchSourceTest.orderDate": "2020-03-01T00:00:00.000", + "SwitchSourceTest.orderDate.month": "2020-03-01T00:00:00.000", + "SwitchSourceTest.totalSalesA": "4799.92", + }, + Object { + "SwitchSourceTest.city": "New York City", + "SwitchSourceTest.orderDate": "2020-03-01T00:00:00.000", + "SwitchSourceTest.orderDate.month": "2020-03-01T00:00:00.000", + "SwitchSourceTest.totalSalesA": "143.2", }, ] `; -exports[`Queries with the @cubejs-backend/pinot-driver querying ECommerce: partitioned pre-agg higher granularity 1`] = ` +exports[`Queries with the @cubejs-backend/pinot-driver querying custom granularities (with preaggregation) ECommerce: totalQuantity by half_year + dimension 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.orderDate.half_year": "2020-01-01T00:00:00.000", + "ECommerce.productName": "Balt Solid Wood Rectangular Table", "ECommerce.totalQuantity": "2", }, 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", + "ECommerce.orderDate.half_year": "2020-01-01T00:00:00.000", + "ECommerce.productName": "Linden 10 Round Wall Clock, Black", + "ECommerce.totalQuantity": "4", }, Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00: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": "7", + "ECommerce.totalQuantity": "5", }, Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00: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.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.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.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00: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.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00: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.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00: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.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.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.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.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.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00: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.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00: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.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.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00: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": "14", - }, - 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", - }, - 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", + "ECommerce.totalQuantity": "3", }, Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00: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": "9", - }, - 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", - }, - 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", + "ECommerce.totalQuantity": "4", }, Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00: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.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00: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.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.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00: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.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.year": "2020-01-01T00: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": "11", + "ECommerce.totalQuantity": "2", }, 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", + "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", }, -] -`; - -exports[`Queries with the @cubejs-backend/pinot-driver querying ECommerce: total sales, total profit by month + order (date) + total -- doesn't work with the BigQuery 1`] = ` -Array [ Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-01-01T00:00:00.000", - "ECommerce.totalProfit": "29.6548", - "ECommerce.totalSales": "259.876", + "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.orderDate": "2020-02-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-02-01T00:00:00.000", - "ECommerce.totalProfit": "6.1992", - "ECommerce.totalSales": "18.368", + "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.orderDate": "2020-03-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-03-01T00:00:00.000", - "ECommerce.totalProfit": "583.5945", - "ECommerce.totalSales": "2471.56", + "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.orderDate": "2020-04-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-04-01T00:00:00.000", - "ECommerce.totalProfit": "6.4176", - "ECommerce.totalSales": "36.672", + "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.orderDate": "2020-05-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-05-01T00:00:00.000", - "ECommerce.totalProfit": "353.6849", - "ECommerce.totalSales": "1288.21", + "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.orderDate": "2020-06-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-06-01T00:00:00.000", - "ECommerce.totalProfit": "34.23609999999999", - "ECommerce.totalSales": "728.7339999999999", + "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", }, Object { - "ECommerce.orderDate": "2020-09-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-09-01T00:00:00.000", - "ECommerce.totalProfit": "461.1332", - "ECommerce.totalSales": "2340.872", + "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.orderDate": "2020-10-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-10-01T00:00:00.000", - "ECommerce.totalProfit": "139.99699999999999", - "ECommerce.totalSales": "2219.468", + "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.orderDate": "2020-11-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-11-01T00:00:00.000", - "ECommerce.totalProfit": "1132.6616999999999", - "ECommerce.totalSales": "5573.922", + "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.orderDate": "2020-12-01T00:00:00.000", - "ECommerce.orderDate.month": "2020-12-01T00:00:00.000", - "ECommerce.totalProfit": "303.97370000000006", - "ECommerce.totalSales": "2434.222", + "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", }, -] -`; - -exports[`Queries with the @cubejs-backend/pinot-driver querying Products: dimensions + order + limit + total 1`] = ` -Array [ Object { - "Products.category": "Furniture", - "Products.productName": "DMI Eclipse Executive Suite Bookcases", - "Products.subCategory": "Bookcases", + "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 { - "Products.category": "Furniture", - "Products.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", - "Products.subCategory": "Bookcases", + "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 { - "Products.category": "Furniture", - "Products.productName": "Harbour Creations 67200 Series Stacking Chairs", - "Products.subCategory": "Chairs", + "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", }, Object { - "Products.category": "Furniture", - "Products.productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", - "Products.subCategory": "Chairs", + "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 { - "Products.category": "Furniture", - "Products.productName": "Linden 10 Round Wall Clock, Black", - "Products.subCategory": "Furnishings", + "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 { - "Products.category": "Furniture", - "Products.productName": "Magna Visual Magnetic Picture Hangers", - "Products.subCategory": "Furnishings", + "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 { - "Products.category": "Furniture", - "Products.productName": "Anderson Hickey Conga Table Tops & Accessories", - "Products.subCategory": "Tables", + "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/pinot-driver querying custom granularities (with preaggregation) ECommerce: totalQuantity by half_year + no dimension 1`] = ` +Array [ Object { - "Products.category": "Furniture", - "Products.productName": "Balt Solid Wood Rectangular Table", - "Products.subCategory": "Tables", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2020-01-01T00:00:00.000", + "ECommerce.totalQuantity": "6", }, Object { - "Products.category": "Office Supplies", - "Products.productName": "OIC #2 Pencils, Medium Soft", - "Products.subCategory": "Art", + "ECommerce.orderDate": "2020-07-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2020-07-01T00:00:00.000", + "ECommerce.totalQuantity": "51", }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", - "Products.subCategory": "Art", + "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/pinot-driver querying Products: dimensions + order + limit 1`] = ` +exports[`Queries with the @cubejs-backend/pinot-driver querying custom granularities ECommerce: count by half_year + dimension 1`] = ` Array [ Object { - "Products.category": "Furniture", - "Products.productName": "DMI Eclipse Executive Suite Bookcases", - "Products.subCategory": "Bookcases", + "ECommerce.city": "Baltimore", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", }, Object { - "Products.category": "Furniture", - "Products.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", - "Products.subCategory": "Bookcases", + "ECommerce.city": "Columbus", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", }, Object { - "Products.category": "Furniture", - "Products.productName": "Harbour Creations 67200 Series Stacking Chairs", - "Products.subCategory": "Chairs", + "ECommerce.city": "Decatur", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", }, Object { - "Products.category": "Furniture", - "Products.productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", - "Products.subCategory": "Chairs", + "ECommerce.city": "Detroit", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", }, Object { - "Products.category": "Furniture", - "Products.productName": "Linden 10 Round Wall Clock, Black", - "Products.subCategory": "Furnishings", + "ECommerce.city": "Houston", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", }, Object { - "Products.category": "Furniture", - "Products.productName": "Magna Visual Magnetic Picture Hangers", - "Products.subCategory": "Furnishings", + "ECommerce.city": "Lorain", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", }, Object { - "Products.category": "Furniture", - "Products.productName": "Anderson Hickey Conga Table Tops & Accessories", - "Products.subCategory": "Tables", + "ECommerce.city": "Louisville", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", }, Object { - "Products.category": "Furniture", - "Products.productName": "Balt Solid Wood Rectangular Table", - "Products.subCategory": "Tables", + "ECommerce.city": "New York City", + "ECommerce.count": "2", + "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", }, Object { - "Products.category": "Office Supplies", - "Products.productName": "OIC #2 Pencils, Medium Soft", - "Products.subCategory": "Art", + "ECommerce.city": "Omaha", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", - "Products.subCategory": "Art", + "ECommerce.city": "Philadelphia", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", }, -] -`; - -exports[`Queries with the @cubejs-backend/pinot-driver querying Products: dimensions + order + total 1`] = ` -Array [ Object { - "Products.category": "Furniture", - "Products.productName": "DMI Eclipse Executive Suite Bookcases", - "Products.subCategory": "Bookcases", + "ECommerce.city": "Arlington", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", }, Object { - "Products.category": "Furniture", - "Products.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", - "Products.subCategory": "Bookcases", + "ECommerce.city": "Auburn", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", }, Object { - "Products.category": "Furniture", - "Products.productName": "Harbour Creations 67200 Series Stacking Chairs", - "Products.subCategory": "Chairs", + "ECommerce.city": "Bakersfield", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", }, Object { - "Products.category": "Furniture", - "Products.productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", - "Products.subCategory": "Chairs", + "ECommerce.city": "Bowling", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", }, Object { - "Products.category": "Furniture", - "Products.productName": "Linden 10 Round Wall Clock, Black", - "Products.subCategory": "Furnishings", + "ECommerce.city": "Columbus", + "ECommerce.count": "7", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", }, Object { - "Products.category": "Furniture", - "Products.productName": "Magna Visual Magnetic Picture Hangers", - "Products.subCategory": "Furnishings", + "ECommerce.city": "Dallas", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", }, Object { - "Products.category": "Furniture", - "Products.productName": "Anderson Hickey Conga Table Tops & Accessories", - "Products.subCategory": "Tables", + "ECommerce.city": "Detroit", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", }, Object { - "Products.category": "Furniture", - "Products.productName": "Balt Solid Wood Rectangular Table", - "Products.subCategory": "Tables", + "ECommerce.city": "Glendale", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", }, Object { - "Products.category": "Office Supplies", - "Products.productName": "OIC #2 Pencils, Medium Soft", - "Products.subCategory": "Art", + "ECommerce.city": "Lakewood", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", - "Products.subCategory": "Art", + "ECommerce.city": "Los Angeles", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", - "Products.subCategory": "Envelopes", + "ECommerce.city": "Marion", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Wausau Papers Astrobrights Colored Envelopes", - "Products.subCategory": "Envelopes", + "ECommerce.city": "Morristown", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Plymouth Boxed Rubber Bands by Plymouth", - "Products.subCategory": "Fasteners", + "ECommerce.city": "New York City", + "ECommerce.count": "3", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", - "Products.subCategory": "Fasteners", + "ECommerce.city": "Olympia", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Project Tote Personal File", - "Products.subCategory": "Storage", + "ECommerce.city": "Philadelphia", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Recycled Eldon Regeneration Jumbo File", - "Products.subCategory": "Storage", + "ECommerce.city": "Provo", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", }, Object { - "Products.category": "Technology", - "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.0", - "Products.subCategory": "Accessories", + "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", }, Object { - "Products.category": "Technology", - "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.1", - "Products.subCategory": "Accessories", + "ECommerce.city": "Vancouver", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", }, Object { - "Products.category": "Technology", - "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.2", - "Products.subCategory": "Accessories", + "ECommerce.city": "Columbus", + "ECommerce.count": "4", + "ECommerce.customOrderDateNoPreAgg": "2021-01-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2021-01-01T00:00:00.000", }, Object { - "Products.category": "Technology", - "Products.productName": "Logitech di_Novo Edge Keyboard", - "Products.subCategory": "Accessories", + "ECommerce.city": "Lafayette", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2021-01-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2021-01-01T00:00:00.000", }, Object { - "Products.category": "Technology", - "Products.productName": "Canon PC1080F Personal Copier", - "Products.subCategory": "Copiers", + "ECommerce.city": "Oakland", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2021-01-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2021-01-01T00:00:00.000", }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-driver querying custom granularities ECommerce: count by half_year + no dimension 1`] = ` +Array [ Object { - "Products.category": "Technology", - "Products.productName": "Hewlett Packard 610 Color Digital Copier / Printer", - "Products.subCategory": "Copiers", + "ECommerce.count": "11", + "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", }, Object { - "Products.category": "Technology", - "Products.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", - "Products.subCategory": "Machines", + "ECommerce.count": "27", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + }, + Object { + "ECommerce.count": "6", + "ECommerce.customOrderDateNoPreAgg": "2021-01-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2021-01-01T00:00:00.000", }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-driver querying custom granularities ECommerce: count by half_year_by_1st_april + dimension 1`] = ` +Array [ Object { - "Products.category": "Technology", - "Products.productName": "Okidata C610n Printer", - "Products.subCategory": "Machines", + "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 { - "Products.category": "Technology", - "Products.productName": "Google Nexus 5", - "Products.subCategory": "Phones", + "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 { - "Products.category": "Technology", - "Products.productName": "Google Nexus 6", - "Products.subCategory": "Phones", + "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", }, Object { - "Products.category": "Technology", - "Products.productName": "Google Nexus 7", - "Products.subCategory": "Phones", + "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", }, Object { - "Products.category": "Technology", - "Products.productName": "HTC One", - "Products.subCategory": "Phones", + "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", }, -] -`; - -exports[`Queries with the @cubejs-backend/pinot-driver querying Products: dimensions + order 1`] = ` -Array [ Object { - "Products.category": "Furniture", - "Products.productName": "DMI Eclipse Executive Suite Bookcases", - "Products.subCategory": "Bookcases", + "ECommerce.city": "Columbus", + "ECommerce.count": "3", + "ECommerce.customOrderDateNoPreAgg": "2020-04-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-01T00:00:00.000", }, Object { - "Products.category": "Furniture", - "Products.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", - "Products.subCategory": "Bookcases", + "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", }, Object { - "Products.category": "Furniture", - "Products.productName": "Harbour Creations 67200 Series Stacking Chairs", - "Products.subCategory": "Chairs", + "ECommerce.city": "Houston", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-04-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-01T00:00:00.000", }, Object { - "Products.category": "Furniture", - "Products.productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", - "Products.subCategory": "Chairs", + "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", }, Object { - "Products.category": "Furniture", - "Products.productName": "Linden 10 Round Wall Clock, Black", - "Products.subCategory": "Furnishings", + "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", }, Object { - "Products.category": "Furniture", - "Products.productName": "Magna Visual Magnetic Picture Hangers", - "Products.subCategory": "Furnishings", + "ECommerce.city": "New York City", + "ECommerce.count": "4", + "ECommerce.customOrderDateNoPreAgg": "2020-04-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-01T00:00:00.000", }, Object { - "Products.category": "Furniture", - "Products.productName": "Anderson Hickey Conga Table Tops & Accessories", - "Products.subCategory": "Tables", + "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", }, Object { - "Products.category": "Furniture", - "Products.productName": "Balt Solid Wood Rectangular Table", - "Products.subCategory": "Tables", + "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", }, Object { - "Products.category": "Office Supplies", - "Products.productName": "OIC #2 Pencils, Medium Soft", - "Products.subCategory": "Art", + "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", }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", - "Products.subCategory": "Art", + "ECommerce.city": "Arlington", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-10-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-01T00:00:00.000", }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", - "Products.subCategory": "Envelopes", + "ECommerce.city": "Bakersfield", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-10-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-01T00:00:00.000", }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Wausau Papers Astrobrights Colored Envelopes", - "Products.subCategory": "Envelopes", + "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", }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Plymouth Boxed Rubber Bands by Plymouth", - "Products.subCategory": "Fasteners", + "ECommerce.city": "Columbus", + "ECommerce.count": "9", + "ECommerce.customOrderDateNoPreAgg": "2020-10-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-01T00:00:00.000", }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", - "Products.subCategory": "Fasteners", + "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", }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Project Tote Personal File", - "Products.subCategory": "Storage", + "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", }, Object { - "Products.category": "Office Supplies", - "Products.productName": "Recycled Eldon Regeneration Jumbo File", - "Products.subCategory": "Storage", + "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", }, Object { - "Products.category": "Technology", - "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.0", - "Products.subCategory": "Accessories", + "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", }, Object { - "Products.category": "Technology", - "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.1", - "Products.subCategory": "Accessories", + "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", }, Object { - "Products.category": "Technology", - "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.2", - "Products.subCategory": "Accessories", + "ECommerce.city": "Morristown", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-10-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-01T00:00:00.000", }, Object { - "Products.category": "Technology", - "Products.productName": "Logitech di_Novo Edge Keyboard", - "Products.subCategory": "Accessories", + "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", }, Object { - "Products.category": "Technology", - "Products.productName": "Canon PC1080F Personal Copier", - "Products.subCategory": "Copiers", + "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", }, Object { - "Products.category": "Technology", - "Products.productName": "Hewlett Packard 610 Color Digital Copier / Printer", - "Products.subCategory": "Copiers", + "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", }, Object { - "Products.category": "Technology", - "Products.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", - "Products.subCategory": "Machines", + "ECommerce.city": "Provo", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-10-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-01T00:00:00.000", }, Object { - "Products.category": "Technology", - "Products.productName": "Okidata C610n Printer", - "Products.subCategory": "Machines", + "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", }, Object { - "Products.category": "Technology", - "Products.productName": "Google Nexus 5", - "Products.subCategory": "Phones", + "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", }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-driver querying custom granularities ECommerce: count by half_year_by_1st_april + no dimension 1`] = ` +Array [ Object { - "Products.category": "Technology", - "Products.productName": "Google Nexus 6", - "Products.subCategory": "Phones", + "ECommerce.count": "3", + "ECommerce.customOrderDateNoPreAgg": "2019-10-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2019-10-01T00:00:00.000", }, Object { - "Products.category": "Technology", - "Products.productName": "Google Nexus 7", - "Products.subCategory": "Phones", + "ECommerce.count": "16", + "ECommerce.customOrderDateNoPreAgg": "2020-04-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-01T00:00:00.000", }, Object { - "Products.category": "Technology", - "Products.productName": "HTC One", - "Products.subCategory": "Phones", + "ECommerce.count": "25", + "ECommerce.customOrderDateNoPreAgg": "2020-10-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-01T00:00:00.000", }, ] `; -exports[`Queries with the @cubejs-backend/pinot-driver querying SwitchSourceTest: filter by switch dimensions 1`] = ` +exports[`Queries with the @cubejs-backend/pinot-driver querying custom granularities ECommerce: count by three_months_by_march + dimension 1`] = ` Array [ Object { - "SwitchSourceTest.city": "Detroit", - "SwitchSourceTest.orderDate": "2020-01-01T00:00:00.000", - "SwitchSourceTest.orderDate.month": "2020-01-01T00:00:00.000", - "SwitchSourceTest.totalSales": "210.98", + "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 { - "SwitchSourceTest.city": "Lorain", - "SwitchSourceTest.orderDate": "2020-01-01T00:00:00.000", - "SwitchSourceTest.orderDate.month": "2020-01-01T00:00:00.000", - "SwitchSourceTest.totalSales": "48.896", + "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 { - "SwitchSourceTest.city": "Decatur", - "SwitchSourceTest.orderDate": "2020-02-01T00:00:00.000", - "SwitchSourceTest.orderDate.month": "2020-02-01T00:00:00.000", - "SwitchSourceTest.totalSales": "18.368", + "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 { - "SwitchSourceTest.city": "Houston", - "SwitchSourceTest.orderDate": "2020-03-01T00:00:00.000", - "SwitchSourceTest.orderDate.month": "2020-03-01T00:00:00.000", - "SwitchSourceTest.totalSales": "2399.96", + "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", }, Object { - "SwitchSourceTest.city": "New York City", - "SwitchSourceTest.orderDate": "2020-03-01T00:00:00.000", - "SwitchSourceTest.orderDate.month": "2020-03-01T00:00:00.000", - "SwitchSourceTest.totalSales": "71.6", + "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", }, -] -`; - -exports[`Queries with the @cubejs-backend/pinot-driver querying SwitchSourceTest: full cross join 1`] = ` -Array [ Object { - "SwitchSourceTest.city": "Detroit", - "SwitchSourceTest.orderDate": "2020-01-01T00:00:00.000", - "SwitchSourceTest.orderDate.month": "2020-01-01T00:00:00.000", - "SwitchSourceTest.totalSales": "1265.88", + "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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", }, Object { - "SwitchSourceTest.city": "Lorain", - "SwitchSourceTest.orderDate": "2020-01-01T00:00:00.000", - "SwitchSourceTest.orderDate.month": "2020-01-01T00:00:00.000", - "SwitchSourceTest.totalSales": "293.376", + "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", }, Object { - "SwitchSourceTest.city": "Decatur", - "SwitchSourceTest.orderDate": "2020-02-01T00:00:00.000", - "SwitchSourceTest.orderDate.month": "2020-02-01T00:00:00.000", - "SwitchSourceTest.totalSales": "110.208", + "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", }, Object { - "SwitchSourceTest.city": "Houston", - "SwitchSourceTest.orderDate": "2020-03-01T00:00:00.000", - "SwitchSourceTest.orderDate.month": "2020-03-01T00:00:00.000", - "SwitchSourceTest.totalSales": "14399.76", + "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", }, Object { - "SwitchSourceTest.city": "New York City", - "SwitchSourceTest.orderDate": "2020-03-01T00:00:00.000", - "SwitchSourceTest.orderDate.month": "2020-03-01T00:00:00.000", - "SwitchSourceTest.totalSales": "429.6", + "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", }, -] -`; - -exports[`Queries with the @cubejs-backend/pinot-driver querying SwitchSourceTest: simple cross join 1`] = ` -Array [ Object { - "SwitchSourceTest.city": "Detroit", - "SwitchSourceTest.orderDate": "2020-01-01T00:00:00.000", - "SwitchSourceTest.orderDate.month": "2020-01-01T00:00:00.000", - "SwitchSourceTest.totalSalesA": "421.96", + "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", }, Object { - "SwitchSourceTest.city": "Lorain", - "SwitchSourceTest.orderDate": "2020-01-01T00:00:00.000", - "SwitchSourceTest.orderDate.month": "2020-01-01T00:00:00.000", - "SwitchSourceTest.totalSalesA": "97.792", + "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", }, Object { - "SwitchSourceTest.city": "Decatur", - "SwitchSourceTest.orderDate": "2020-02-01T00:00:00.000", - "SwitchSourceTest.orderDate.month": "2020-02-01T00:00:00.000", - "SwitchSourceTest.totalSalesA": "36.736", + "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", }, Object { - "SwitchSourceTest.city": "Houston", - "SwitchSourceTest.orderDate": "2020-03-01T00:00:00.000", - "SwitchSourceTest.orderDate.month": "2020-03-01T00:00:00.000", - "SwitchSourceTest.totalSalesA": "4799.92", + "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", }, Object { - "SwitchSourceTest.city": "New York City", - "SwitchSourceTest.orderDate": "2020-03-01T00:00:00.000", - "SwitchSourceTest.orderDate.month": "2020-03-01T00:00:00.000", - "SwitchSourceTest.totalSalesA": "143.2", + "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", }, -] -`; - -exports[`Queries with the @cubejs-backend/pinot-driver querying custom granularities (with preaggregation) ECommerce: totalQuantity by half_year + dimension 1`] = ` -Array [ Object { - "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", + "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", }, Object { - "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", + "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", }, Object { - "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", + "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", }, Object { - "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", + "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", }, Object { - "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", + "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", }, Object { - "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", + "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", }, Object { - "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", + "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", }, Object { - "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", + "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", }, Object { - "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", + "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", }, Object { - "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", + "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", }, Object { - "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", + "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", }, Object { - "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", + "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", }, Object { - "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", + "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", }, Object { - "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", + "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", }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-driver querying custom granularities ECommerce: count by three_months_by_march + no dimension 1`] = ` +Array [ Object { - "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", + "ECommerce.count": "3", + "ECommerce.customOrderDateNoPreAgg": "2019-12-12T21:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2019-12-12T21:00:00.000", }, Object { - "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", + "ECommerce.count": "12", + "ECommerce.customOrderDateNoPreAgg": "2020-03-15T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-03-15T00:00:00.000", }, Object { - "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", + "ECommerce.count": "8", + "ECommerce.customOrderDateNoPreAgg": "2020-06-16T03:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-06-16T03:00:00.000", }, Object { - "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", + "ECommerce.count": "19", + "ECommerce.customOrderDateNoPreAgg": "2020-09-17T06:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-17T06:00:00.000", }, Object { - "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", + "ECommerce.count": "2", + "ECommerce.customOrderDateNoPreAgg": "2020-12-19T09:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-12-19T09:00:00.000", }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-driver querying custom granularities ECommerce: count by two_mo_by_feb + no dimension + rollingCountByLeading 1`] = ` +Array [ Object { - "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", + "ECommerce.customOrderDateNoPreAgg": "2019-12-01T10:00:00.000", + "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2019-12-01T10:00:00.000", + "ECommerce.rollingCountByLeading": "8", }, Object { - "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", + "ECommerce.customOrderDateNoPreAgg": "2020-02-01T10:00:00.000", + "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-02-01T10:00:00.000", + "ECommerce.rollingCountByLeading": "12", }, Object { - "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", + "ECommerce.customOrderDateNoPreAgg": "2020-04-01T10:00:00.000", + "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-04-01T10:00:00.000", + "ECommerce.rollingCountByLeading": "6", }, Object { - "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", + "ECommerce.customOrderDateNoPreAgg": "2020-06-01T10:00:00.000", + "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-06-01T10:00:00.000", + "ECommerce.rollingCountByLeading": "19", }, Object { - "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", + "ECommerce.customOrderDateNoPreAgg": "2020-08-01T10:00:00.000", + "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-08-01T10:00:00.000", + "ECommerce.rollingCountByLeading": "16", }, Object { - "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", + "ECommerce.customOrderDateNoPreAgg": "2020-10-01T10:00:00.000", + "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-10-01T10:00:00.000", + "ECommerce.rollingCountByLeading": null, }, Object { - "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", + "ECommerce.customOrderDateNoPreAgg": "2020-12-01T10:00:00.000", + "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-12-01T10:00:00.000", + "ECommerce.rollingCountByLeading": null, }, +] +`; + +exports[`Queries with the @cubejs-backend/pinot-driver querying custom granularities ECommerce: count by two_mo_by_feb + no dimension + rollingCountByTrailing 1`] = ` +Array [ Object { - "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", + "ECommerce.customOrderDateNoPreAgg": "2019-12-01T10:00:00.000", + "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2019-12-01T10:00:00.000", + "ECommerce.rollingCountByTrailing": "3", }, Object { - "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", + "ECommerce.customOrderDateNoPreAgg": "2020-02-01T10:00:00.000", + "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-02-01T10:00:00.000", + "ECommerce.rollingCountByTrailing": "3", }, Object { - "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", + "ECommerce.customOrderDateNoPreAgg": "2020-04-01T10:00:00.000", + "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-04-01T10:00:00.000", + "ECommerce.rollingCountByTrailing": "12", }, Object { - "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", + "ECommerce.customOrderDateNoPreAgg": "2020-06-01T10:00:00.000", + "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-06-01T10:00:00.000", + "ECommerce.rollingCountByTrailing": null, }, Object { - "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", + "ECommerce.customOrderDateNoPreAgg": "2020-08-01T10:00:00.000", + "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-08-01T10:00:00.000", + "ECommerce.rollingCountByTrailing": "10", }, Object { - "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", + "ECommerce.customOrderDateNoPreAgg": "2020-10-01T10:00:00.000", + "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-10-01T10:00:00.000", + "ECommerce.rollingCountByTrailing": "16", }, Object { - "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", + "ECommerce.customOrderDateNoPreAgg": "2020-12-01T10:00:00.000", + "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-12-01T10:00:00.000", + "ECommerce.rollingCountByTrailing": null, }, ] `; -exports[`Queries with the @cubejs-backend/pinot-driver querying custom granularities (with preaggregation) ECommerce: totalQuantity by half_year + no dimension 1`] = ` +exports[`Queries with the @cubejs-backend/pinot-driver querying custom granularities ECommerce: count by two_mo_by_feb + no dimension + rollingCountByUnbounded 1`] = ` Array [ Object { - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderDate.half_year": "2020-01-01T00:00:00.000", - "ECommerce.totalQuantity": "6", + "ECommerce.customOrderDateNoPreAgg": "2019-12-01T10:00:00.000", + "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2019-12-01T10:00:00.000", + "ECommerce.rollingCountByUnbounded": "3", }, Object { - "ECommerce.orderDate": "2020-07-01T00:00:00.000", - "ECommerce.orderDate.half_year": "2020-07-01T00:00:00.000", - "ECommerce.totalQuantity": "51", + "ECommerce.customOrderDateNoPreAgg": "2020-02-01T10:00:00.000", + "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-02-01T10:00:00.000", + "ECommerce.rollingCountByUnbounded": "6", }, Object { - "ECommerce.orderDate": "2021-01-01T00:00:00.000", - "ECommerce.orderDate.half_year": "2021-01-01T00:00:00.000", - "ECommerce.totalQuantity": "103", + "ECommerce.customOrderDateNoPreAgg": "2020-04-01T10:00:00.000", + "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-04-01T10:00:00.000", + "ECommerce.rollingCountByUnbounded": "18", + }, + Object { + "ECommerce.customOrderDateNoPreAgg": "2020-06-01T10:00:00.000", + "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-06-01T10:00:00.000", + "ECommerce.rollingCountByUnbounded": "18", + }, + Object { + "ECommerce.customOrderDateNoPreAgg": "2020-08-01T10:00:00.000", + "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-08-01T10:00:00.000", + "ECommerce.rollingCountByUnbounded": "28", + }, + Object { + "ECommerce.customOrderDateNoPreAgg": "2020-10-01T10:00:00.000", + "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-10-01T10:00:00.000", + "ECommerce.rollingCountByUnbounded": "44", + }, + Object { + "ECommerce.customOrderDateNoPreAgg": "2020-12-01T10:00:00.000", + "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-12-01T10:00:00.000", + "ECommerce.rollingCountByUnbounded": "44", }, ] `; From cc1f0782e71c3bddf0cf101786b28a589bac9e14 Mon Sep 17 00:00:00 2001 From: Dmitry Patsura Date: Mon, 13 Jul 2026 23:33:22 +0200 Subject: [PATCH 2/2] v1.7.2 --- CHANGELOG.md | 19 ++++++ lerna.json | 2 +- packages/cubejs-api-gateway/CHANGELOG.md | 4 ++ packages/cubejs-api-gateway/package.json | 10 ++-- packages/cubejs-athena-driver/CHANGELOG.md | 4 ++ packages/cubejs-athena-driver/package.json | 10 ++-- packages/cubejs-backend-cloud/CHANGELOG.md | 4 ++ packages/cubejs-backend-cloud/package.json | 6 +- packages/cubejs-backend-maven/CHANGELOG.md | 4 ++ packages/cubejs-backend-maven/package.json | 6 +- packages/cubejs-backend-native/CHANGELOG.md | 6 ++ packages/cubejs-backend-native/package.json | 8 +-- packages/cubejs-backend-shared/CHANGELOG.md | 4 ++ packages/cubejs-backend-shared/package.json | 4 +- packages/cubejs-base-driver/CHANGELOG.md | 4 ++ packages/cubejs-base-driver/package.json | 6 +- packages/cubejs-bigquery-driver/CHANGELOG.md | 4 ++ packages/cubejs-bigquery-driver/package.json | 8 +-- packages/cubejs-cli/CHANGELOG.md | 4 ++ packages/cubejs-cli/package.json | 12 ++-- .../cubejs-clickhouse-driver/CHANGELOG.md | 4 ++ .../cubejs-clickhouse-driver/package.json | 10 ++-- packages/cubejs-client-core/CHANGELOG.md | 4 ++ packages/cubejs-client-core/package.json | 4 +- packages/cubejs-client-dx/CHANGELOG.md | 4 ++ packages/cubejs-client-dx/package.json | 2 +- packages/cubejs-client-ngx/CHANGELOG.md | 4 ++ packages/cubejs-client-ngx/package.json | 2 +- packages/cubejs-client-react/CHANGELOG.md | 4 ++ packages/cubejs-client-react/package.json | 4 +- packages/cubejs-client-vue3/CHANGELOG.md | 4 ++ packages/cubejs-client-vue3/package.json | 4 +- .../cubejs-client-ws-transport/CHANGELOG.md | 4 ++ .../cubejs-client-ws-transport/package.json | 6 +- packages/cubejs-crate-driver/CHANGELOG.md | 4 ++ packages/cubejs-crate-driver/package.json | 10 ++-- packages/cubejs-cubestore-driver/CHANGELOG.md | 4 ++ packages/cubejs-cubestore-driver/package.json | 12 ++-- .../CHANGELOG.md | 4 ++ .../package.json | 12 ++-- .../cubejs-dbt-schema-extension/CHANGELOG.md | 4 ++ .../cubejs-dbt-schema-extension/package.json | 8 +-- packages/cubejs-docker/CHANGELOG.md | 4 ++ packages/cubejs-docker/package.json | 58 +++++++++---------- packages/cubejs-dremio-driver/CHANGELOG.md | 4 ++ packages/cubejs-dremio-driver/package.json | 12 ++-- packages/cubejs-druid-driver/CHANGELOG.md | 4 ++ packages/cubejs-druid-driver/package.json | 10 ++-- packages/cubejs-duckdb-driver/CHANGELOG.md | 4 ++ packages/cubejs-duckdb-driver/package.json | 12 ++-- packages/cubejs-firebolt-driver/CHANGELOG.md | 4 ++ packages/cubejs-firebolt-driver/package.json | 12 ++-- packages/cubejs-hive-driver/CHANGELOG.md | 4 ++ packages/cubejs-hive-driver/package.json | 8 +-- packages/cubejs-jdbc-driver/CHANGELOG.md | 4 ++ packages/cubejs-jdbc-driver/package.json | 8 +-- packages/cubejs-ksql-driver/CHANGELOG.md | 4 ++ packages/cubejs-ksql-driver/package.json | 10 ++-- packages/cubejs-linter/CHANGELOG.md | 4 ++ packages/cubejs-linter/package.json | 2 +- .../cubejs-materialize-driver/CHANGELOG.md | 4 ++ .../cubejs-materialize-driver/package.json | 12 ++-- packages/cubejs-mongobi-driver/CHANGELOG.md | 4 ++ packages/cubejs-mongobi-driver/package.json | 8 +-- packages/cubejs-mssql-driver/CHANGELOG.md | 4 ++ packages/cubejs-mssql-driver/package.json | 6 +- .../CHANGELOG.md | 4 ++ .../package.json | 8 +-- packages/cubejs-mysql-driver/CHANGELOG.md | 4 ++ packages/cubejs-mysql-driver/package.json | 10 ++-- packages/cubejs-oracle-driver/CHANGELOG.md | 4 ++ packages/cubejs-oracle-driver/package.json | 6 +- packages/cubejs-pinot-driver/CHANGELOG.md | 11 ++++ packages/cubejs-pinot-driver/package.json | 10 ++-- packages/cubejs-playground/CHANGELOG.md | 4 ++ packages/cubejs-playground/package.json | 6 +- packages/cubejs-postgres-driver/CHANGELOG.md | 4 ++ packages/cubejs-postgres-driver/package.json | 10 ++-- packages/cubejs-prestodb-driver/CHANGELOG.md | 4 ++ packages/cubejs-prestodb-driver/package.json | 8 +-- .../cubejs-query-orchestrator/CHANGELOG.md | 4 ++ .../cubejs-query-orchestrator/package.json | 10 ++-- packages/cubejs-questdb-driver/CHANGELOG.md | 4 ++ packages/cubejs-questdb-driver/package.json | 12 ++-- packages/cubejs-redshift-driver/CHANGELOG.md | 4 ++ packages/cubejs-redshift-driver/package.json | 10 ++-- packages/cubejs-schema-compiler/CHANGELOG.md | 7 +++ packages/cubejs-schema-compiler/package.json | 12 ++-- packages/cubejs-server-core/CHANGELOG.md | 4 ++ packages/cubejs-server-core/package.json | 24 ++++---- packages/cubejs-server/CHANGELOG.md | 4 ++ packages/cubejs-server/package.json | 14 ++--- packages/cubejs-snowflake-driver/CHANGELOG.md | 4 ++ packages/cubejs-snowflake-driver/package.json | 8 +-- packages/cubejs-sqlite-driver/CHANGELOG.md | 4 ++ packages/cubejs-sqlite-driver/package.json | 8 +-- packages/cubejs-templates/CHANGELOG.md | 4 ++ packages/cubejs-templates/package.json | 6 +- packages/cubejs-testing-drivers/CHANGELOG.md | 7 +++ packages/cubejs-testing-drivers/package.json | 40 ++++++------- packages/cubejs-testing-shared/CHANGELOG.md | 4 ++ packages/cubejs-testing-shared/package.json | 10 ++-- packages/cubejs-testing/CHANGELOG.md | 4 ++ packages/cubejs-testing/package.json | 22 +++---- packages/cubejs-trino-driver/CHANGELOG.md | 4 ++ packages/cubejs-trino-driver/package.json | 12 ++-- packages/cubejs-vertica-driver/CHANGELOG.md | 4 ++ packages/cubejs-vertica-driver/package.json | 14 ++--- rust/cubesql/CHANGELOG.md | 10 ++++ rust/cubesql/package.json | 2 +- rust/cubestore/CHANGELOG.md | 4 ++ rust/cubestore/Cargo.lock | 2 +- rust/cubestore/cubestore/Cargo.toml | 2 +- rust/cubestore/package.json | 6 +- 114 files changed, 548 insertions(+), 288 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ced1dd673d0cf..82422c8e669c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,25 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +### Bug Fixes + +- **cubesql:** Keep distinct aliases for same-named columns across join sides ([#11197](https://github.com/cube-js/cube/issues/11197)) ([6129ec7](https://github.com/cube-js/cube/commit/6129ec73d8b0e5c55bba9d8a079ae7e1ab970879)) +- **pinot-driver:** Initial support for Tesseract, thanks [@seanm-stripe](https://github.com/seanm-stripe) ([#11001](https://github.com/cube-js/cube/issues/11001)) ([f182019](https://github.com/cube-js/cube/commit/f1820198c499c21c76964f5a2056185c07ee19ca)) +- **schema-compiler:** Pass query-level join hints to native pre-aggregation matching ([#11221](https://github.com/cube-js/cube/issues/11221)) ([79faaa3](https://github.com/cube-js/cube/commit/79faaa3166b739b8f99b41b8eae8d25e0593468a)) +- **schema-compiler:** resolve multi-stage order_by against owning cube through views ([#11224](https://github.com/cube-js/cube/issues/11224)) ([6e54e9e](https://github.com/cube-js/cube/commit/6e54e9e7aa655d663fe15f9668fae0ebd6e9a46f)) +- **tesseract:** Reuse same placeholder for repeated native params ([#11222](https://github.com/cube-js/cube/issues/11222)) ([dc5b2ed](https://github.com/cube-js/cube/commit/dc5b2ed1807b3669a060a4ce12d44d8198342bf2)) + +### Features + +- **pinot-driver:** Retrieve types from database + small fixes ([#11241](https://github.com/cube-js/cube/issues/11241)) ([222dece](https://github.com/cube-js/cube/commit/222dece5469d94afda95157c82fef8944652ed7d)) +- **pinot-driver:** Tesseract SQL dialect fixes + incorrect timeout bug ([#11242](https://github.com/cube-js/cube/issues/11242)) ([076ad77](https://github.com/cube-js/cube/commit/076ad775254a9dcc105825315044bb41a17edf91)), closes [#11238](https://github.com/cube-js/cube/issues/11238) [#11239](https://github.com/cube-js/cube/issues/11239) [#11237](https://github.com/cube-js/cube/issues/11237) + +### Performance Improvements + +- **cubesql:** Migrate streaming to columnar JSON batches, 40-80% ([#11232](https://github.com/cube-js/cube/issues/11232)) ([7b4b124](https://github.com/cube-js/cube/commit/7b4b124e559867b992f8dafcb81f3b3082884c9a)) + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) ### Bug Fixes diff --git a/lerna.json b/lerna.json index 994bf044035f0..1430be3e1889d 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "1.7.1", + "version": "1.7.2", "npmClient": "yarn", "command": { "bootstrap": { diff --git a/packages/cubejs-api-gateway/CHANGELOG.md b/packages/cubejs-api-gateway/CHANGELOG.md index c62e869d827da..0515a47050087 100644 --- a/packages/cubejs-api-gateway/CHANGELOG.md +++ b/packages/cubejs-api-gateway/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/api-gateway + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) ### Bug Fixes diff --git a/packages/cubejs-api-gateway/package.json b/packages/cubejs-api-gateway/package.json index d2358a2c4e274..2411d9d6d047e 100644 --- a/packages/cubejs-api-gateway/package.json +++ b/packages/cubejs-api-gateway/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/api-gateway", "description": "Cube API Gateway", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -27,9 +27,9 @@ "dist/src/*" ], "dependencies": { - "@cubejs-backend/native": "1.7.1", - "@cubejs-backend/query-orchestrator": "1.7.1", - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/native": "1.7.2", + "@cubejs-backend/query-orchestrator": "1.7.2", + "@cubejs-backend/shared": "1.7.2", "@ungap/structured-clone": "^0.3.4", "assert-never": "^1.4.0", "body-parser": "^1.19.0", @@ -53,7 +53,7 @@ "zod": "^4.1.13" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.1", + "@cubejs-backend/linter": "1.7.2", "@types/express": "^4.17.21", "@types/jest": "^29", "@types/jsonwebtoken": "^9.0.2", diff --git a/packages/cubejs-athena-driver/CHANGELOG.md b/packages/cubejs-athena-driver/CHANGELOG.md index 641586a40c9fe..7e37926fb37b9 100644 --- a/packages/cubejs-athena-driver/CHANGELOG.md +++ b/packages/cubejs-athena-driver/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/athena-driver + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/athena-driver diff --git a/packages/cubejs-athena-driver/package.json b/packages/cubejs-athena-driver/package.json index 1c83c183698e2..902ab3b572ab1 100644 --- a/packages/cubejs-athena-driver/package.json +++ b/packages/cubejs-athena-driver/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/athena-driver", "description": "Cube.js Athena database driver", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -30,13 +30,13 @@ "dependencies": { "@aws-sdk/client-athena": "^3.22.0", "@aws-sdk/credential-providers": "^3.22.0", - "@cubejs-backend/base-driver": "1.7.1", - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/base-driver": "1.7.2", + "@cubejs-backend/shared": "1.7.2", "sqlstring": "^2.3.1" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.1", - "@cubejs-backend/testing-shared": "1.7.1", + "@cubejs-backend/linter": "1.7.2", + "@cubejs-backend/testing-shared": "1.7.2", "@types/ramda": "^0.27.40", "typescript": "~5.2.2" }, diff --git a/packages/cubejs-backend-cloud/CHANGELOG.md b/packages/cubejs-backend-cloud/CHANGELOG.md index 703dfcd57f278..66d7e05ef904b 100644 --- a/packages/cubejs-backend-cloud/CHANGELOG.md +++ b/packages/cubejs-backend-cloud/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/cloud + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/cloud diff --git a/packages/cubejs-backend-cloud/package.json b/packages/cubejs-backend-cloud/package.json index dd6ce215f3542..88ca5f2547ffa 100644 --- a/packages/cubejs-backend-cloud/package.json +++ b/packages/cubejs-backend-cloud/package.json @@ -1,6 +1,6 @@ { "name": "@cubejs-backend/cloud", - "version": "1.7.1", + "version": "1.7.2", "description": "Cube Cloud package", "main": "dist/src/index.js", "typings": "dist/src/index.d.ts", @@ -30,7 +30,7 @@ "devDependencies": { "@babel/core": "^7.24.5", "@babel/preset-env": "^7.24.5", - "@cubejs-backend/linter": "1.7.1", + "@cubejs-backend/linter": "1.7.2", "@types/fs-extra": "^9.0.8", "@types/jest": "^29", "jest": "^29", @@ -38,7 +38,7 @@ }, "dependencies": { "@cubejs-backend/dotenv": "^9.0.2", - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/shared": "1.7.2", "chokidar": "^3.5.1", "env-var": "^6.3.0", "form-data": "^4.0.0", diff --git a/packages/cubejs-backend-maven/CHANGELOG.md b/packages/cubejs-backend-maven/CHANGELOG.md index a179a196f981d..1b2e0e248c617 100644 --- a/packages/cubejs-backend-maven/CHANGELOG.md +++ b/packages/cubejs-backend-maven/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/maven + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/maven diff --git a/packages/cubejs-backend-maven/package.json b/packages/cubejs-backend-maven/package.json index 243ab5d627121..de5399f4b2dc8 100644 --- a/packages/cubejs-backend-maven/package.json +++ b/packages/cubejs-backend-maven/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/maven", "description": "Cube.js Maven Wrapper for java dependencies downloading", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "license": "Apache-2.0", "repository": { "type": "git", @@ -31,12 +31,12 @@ "dist/src/*" ], "dependencies": { - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/shared": "1.7.2", "source-map-support": "^0.5.19", "xmlbuilder2": "^2.4.0" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.1", + "@cubejs-backend/linter": "1.7.2", "@types/jest": "^29", "@types/node": "^22", "jest": "^29", diff --git a/packages/cubejs-backend-native/CHANGELOG.md b/packages/cubejs-backend-native/CHANGELOG.md index e67155d98f13c..ff6c5a8ac68ab 100644 --- a/packages/cubejs-backend-native/CHANGELOG.md +++ b/packages/cubejs-backend-native/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +### Performance Improvements + +- **cubesql:** Migrate streaming to columnar JSON batches, 40-80% ([#11232](https://github.com/cube-js/cube/issues/11232)) ([7b4b124](https://github.com/cube-js/cube/commit/7b4b124e559867b992f8dafcb81f3b3082884c9a)) + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) ### Bug Fixes diff --git a/packages/cubejs-backend-native/package.json b/packages/cubejs-backend-native/package.json index 026153a1720ab..ae99e633e3f9f 100644 --- a/packages/cubejs-backend-native/package.json +++ b/packages/cubejs-backend-native/package.json @@ -1,6 +1,6 @@ { "name": "@cubejs-backend/native", - "version": "1.7.1", + "version": "1.7.2", "author": "Cube Dev, Inc.", "description": "Native module for Cube.js (binding to Rust codebase)", "main": "dist/js/index.js", @@ -39,7 +39,7 @@ "dist/js" ], "devDependencies": { - "@cubejs-backend/linter": "1.7.1", + "@cubejs-backend/linter": "1.7.2", "@types/jest": "^29", "@types/node": "^22", "cargo-cp-artifact": "^0.1.9", @@ -50,8 +50,8 @@ "uuid": "^8.3.2" }, "dependencies": { - "@cubejs-backend/cubesql": "1.7.1", - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/cubesql": "1.7.2", + "@cubejs-backend/shared": "1.7.2", "@cubejs-infra/post-installer": "^0.0.7" }, "resources": { diff --git a/packages/cubejs-backend-shared/CHANGELOG.md b/packages/cubejs-backend-shared/CHANGELOG.md index 272a4c1e4b2b9..0429d85fb9c98 100644 --- a/packages/cubejs-backend-shared/CHANGELOG.md +++ b/packages/cubejs-backend-shared/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/shared + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/shared diff --git a/packages/cubejs-backend-shared/package.json b/packages/cubejs-backend-shared/package.json index 1e374a9bf4e1e..ecff97a708059 100644 --- a/packages/cubejs-backend-shared/package.json +++ b/packages/cubejs-backend-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cubejs-backend/shared", - "version": "1.7.1", + "version": "1.7.2", "description": "Shared code for Cube.js backend packages", "main": "dist/src/index.js", "typings": "dist/src/index.d.ts", @@ -27,7 +27,7 @@ }, "license": "Apache-2.0", "devDependencies": { - "@cubejs-backend/linter": "1.7.1", + "@cubejs-backend/linter": "1.7.2", "@types/bytes": "^3.1.5", "@types/cli-progress": "^3.9.1", "@types/decompress": "^4.2.7", diff --git a/packages/cubejs-base-driver/CHANGELOG.md b/packages/cubejs-base-driver/CHANGELOG.md index ea04684343527..397930aea804e 100644 --- a/packages/cubejs-base-driver/CHANGELOG.md +++ b/packages/cubejs-base-driver/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/base-driver + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/base-driver diff --git a/packages/cubejs-base-driver/package.json b/packages/cubejs-base-driver/package.json index 583c005c78dfd..b31e965e89ff2 100644 --- a/packages/cubejs-base-driver/package.json +++ b/packages/cubejs-base-driver/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/base-driver", "description": "Cube.js Base Driver", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -33,11 +33,11 @@ "@aws-sdk/s3-request-presigner": "^3.49.0", "@azure/identity": "^4.4.1", "@azure/storage-blob": "^12.9.0", - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/shared": "1.7.2", "@google-cloud/storage": "^7.13.0" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.1", + "@cubejs-backend/linter": "1.7.2", "@types/jest": "^29", "@types/node": "^22", "jest": "^29", diff --git a/packages/cubejs-bigquery-driver/CHANGELOG.md b/packages/cubejs-bigquery-driver/CHANGELOG.md index 30161fdc62b0f..2b9e446d25f0d 100644 --- a/packages/cubejs-bigquery-driver/CHANGELOG.md +++ b/packages/cubejs-bigquery-driver/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/bigquery-driver + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/bigquery-driver diff --git a/packages/cubejs-bigquery-driver/package.json b/packages/cubejs-bigquery-driver/package.json index 7df29cdec73e5..5dcb21c4a5bc0 100644 --- a/packages/cubejs-bigquery-driver/package.json +++ b/packages/cubejs-bigquery-driver/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/bigquery-driver", "description": "Cube.js BigQuery database driver", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -29,15 +29,15 @@ "main": "index.js", "types": "dist/src/index.d.ts", "dependencies": { - "@cubejs-backend/base-driver": "1.7.1", + "@cubejs-backend/base-driver": "1.7.2", "@cubejs-backend/dotenv": "^9.0.2", - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/shared": "1.7.2", "@google-cloud/bigquery": "^7.7.0", "@google-cloud/storage": "^7.13.0", "ramda": "^0.27.2" }, "devDependencies": { - "@cubejs-backend/testing-shared": "1.7.1", + "@cubejs-backend/testing-shared": "1.7.2", "@types/big.js": "^6.2.2", "@types/dedent": "^0.7.0", "@types/jest": "^29", diff --git a/packages/cubejs-cli/CHANGELOG.md b/packages/cubejs-cli/CHANGELOG.md index 6ee7241d3592f..5fe2a3762300c 100644 --- a/packages/cubejs-cli/CHANGELOG.md +++ b/packages/cubejs-cli/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package cubejs-cli + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package cubejs-cli diff --git a/packages/cubejs-cli/package.json b/packages/cubejs-cli/package.json index d3c662c7ed47a..1d144f2f9295c 100644 --- a/packages/cubejs-cli/package.json +++ b/packages/cubejs-cli/package.json @@ -2,7 +2,7 @@ "name": "cubejs-cli", "description": "Cube.js Command Line Interface", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -30,10 +30,10 @@ "LICENSE" ], "dependencies": { - "@cubejs-backend/cloud": "1.7.1", + "@cubejs-backend/cloud": "1.7.2", "@cubejs-backend/dotenv": "^9.0.2", - "@cubejs-backend/schema-compiler": "1.7.1", - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/schema-compiler": "1.7.2", + "@cubejs-backend/shared": "1.7.2", "chalk": "^2.4.2", "cli-progress": "^3.10", "commander": "^2.19.0", @@ -50,8 +50,8 @@ "colors": "1.4.0" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.1", - "@cubejs-backend/server": "1.7.1", + "@cubejs-backend/linter": "1.7.2", + "@cubejs-backend/server": "1.7.2", "@oclif/command": "^1.8.0", "@types/cli-progress": "^3.8.0", "@types/cross-spawn": "^6.0.2", diff --git a/packages/cubejs-clickhouse-driver/CHANGELOG.md b/packages/cubejs-clickhouse-driver/CHANGELOG.md index ba2d101da9333..a364c73518b37 100644 --- a/packages/cubejs-clickhouse-driver/CHANGELOG.md +++ b/packages/cubejs-clickhouse-driver/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/clickhouse-driver + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/clickhouse-driver diff --git a/packages/cubejs-clickhouse-driver/package.json b/packages/cubejs-clickhouse-driver/package.json index 3288f7c01343e..1c2bcfbd96069 100644 --- a/packages/cubejs-clickhouse-driver/package.json +++ b/packages/cubejs-clickhouse-driver/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/clickhouse-driver", "description": "Cube.js ClickHouse database driver", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -29,16 +29,16 @@ }, "dependencies": { "@clickhouse/client": "^1.12.0", - "@cubejs-backend/base-driver": "1.7.1", - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/base-driver": "1.7.2", + "@cubejs-backend/shared": "1.7.2", "moment": "^2.24.0", "sqlstring": "^2.3.1", "uuid": "^8.3.2" }, "license": "Apache-2.0", "devDependencies": { - "@cubejs-backend/linter": "1.7.1", - "@cubejs-backend/testing-shared": "1.7.1", + "@cubejs-backend/linter": "1.7.2", + "@cubejs-backend/testing-shared": "1.7.2", "@types/jest": "^29", "jest": "^29", "typescript": "~5.2.2" diff --git a/packages/cubejs-client-core/CHANGELOG.md b/packages/cubejs-client-core/CHANGELOG.md index 226d6301338b9..819a8ee260fe7 100644 --- a/packages/cubejs-client-core/CHANGELOG.md +++ b/packages/cubejs-client-core/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-client/core + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-client/core diff --git a/packages/cubejs-client-core/package.json b/packages/cubejs-client-core/package.json index b60b3096b0db1..071429092e5dc 100644 --- a/packages/cubejs-client-core/package.json +++ b/packages/cubejs-client-core/package.json @@ -1,6 +1,6 @@ { "name": "@cubejs-client/core", - "version": "1.7.1", + "version": "1.7.2", "engines": {}, "type": "module", "repository": { @@ -57,7 +57,7 @@ ], "license": "MIT", "devDependencies": { - "@cubejs-backend/linter": "1.7.1", + "@cubejs-backend/linter": "1.7.2", "@types/d3-format": "^3", "@types/d3-time-format": "^4", "@types/moment-range": "^4.0.0", diff --git a/packages/cubejs-client-dx/CHANGELOG.md b/packages/cubejs-client-dx/CHANGELOG.md index 72b15f7ef662d..175fbb4d680c8 100644 --- a/packages/cubejs-client-dx/CHANGELOG.md +++ b/packages/cubejs-client-dx/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-client/dx + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-client/dx diff --git a/packages/cubejs-client-dx/package.json b/packages/cubejs-client-dx/package.json index 8721604b1d5d0..bc4e39f96c6d1 100644 --- a/packages/cubejs-client-dx/package.json +++ b/packages/cubejs-client-dx/package.json @@ -1,6 +1,6 @@ { "name": "@cubejs-client/dx", - "version": "1.7.1", + "version": "1.7.2", "engines": {}, "repository": { "type": "git", diff --git a/packages/cubejs-client-ngx/CHANGELOG.md b/packages/cubejs-client-ngx/CHANGELOG.md index 6560751a237a7..8ba40d1e96cd1 100644 --- a/packages/cubejs-client-ngx/CHANGELOG.md +++ b/packages/cubejs-client-ngx/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-client/ngx + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-client/ngx diff --git a/packages/cubejs-client-ngx/package.json b/packages/cubejs-client-ngx/package.json index 03fc1fa8cebd1..6ae22b2455452 100644 --- a/packages/cubejs-client-ngx/package.json +++ b/packages/cubejs-client-ngx/package.json @@ -1,6 +1,6 @@ { "name": "@cubejs-client/ngx", - "version": "1.7.1", + "version": "1.7.2", "author": "Cube Dev, Inc.", "engines": {}, "repository": { diff --git a/packages/cubejs-client-react/CHANGELOG.md b/packages/cubejs-client-react/CHANGELOG.md index 3e346b3409005..cde7ad0214b8b 100644 --- a/packages/cubejs-client-react/CHANGELOG.md +++ b/packages/cubejs-client-react/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-client/react + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-client/react diff --git a/packages/cubejs-client-react/package.json b/packages/cubejs-client-react/package.json index 111c9dfc73c01..74db73d447e84 100644 --- a/packages/cubejs-client-react/package.json +++ b/packages/cubejs-client-react/package.json @@ -1,6 +1,6 @@ { "name": "@cubejs-client/react", - "version": "1.7.1", + "version": "1.7.2", "author": "Cube Dev, Inc.", "license": "MIT", "engines": {}, @@ -24,7 +24,7 @@ ], "dependencies": { "@babel/runtime": "^7.1.2", - "@cubejs-client/core": "1.7.1", + "@cubejs-client/core": "1.7.2", "core-js": "^3.6.5", "ramda": "^0.27.2" }, diff --git a/packages/cubejs-client-vue3/CHANGELOG.md b/packages/cubejs-client-vue3/CHANGELOG.md index d6cd04938933d..e9fae1b878a55 100644 --- a/packages/cubejs-client-vue3/CHANGELOG.md +++ b/packages/cubejs-client-vue3/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-client/vue3 + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-client/vue3 diff --git a/packages/cubejs-client-vue3/package.json b/packages/cubejs-client-vue3/package.json index cdc6571d42924..7534678232557 100644 --- a/packages/cubejs-client-vue3/package.json +++ b/packages/cubejs-client-vue3/package.json @@ -1,6 +1,6 @@ { "name": "@cubejs-client/vue3", - "version": "1.7.1", + "version": "1.7.2", "engines": {}, "repository": { "type": "git", @@ -27,7 +27,7 @@ "src" ], "dependencies": { - "@cubejs-client/core": "1.7.1", + "@cubejs-client/core": "1.7.2", "ramda": "^0.27.0" }, "devDependencies": { diff --git a/packages/cubejs-client-ws-transport/CHANGELOG.md b/packages/cubejs-client-ws-transport/CHANGELOG.md index 974233ca0ea91..1fac71611df77 100644 --- a/packages/cubejs-client-ws-transport/CHANGELOG.md +++ b/packages/cubejs-client-ws-transport/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-client/ws-transport + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-client/ws-transport diff --git a/packages/cubejs-client-ws-transport/package.json b/packages/cubejs-client-ws-transport/package.json index 2c174e3f5128d..b7c05697e19e0 100644 --- a/packages/cubejs-client-ws-transport/package.json +++ b/packages/cubejs-client-ws-transport/package.json @@ -1,6 +1,6 @@ { "name": "@cubejs-client/ws-transport", - "version": "1.7.1", + "version": "1.7.2", "engines": {}, "repository": { "type": "git", @@ -20,7 +20,7 @@ }, "dependencies": { "@babel/runtime": "^7.1.2", - "@cubejs-client/core": "1.7.1", + "@cubejs-client/core": "1.7.2", "core-js": "^3.6.5", "isomorphic-ws": "^4.0.1", "ws": "^7.3.1" @@ -33,7 +33,7 @@ "@babel/core": "^7.3.3", "@babel/preset-env": "^7.3.1", "@babel/preset-typescript": "^7.12.1", - "@cubejs-backend/linter": "1.7.1", + "@cubejs-backend/linter": "1.7.2", "@types/ws": "^7.2.9", "typescript": "~5.2.2" }, diff --git a/packages/cubejs-crate-driver/CHANGELOG.md b/packages/cubejs-crate-driver/CHANGELOG.md index 79674e737ee7d..9d79d3f77469d 100644 --- a/packages/cubejs-crate-driver/CHANGELOG.md +++ b/packages/cubejs-crate-driver/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/crate-driver + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/crate-driver diff --git a/packages/cubejs-crate-driver/package.json b/packages/cubejs-crate-driver/package.json index 3713a5645b8df..976f55e96ddd1 100644 --- a/packages/cubejs-crate-driver/package.json +++ b/packages/cubejs-crate-driver/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/crate-driver", "description": "Cube.js Crate database driver", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -28,13 +28,13 @@ "lint:fix": "eslint --fix src/* --ext .ts" }, "dependencies": { - "@cubejs-backend/postgres-driver": "1.7.1", - "@cubejs-backend/shared": "1.7.1" + "@cubejs-backend/postgres-driver": "1.7.2", + "@cubejs-backend/shared": "1.7.2" }, "license": "Apache-2.0", "devDependencies": { - "@cubejs-backend/linter": "1.7.1", - "@cubejs-backend/testing-shared": "1.7.1", + "@cubejs-backend/linter": "1.7.2", + "@cubejs-backend/testing-shared": "1.7.2", "testcontainers": "^10.28.0", "typescript": "~5.2.2" }, diff --git a/packages/cubejs-cubestore-driver/CHANGELOG.md b/packages/cubejs-cubestore-driver/CHANGELOG.md index 0548fe408825c..b1b5ae1c06775 100644 --- a/packages/cubejs-cubestore-driver/CHANGELOG.md +++ b/packages/cubejs-cubestore-driver/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/cubestore-driver + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/cubestore-driver diff --git a/packages/cubejs-cubestore-driver/package.json b/packages/cubejs-cubestore-driver/package.json index 4af29bcf15303..842ce1ea73bf3 100644 --- a/packages/cubejs-cubestore-driver/package.json +++ b/packages/cubejs-cubestore-driver/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/cubestore-driver", "description": "Cube Store driver", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -26,10 +26,10 @@ "lint:fix": "eslint --fix src/*.ts" }, "dependencies": { - "@cubejs-backend/base-driver": "1.7.1", - "@cubejs-backend/cubestore": "1.7.1", - "@cubejs-backend/native": "1.7.1", - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/base-driver": "1.7.2", + "@cubejs-backend/cubestore": "1.7.2", + "@cubejs-backend/native": "1.7.2", + "@cubejs-backend/shared": "1.7.2", "csv-write-stream": "^2.0.0", "flatbuffers": "25.9.23", "fs-extra": "^9.1.0", @@ -40,7 +40,7 @@ "ws": "^7.4.3" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.1", + "@cubejs-backend/linter": "1.7.2", "@types/csv-write-stream": "^2.0.0", "@types/jest": "^29", "@types/node": "^22", diff --git a/packages/cubejs-databricks-jdbc-driver/CHANGELOG.md b/packages/cubejs-databricks-jdbc-driver/CHANGELOG.md index 953a2abd87754..5f965cb941eba 100644 --- a/packages/cubejs-databricks-jdbc-driver/CHANGELOG.md +++ b/packages/cubejs-databricks-jdbc-driver/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/databricks-jdbc-driver + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) ### Bug Fixes diff --git a/packages/cubejs-databricks-jdbc-driver/package.json b/packages/cubejs-databricks-jdbc-driver/package.json index 0b990036eda4f..8626aedeb4fcb 100644 --- a/packages/cubejs-databricks-jdbc-driver/package.json +++ b/packages/cubejs-databricks-jdbc-driver/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/databricks-jdbc-driver", "description": "Cube.js Databricks database driver", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "license": "Apache-2.0", "repository": { "type": "git", @@ -30,17 +30,17 @@ "bin" ], "dependencies": { - "@cubejs-backend/base-driver": "1.7.1", - "@cubejs-backend/jdbc-driver": "1.7.1", - "@cubejs-backend/schema-compiler": "1.7.1", - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/base-driver": "1.7.2", + "@cubejs-backend/jdbc-driver": "1.7.2", + "@cubejs-backend/schema-compiler": "1.7.2", + "@cubejs-backend/shared": "1.7.2", "node-fetch": "^2.6.1", "ramda": "^0.27.2", "source-map-support": "^0.5.19", "uuid": "^8.3.2" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.1", + "@cubejs-backend/linter": "1.7.2", "@types/jest": "^29", "@types/node": "^22", "@types/ramda": "^0.27.34", diff --git a/packages/cubejs-dbt-schema-extension/CHANGELOG.md b/packages/cubejs-dbt-schema-extension/CHANGELOG.md index 88d86f7416f3e..75edf3dd44f24 100644 --- a/packages/cubejs-dbt-schema-extension/CHANGELOG.md +++ b/packages/cubejs-dbt-schema-extension/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/dbt-schema-extension + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/dbt-schema-extension diff --git a/packages/cubejs-dbt-schema-extension/package.json b/packages/cubejs-dbt-schema-extension/package.json index 839b53c469569..3dcc08a1e323c 100644 --- a/packages/cubejs-dbt-schema-extension/package.json +++ b/packages/cubejs-dbt-schema-extension/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/dbt-schema-extension", "description": "Cube.js dbt Schema Extension", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -25,14 +25,14 @@ "lint:fix": "eslint --fix src/* --ext .ts,.js" }, "dependencies": { - "@cubejs-backend/schema-compiler": "1.7.1", + "@cubejs-backend/schema-compiler": "1.7.2", "fs-extra": "^9.1.0", "inflection": "^1.12.0", "node-fetch": "^2.6.1" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.1", - "@cubejs-backend/testing": "1.7.1", + "@cubejs-backend/linter": "1.7.2", + "@cubejs-backend/testing": "1.7.2", "@types/jest": "^29", "jest": "^29", "stream-to-array": "^2.3.0", diff --git a/packages/cubejs-docker/CHANGELOG.md b/packages/cubejs-docker/CHANGELOG.md index 1d9d856353bad..1c88ffda96e93 100644 --- a/packages/cubejs-docker/CHANGELOG.md +++ b/packages/cubejs-docker/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/docker + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/docker diff --git a/packages/cubejs-docker/package.json b/packages/cubejs-docker/package.json index 5f76b217fd422..e28f44de90925 100644 --- a/packages/cubejs-docker/package.json +++ b/packages/cubejs-docker/package.json @@ -1,6 +1,6 @@ { "name": "@cubejs-backend/docker", - "version": "1.7.1", + "version": "1.7.2", "description": "Cube.js In Docker (virtual package)", "author": "Cube Dev, Inc.", "license": "Apache-2.0", @@ -9,34 +9,34 @@ "node": ">=20.0.0" }, "dependencies": { - "@cubejs-backend/athena-driver": "1.7.1", - "@cubejs-backend/bigquery-driver": "1.7.1", - "@cubejs-backend/clickhouse-driver": "1.7.1", - "@cubejs-backend/crate-driver": "1.7.1", - "@cubejs-backend/databricks-jdbc-driver": "1.7.1", - "@cubejs-backend/dbt-schema-extension": "1.7.1", - "@cubejs-backend/dremio-driver": "1.7.1", - "@cubejs-backend/druid-driver": "1.7.1", - "@cubejs-backend/duckdb-driver": "1.7.1", - "@cubejs-backend/firebolt-driver": "1.7.1", - "@cubejs-backend/hive-driver": "1.7.1", - "@cubejs-backend/ksql-driver": "1.7.1", - "@cubejs-backend/materialize-driver": "1.7.1", - "@cubejs-backend/mongobi-driver": "1.7.1", - "@cubejs-backend/mssql-driver": "1.7.1", - "@cubejs-backend/mysql-driver": "1.7.1", - "@cubejs-backend/oracle-driver": "1.7.1", - "@cubejs-backend/pinot-driver": "1.7.1", - "@cubejs-backend/postgres-driver": "1.7.1", - "@cubejs-backend/prestodb-driver": "1.7.1", - "@cubejs-backend/questdb-driver": "1.7.1", - "@cubejs-backend/redshift-driver": "1.7.1", - "@cubejs-backend/server": "1.7.1", - "@cubejs-backend/snowflake-driver": "1.7.1", - "@cubejs-backend/sqlite-driver": "1.7.1", - "@cubejs-backend/trino-driver": "1.7.1", - "@cubejs-backend/vertica-driver": "1.7.1", - "cubejs-cli": "1.7.1", + "@cubejs-backend/athena-driver": "1.7.2", + "@cubejs-backend/bigquery-driver": "1.7.2", + "@cubejs-backend/clickhouse-driver": "1.7.2", + "@cubejs-backend/crate-driver": "1.7.2", + "@cubejs-backend/databricks-jdbc-driver": "1.7.2", + "@cubejs-backend/dbt-schema-extension": "1.7.2", + "@cubejs-backend/dremio-driver": "1.7.2", + "@cubejs-backend/druid-driver": "1.7.2", + "@cubejs-backend/duckdb-driver": "1.7.2", + "@cubejs-backend/firebolt-driver": "1.7.2", + "@cubejs-backend/hive-driver": "1.7.2", + "@cubejs-backend/ksql-driver": "1.7.2", + "@cubejs-backend/materialize-driver": "1.7.2", + "@cubejs-backend/mongobi-driver": "1.7.2", + "@cubejs-backend/mssql-driver": "1.7.2", + "@cubejs-backend/mysql-driver": "1.7.2", + "@cubejs-backend/oracle-driver": "1.7.2", + "@cubejs-backend/pinot-driver": "1.7.2", + "@cubejs-backend/postgres-driver": "1.7.2", + "@cubejs-backend/prestodb-driver": "1.7.2", + "@cubejs-backend/questdb-driver": "1.7.2", + "@cubejs-backend/redshift-driver": "1.7.2", + "@cubejs-backend/server": "1.7.2", + "@cubejs-backend/snowflake-driver": "1.7.2", + "@cubejs-backend/sqlite-driver": "1.7.2", + "@cubejs-backend/trino-driver": "1.7.2", + "@cubejs-backend/vertica-driver": "1.7.2", + "cubejs-cli": "1.7.2", "typescript": "~5.2.2" }, "resolutions": { diff --git a/packages/cubejs-dremio-driver/CHANGELOG.md b/packages/cubejs-dremio-driver/CHANGELOG.md index 6f49d6e2c8779..c050dd291fefe 100644 --- a/packages/cubejs-dremio-driver/CHANGELOG.md +++ b/packages/cubejs-dremio-driver/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/dremio-driver + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/dremio-driver diff --git a/packages/cubejs-dremio-driver/package.json b/packages/cubejs-dremio-driver/package.json index 459fc12e6b0bc..f6fcf6d9ce9ef 100644 --- a/packages/cubejs-dremio-driver/package.json +++ b/packages/cubejs-dremio-driver/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/dremio-driver", "description": "Cube.js Dremio driver", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -22,15 +22,15 @@ "lint:fix": "eslint driver/*.js" }, "dependencies": { - "@cubejs-backend/base-driver": "1.7.1", - "@cubejs-backend/schema-compiler": "1.7.1", - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/base-driver": "1.7.2", + "@cubejs-backend/schema-compiler": "1.7.2", + "@cubejs-backend/shared": "1.7.2", "axios": "^1.8.3", "sqlstring": "^2.3.1" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.1", - "@cubejs-backend/testing-shared": "1.7.1", + "@cubejs-backend/linter": "1.7.2", + "@cubejs-backend/testing-shared": "1.7.2", "jest": "^29" }, "license": "Apache-2.0", diff --git a/packages/cubejs-druid-driver/CHANGELOG.md b/packages/cubejs-druid-driver/CHANGELOG.md index aaf10fc183cf7..a005e18b4e1cf 100644 --- a/packages/cubejs-druid-driver/CHANGELOG.md +++ b/packages/cubejs-druid-driver/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/druid-driver + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) ### Bug Fixes diff --git a/packages/cubejs-druid-driver/package.json b/packages/cubejs-druid-driver/package.json index 82031a17a5c1e..0ea58699d3a5d 100644 --- a/packages/cubejs-druid-driver/package.json +++ b/packages/cubejs-druid-driver/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/druid-driver", "description": "Cube.js Druid database driver", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "license": "Apache-2.0", "repository": { "type": "git", @@ -28,13 +28,13 @@ "dist/src/*" ], "dependencies": { - "@cubejs-backend/base-driver": "1.7.1", - "@cubejs-backend/schema-compiler": "1.7.1", - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/base-driver": "1.7.2", + "@cubejs-backend/schema-compiler": "1.7.2", + "@cubejs-backend/shared": "1.7.2", "axios": "^1.8.3" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.1", + "@cubejs-backend/linter": "1.7.2", "@types/jest": "^29", "@types/node": "^22", "jest": "^29", diff --git a/packages/cubejs-duckdb-driver/CHANGELOG.md b/packages/cubejs-duckdb-driver/CHANGELOG.md index 1326c085907fe..21749a02fdf2c 100644 --- a/packages/cubejs-duckdb-driver/CHANGELOG.md +++ b/packages/cubejs-duckdb-driver/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/duckdb-driver + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) ### Bug Fixes diff --git a/packages/cubejs-duckdb-driver/package.json b/packages/cubejs-duckdb-driver/package.json index 1d1c52e64442e..5828aed54e38c 100644 --- a/packages/cubejs-duckdb-driver/package.json +++ b/packages/cubejs-duckdb-driver/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/duckdb-driver", "description": "Cube DuckDB database driver", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -27,15 +27,15 @@ "lint:fix": "eslint --fix src/* --ext .ts" }, "dependencies": { - "@cubejs-backend/base-driver": "1.7.1", - "@cubejs-backend/schema-compiler": "1.7.1", - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/base-driver": "1.7.2", + "@cubejs-backend/schema-compiler": "1.7.2", + "@cubejs-backend/shared": "1.7.2", "duckdb": "^1.4.1" }, "license": "Apache-2.0", "devDependencies": { - "@cubejs-backend/linter": "1.7.1", - "@cubejs-backend/testing-shared": "1.7.1", + "@cubejs-backend/linter": "1.7.2", + "@cubejs-backend/testing-shared": "1.7.2", "@types/jest": "^29", "@types/node": "^22", "jest": "^29", diff --git a/packages/cubejs-firebolt-driver/CHANGELOG.md b/packages/cubejs-firebolt-driver/CHANGELOG.md index 984c1d73701aa..265b42aa0d30d 100644 --- a/packages/cubejs-firebolt-driver/CHANGELOG.md +++ b/packages/cubejs-firebolt-driver/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/firebolt-driver + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/firebolt-driver diff --git a/packages/cubejs-firebolt-driver/package.json b/packages/cubejs-firebolt-driver/package.json index 4968003d7d8cc..2b49bb13464b6 100644 --- a/packages/cubejs-firebolt-driver/package.json +++ b/packages/cubejs-firebolt-driver/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/firebolt-driver", "description": "Cube.js Firebolt database driver", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -28,15 +28,15 @@ "lint:fix": "eslint --fix src/* --ext .ts" }, "dependencies": { - "@cubejs-backend/base-driver": "1.7.1", - "@cubejs-backend/schema-compiler": "1.7.1", - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/base-driver": "1.7.2", + "@cubejs-backend/schema-compiler": "1.7.2", + "@cubejs-backend/shared": "1.7.2", "firebolt-sdk": "1.10.0" }, "license": "Apache-2.0", "devDependencies": { - "@cubejs-backend/linter": "1.7.1", - "@cubejs-backend/testing-shared": "1.7.1", + "@cubejs-backend/linter": "1.7.2", + "@cubejs-backend/testing-shared": "1.7.2", "typescript": "~5.2.2" }, "publishConfig": { diff --git a/packages/cubejs-hive-driver/CHANGELOG.md b/packages/cubejs-hive-driver/CHANGELOG.md index 642d25cee61a5..11ed4b576a260 100644 --- a/packages/cubejs-hive-driver/CHANGELOG.md +++ b/packages/cubejs-hive-driver/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/hive-driver + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/hive-driver diff --git a/packages/cubejs-hive-driver/package.json b/packages/cubejs-hive-driver/package.json index 12199a1e3801c..8e079e6da7421 100644 --- a/packages/cubejs-hive-driver/package.json +++ b/packages/cubejs-hive-driver/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/hive-driver", "description": "Cube.js Hive database driver", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -17,8 +17,8 @@ "lint:fix": "eslint --fix src/* --ext .ts" }, "dependencies": { - "@cubejs-backend/base-driver": "1.7.1", - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/base-driver": "1.7.2", + "@cubejs-backend/shared": "1.7.2", "jshs2": "^0.4.4", "sasl-plain": "^0.1.0", "saslmechanisms": "^0.1.1", @@ -27,7 +27,7 @@ }, "license": "Apache-2.0", "devDependencies": { - "@cubejs-backend/linter": "1.7.1" + "@cubejs-backend/linter": "1.7.2" }, "publishConfig": { "access": "public" diff --git a/packages/cubejs-jdbc-driver/CHANGELOG.md b/packages/cubejs-jdbc-driver/CHANGELOG.md index d0d45246e3e43..fd1b8282249b2 100644 --- a/packages/cubejs-jdbc-driver/CHANGELOG.md +++ b/packages/cubejs-jdbc-driver/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/jdbc-driver + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/jdbc-driver diff --git a/packages/cubejs-jdbc-driver/package.json b/packages/cubejs-jdbc-driver/package.json index 8fbbbae9b2fbe..432d205272c15 100644 --- a/packages/cubejs-jdbc-driver/package.json +++ b/packages/cubejs-jdbc-driver/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/jdbc-driver", "description": "Cube.js JDBC database driver", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -25,9 +25,9 @@ "index.js" ], "dependencies": { - "@cubejs-backend/base-driver": "1.7.1", + "@cubejs-backend/base-driver": "1.7.2", "@cubejs-backend/node-java-maven": "^0.1.3", - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/shared": "1.7.2", "sqlstring": "^2.3.0" }, "optionalDependencies": { @@ -42,7 +42,7 @@ "testEnvironment": "node" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.1", + "@cubejs-backend/linter": "1.7.2", "@types/node": "^22", "@types/sqlstring": "^2.3.0", "typescript": "~5.2.2" diff --git a/packages/cubejs-ksql-driver/CHANGELOG.md b/packages/cubejs-ksql-driver/CHANGELOG.md index 247c57eab2e09..5830a7c5fa2b6 100644 --- a/packages/cubejs-ksql-driver/CHANGELOG.md +++ b/packages/cubejs-ksql-driver/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/ksql-driver + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/ksql-driver diff --git a/packages/cubejs-ksql-driver/package.json b/packages/cubejs-ksql-driver/package.json index 5d8dbb893c11e..43ea2c6da177e 100644 --- a/packages/cubejs-ksql-driver/package.json +++ b/packages/cubejs-ksql-driver/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/ksql-driver", "description": "Cube.js ksql database driver", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -25,9 +25,9 @@ "lint:fix": "eslint --fix src/* --ext .ts" }, "dependencies": { - "@cubejs-backend/base-driver": "1.7.1", - "@cubejs-backend/schema-compiler": "1.7.1", - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/base-driver": "1.7.2", + "@cubejs-backend/schema-compiler": "1.7.2", + "@cubejs-backend/shared": "1.7.2", "async-mutex": "0.3.2", "axios": "^1.8.3", "kafkajs": "^2.2.3", @@ -41,7 +41,7 @@ "extends": "../cubejs-linter" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.1", + "@cubejs-backend/linter": "1.7.2", "typescript": "~5.2.2" } } diff --git a/packages/cubejs-linter/CHANGELOG.md b/packages/cubejs-linter/CHANGELOG.md index 4e58527ff7981..b593cab523bb5 100644 --- a/packages/cubejs-linter/CHANGELOG.md +++ b/packages/cubejs-linter/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/linter + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/linter diff --git a/packages/cubejs-linter/package.json b/packages/cubejs-linter/package.json index 907640c4ab571..0a5b2acade6d1 100644 --- a/packages/cubejs-linter/package.json +++ b/packages/cubejs-linter/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/linter", "description": "Cube.js ESLint (virtual package) for linting code", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", diff --git a/packages/cubejs-materialize-driver/CHANGELOG.md b/packages/cubejs-materialize-driver/CHANGELOG.md index 0d606dea86ac3..7a4778c73f4d5 100644 --- a/packages/cubejs-materialize-driver/CHANGELOG.md +++ b/packages/cubejs-materialize-driver/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/materialize-driver + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/materialize-driver diff --git a/packages/cubejs-materialize-driver/package.json b/packages/cubejs-materialize-driver/package.json index 09b0119f3fd76..ddb35fc9b6760 100644 --- a/packages/cubejs-materialize-driver/package.json +++ b/packages/cubejs-materialize-driver/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/materialize-driver", "description": "Cube.js Materialize database driver", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -27,15 +27,15 @@ "lint:fix": "eslint --fix src/* --ext .ts" }, "dependencies": { - "@cubejs-backend/base-driver": "1.7.1", - "@cubejs-backend/postgres-driver": "1.7.1", - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/base-driver": "1.7.2", + "@cubejs-backend/postgres-driver": "1.7.2", + "@cubejs-backend/shared": "1.7.2", "semver": "^7.6.3" }, "license": "Apache-2.0", "devDependencies": { - "@cubejs-backend/linter": "1.7.1", - "@cubejs-backend/testing": "1.7.1", + "@cubejs-backend/linter": "1.7.2", + "@cubejs-backend/testing": "1.7.2", "typescript": "~5.2.2" }, "publishConfig": { diff --git a/packages/cubejs-mongobi-driver/CHANGELOG.md b/packages/cubejs-mongobi-driver/CHANGELOG.md index 8fb4a8e4c23d2..c84f5e96e639e 100644 --- a/packages/cubejs-mongobi-driver/CHANGELOG.md +++ b/packages/cubejs-mongobi-driver/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/mongobi-driver + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/mongobi-driver diff --git a/packages/cubejs-mongobi-driver/package.json b/packages/cubejs-mongobi-driver/package.json index 12f330e5f25a9..9b0b10f655b6b 100644 --- a/packages/cubejs-mongobi-driver/package.json +++ b/packages/cubejs-mongobi-driver/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/mongobi-driver", "description": "Cube.js MongoBI driver", "author": "krunalsabnis@gmail.com", - "version": "1.7.1", + "version": "1.7.2", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -27,8 +27,8 @@ "integration:mongobi": "jest dist/test" }, "dependencies": { - "@cubejs-backend/base-driver": "1.7.1", - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/base-driver": "1.7.2", + "@cubejs-backend/shared": "1.7.2", "@types/node": "^22", "moment": "^2.29.1", "mysql2": "^3.11.5" @@ -38,7 +38,7 @@ "access": "public" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.1", + "@cubejs-backend/linter": "1.7.2", "testcontainers": "^10.28.0", "typescript": "~5.2.2" }, diff --git a/packages/cubejs-mssql-driver/CHANGELOG.md b/packages/cubejs-mssql-driver/CHANGELOG.md index 3f746e1037f59..d62191f3824df 100644 --- a/packages/cubejs-mssql-driver/CHANGELOG.md +++ b/packages/cubejs-mssql-driver/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/mssql-driver + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/mssql-driver diff --git a/packages/cubejs-mssql-driver/package.json b/packages/cubejs-mssql-driver/package.json index 7b7b13dcc55d1..529003b01e3ec 100644 --- a/packages/cubejs-mssql-driver/package.json +++ b/packages/cubejs-mssql-driver/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/mssql-driver", "description": "Cube.js MS SQL database driver", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -25,8 +25,8 @@ "lint:fix": "eslint --fix src/* --ext .ts,.js" }, "dependencies": { - "@cubejs-backend/base-driver": "1.7.1", - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/base-driver": "1.7.2", + "@cubejs-backend/shared": "1.7.2", "mssql": "^11.0.1" }, "devDependencies": { diff --git a/packages/cubejs-mysql-aurora-serverless-driver/CHANGELOG.md b/packages/cubejs-mysql-aurora-serverless-driver/CHANGELOG.md index 062a7e0c1e3fc..ef16e3050e435 100644 --- a/packages/cubejs-mysql-aurora-serverless-driver/CHANGELOG.md +++ b/packages/cubejs-mysql-aurora-serverless-driver/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/mysql-aurora-serverless-driver + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/mysql-aurora-serverless-driver diff --git a/packages/cubejs-mysql-aurora-serverless-driver/package.json b/packages/cubejs-mysql-aurora-serverless-driver/package.json index 9ea0dfa57d600..c94e1df1f2655 100644 --- a/packages/cubejs-mysql-aurora-serverless-driver/package.json +++ b/packages/cubejs-mysql-aurora-serverless-driver/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/mysql-aurora-serverless-driver", "description": "Cube.js Aurora Serverless Mysql database driver", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -21,14 +21,14 @@ "lint": "eslint driver/*.js test/*.js" }, "dependencies": { - "@cubejs-backend/base-driver": "1.7.1", - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/base-driver": "1.7.2", + "@cubejs-backend/shared": "1.7.2", "@types/mysql": "^2.15.15", "aws-sdk": "^2.787.0", "data-api-client": "^1.1.0" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.1", + "@cubejs-backend/linter": "1.7.2", "@types/data-api-client": "^1.2.1", "@types/jest": "^29", "jest": "^29", diff --git a/packages/cubejs-mysql-driver/CHANGELOG.md b/packages/cubejs-mysql-driver/CHANGELOG.md index bbbe9ca5f09df..6fc85d578547b 100644 --- a/packages/cubejs-mysql-driver/CHANGELOG.md +++ b/packages/cubejs-mysql-driver/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/mysql-driver + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/mysql-driver diff --git a/packages/cubejs-mysql-driver/package.json b/packages/cubejs-mysql-driver/package.json index b2191f93de6f3..de512981adb2d 100644 --- a/packages/cubejs-mysql-driver/package.json +++ b/packages/cubejs-mysql-driver/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/mysql-driver", "description": "Cube.js Mysql database driver", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -27,13 +27,13 @@ "lint:fix": "eslint --fix src/* test/* --ext .ts,.js" }, "dependencies": { - "@cubejs-backend/base-driver": "1.7.1", - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/base-driver": "1.7.2", + "@cubejs-backend/shared": "1.7.2", "mysql2": "^3.16.1" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.1", - "@cubejs-backend/testing-shared": "1.7.1", + "@cubejs-backend/linter": "1.7.2", + "@cubejs-backend/testing-shared": "1.7.2", "@types/jest": "^29", "jest": "^29", "stream-to-array": "^2.3.0", diff --git a/packages/cubejs-oracle-driver/CHANGELOG.md b/packages/cubejs-oracle-driver/CHANGELOG.md index 579756bb329e6..f772ba5abeffc 100644 --- a/packages/cubejs-oracle-driver/CHANGELOG.md +++ b/packages/cubejs-oracle-driver/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/oracle-driver + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/oracle-driver diff --git a/packages/cubejs-oracle-driver/package.json b/packages/cubejs-oracle-driver/package.json index 54f4ccf10610d..f8b66a63c53d5 100644 --- a/packages/cubejs-oracle-driver/package.json +++ b/packages/cubejs-oracle-driver/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/oracle-driver", "description": "Cube.js oracle database driver", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -13,8 +13,8 @@ }, "main": "driver/OracleDriver.js", "dependencies": { - "@cubejs-backend/base-driver": "1.7.1", - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/base-driver": "1.7.2", + "@cubejs-backend/shared": "1.7.2", "ramda": "^0.27.0" }, "devDependencies": { diff --git a/packages/cubejs-pinot-driver/CHANGELOG.md b/packages/cubejs-pinot-driver/CHANGELOG.md index 6311249e43aed..1ec5ef967c68c 100644 --- a/packages/cubejs-pinot-driver/CHANGELOG.md +++ b/packages/cubejs-pinot-driver/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +### Bug Fixes + +- **pinot-driver:** Initial support for Tesseract, thanks [@seanm-stripe](https://github.com/seanm-stripe) ([#11001](https://github.com/cube-js/cube/issues/11001)) ([f182019](https://github.com/cube-js/cube/commit/f1820198c499c21c76964f5a2056185c07ee19ca)) + +### Features + +- **pinot-driver:** Retrieve types from database + small fixes ([#11241](https://github.com/cube-js/cube/issues/11241)) ([222dece](https://github.com/cube-js/cube/commit/222dece5469d94afda95157c82fef8944652ed7d)) +- **pinot-driver:** Tesseract SQL dialect fixes + incorrect timeout bug ([#11242](https://github.com/cube-js/cube/issues/11242)) ([076ad77](https://github.com/cube-js/cube/commit/076ad775254a9dcc105825315044bb41a17edf91)), closes [#11238](https://github.com/cube-js/cube/issues/11238) [#11239](https://github.com/cube-js/cube/issues/11239) [#11237](https://github.com/cube-js/cube/issues/11237) + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) ### Bug Fixes diff --git a/packages/cubejs-pinot-driver/package.json b/packages/cubejs-pinot-driver/package.json index 954b2e73e0d0b..69b4ac43a4fa0 100644 --- a/packages/cubejs-pinot-driver/package.json +++ b/packages/cubejs-pinot-driver/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/pinot-driver", "description": "Cube.js Pinot database driver", "author": "Julian Ronsse, InTheMemory, Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -27,9 +27,9 @@ "lint:fix": "eslint --fix src/* --ext .ts" }, "dependencies": { - "@cubejs-backend/base-driver": "1.7.1", - "@cubejs-backend/schema-compiler": "1.7.1", - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/base-driver": "1.7.2", + "@cubejs-backend/schema-compiler": "1.7.2", + "@cubejs-backend/shared": "1.7.2", "node-fetch": "^2.6.1", "ramda": "^0.27.2", "sqlstring": "^2.3.3" @@ -39,7 +39,7 @@ "access": "public" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.1", + "@cubejs-backend/linter": "1.7.2", "@types/jest": "^29", "jest": "^29", "should": "^13.2.3", diff --git a/packages/cubejs-playground/CHANGELOG.md b/packages/cubejs-playground/CHANGELOG.md index 957afc0d1357a..d2023910e5779 100644 --- a/packages/cubejs-playground/CHANGELOG.md +++ b/packages/cubejs-playground/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-client/playground + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-client/playground diff --git a/packages/cubejs-playground/package.json b/packages/cubejs-playground/package.json index 2abc150596d44..98520a329769e 100644 --- a/packages/cubejs-playground/package.json +++ b/packages/cubejs-playground/package.json @@ -1,7 +1,7 @@ { "name": "@cubejs-client/playground", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "engines": {}, "repository": { "type": "git", @@ -68,8 +68,8 @@ "@ant-design/compatible": "^1.0.1", "@ant-design/icons": "^5.3.5", "@cube-dev/ui-kit": "0.52.3", - "@cubejs-client/core": "1.7.1", - "@cubejs-client/react": "1.7.1", + "@cubejs-client/core": "1.7.2", + "@cubejs-client/react": "1.7.2", "@types/flexsearch": "^0.7.3", "@types/node": "^22", "@types/react": "^18.3.4", diff --git a/packages/cubejs-postgres-driver/CHANGELOG.md b/packages/cubejs-postgres-driver/CHANGELOG.md index b528ccdc6fd54..4fe77bb8dbe94 100644 --- a/packages/cubejs-postgres-driver/CHANGELOG.md +++ b/packages/cubejs-postgres-driver/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/postgres-driver + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/postgres-driver diff --git a/packages/cubejs-postgres-driver/package.json b/packages/cubejs-postgres-driver/package.json index a356dc41898f5..e195a84821abc 100644 --- a/packages/cubejs-postgres-driver/package.json +++ b/packages/cubejs-postgres-driver/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/postgres-driver", "description": "Cube.js Postgres database driver", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -27,8 +27,8 @@ "lint:fix": "eslint --fix src/* --ext .ts" }, "dependencies": { - "@cubejs-backend/base-driver": "1.7.1", - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/base-driver": "1.7.2", + "@cubejs-backend/shared": "1.7.2", "@types/pg": "^8.16.0", "@types/pg-query-stream": "^1.0.3", "pg": "^8.18.0", @@ -36,8 +36,8 @@ }, "license": "Apache-2.0", "devDependencies": { - "@cubejs-backend/linter": "1.7.1", - "@cubejs-backend/testing-shared": "1.7.1", + "@cubejs-backend/linter": "1.7.2", + "@cubejs-backend/testing-shared": "1.7.2", "testcontainers": "^10.28.0", "typescript": "~5.2.2" }, diff --git a/packages/cubejs-prestodb-driver/CHANGELOG.md b/packages/cubejs-prestodb-driver/CHANGELOG.md index b7f56036910e8..1799680abe54f 100644 --- a/packages/cubejs-prestodb-driver/CHANGELOG.md +++ b/packages/cubejs-prestodb-driver/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/prestodb-driver + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) ### Bug Fixes diff --git a/packages/cubejs-prestodb-driver/package.json b/packages/cubejs-prestodb-driver/package.json index 7a1ae2b05dc26..5919688e7f2d5 100644 --- a/packages/cubejs-prestodb-driver/package.json +++ b/packages/cubejs-prestodb-driver/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/prestodb-driver", "description": "Cube.js Presto database driver", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -28,8 +28,8 @@ "lint:fix": "eslint --fix src/* --ext .ts" }, "dependencies": { - "@cubejs-backend/base-driver": "1.7.1", - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/base-driver": "1.7.2", + "@cubejs-backend/shared": "1.7.2", "presto-client": "1.2.0", "ramda": "^0.27.0", "sqlstring": "^2.3.1" @@ -39,7 +39,7 @@ "access": "public" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.1", + "@cubejs-backend/linter": "1.7.2", "@types/jest": "^29", "jest": "^29", "should": "^13.2.3", diff --git a/packages/cubejs-query-orchestrator/CHANGELOG.md b/packages/cubejs-query-orchestrator/CHANGELOG.md index a296d470ab6d4..362a0bcdd6329 100644 --- a/packages/cubejs-query-orchestrator/CHANGELOG.md +++ b/packages/cubejs-query-orchestrator/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/query-orchestrator + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/query-orchestrator diff --git a/packages/cubejs-query-orchestrator/package.json b/packages/cubejs-query-orchestrator/package.json index df1c2f344af3e..905fb70d0ffb0 100644 --- a/packages/cubejs-query-orchestrator/package.json +++ b/packages/cubejs-query-orchestrator/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/query-orchestrator", "description": "Cube.js Query Orchestrator and Cache", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -29,15 +29,15 @@ "dist/src/*" ], "dependencies": { - "@cubejs-backend/base-driver": "1.7.1", - "@cubejs-backend/cubestore-driver": "1.7.1", - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/base-driver": "1.7.2", + "@cubejs-backend/cubestore-driver": "1.7.2", + "@cubejs-backend/shared": "1.7.2", "csv-write-stream": "^2.0.0", "lru-cache": "^11.1.0", "ramda": "^0.27.2" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.1", + "@cubejs-backend/linter": "1.7.2", "@types/jest": "^29", "@types/node": "^22", "@types/ramda": "^0.27.32", diff --git a/packages/cubejs-questdb-driver/CHANGELOG.md b/packages/cubejs-questdb-driver/CHANGELOG.md index ecde5045082fa..8da1fa1917819 100644 --- a/packages/cubejs-questdb-driver/CHANGELOG.md +++ b/packages/cubejs-questdb-driver/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/questdb-driver + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/questdb-driver diff --git a/packages/cubejs-questdb-driver/package.json b/packages/cubejs-questdb-driver/package.json index 3a97031499652..f0398d8ff044e 100644 --- a/packages/cubejs-questdb-driver/package.json +++ b/packages/cubejs-questdb-driver/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/questdb-driver", "description": "Cube.js QuestDB database driver", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -27,9 +27,9 @@ "lint:fix": "eslint --fix src/* --ext .ts" }, "dependencies": { - "@cubejs-backend/base-driver": "1.7.1", - "@cubejs-backend/schema-compiler": "1.7.1", - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/base-driver": "1.7.2", + "@cubejs-backend/schema-compiler": "1.7.2", + "@cubejs-backend/shared": "1.7.2", "@types/pg": "^8.6.0", "moment": "^2.24.0", "pg": "^8.7.0", @@ -37,8 +37,8 @@ }, "license": "Apache-2.0", "devDependencies": { - "@cubejs-backend/linter": "1.7.1", - "@cubejs-backend/testing-shared": "1.7.1", + "@cubejs-backend/linter": "1.7.2", + "@cubejs-backend/testing-shared": "1.7.2", "testcontainers": "^10.28.0", "typescript": "~5.2.2" }, diff --git a/packages/cubejs-redshift-driver/CHANGELOG.md b/packages/cubejs-redshift-driver/CHANGELOG.md index fb612e493a678..7027660a41550 100644 --- a/packages/cubejs-redshift-driver/CHANGELOG.md +++ b/packages/cubejs-redshift-driver/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/redshift-driver + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/redshift-driver diff --git a/packages/cubejs-redshift-driver/package.json b/packages/cubejs-redshift-driver/package.json index 8421ba43aa6d5..fab47b96a1a40 100644 --- a/packages/cubejs-redshift-driver/package.json +++ b/packages/cubejs-redshift-driver/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/redshift-driver", "description": "Cube.js Redshift database driver", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -27,13 +27,13 @@ "dependencies": { "@aws-sdk/client-redshift": "^3.22.0", "@aws-sdk/credential-providers": "^3.22.0", - "@cubejs-backend/base-driver": "1.7.1", - "@cubejs-backend/postgres-driver": "1.7.1", - "@cubejs-backend/shared": "1.7.1" + "@cubejs-backend/base-driver": "1.7.2", + "@cubejs-backend/postgres-driver": "1.7.2", + "@cubejs-backend/shared": "1.7.2" }, "license": "Apache-2.0", "devDependencies": { - "@cubejs-backend/linter": "1.7.1", + "@cubejs-backend/linter": "1.7.2", "typescript": "~5.2.2" }, "publishConfig": { diff --git a/packages/cubejs-schema-compiler/CHANGELOG.md b/packages/cubejs-schema-compiler/CHANGELOG.md index cd2e97616d887..64183c5de31a6 100644 --- a/packages/cubejs-schema-compiler/CHANGELOG.md +++ b/packages/cubejs-schema-compiler/CHANGELOG.md @@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +### Bug Fixes + +- **schema-compiler:** Pass query-level join hints to native pre-aggregation matching ([#11221](https://github.com/cube-js/cube/issues/11221)) ([79faaa3](https://github.com/cube-js/cube/commit/79faaa3166b739b8f99b41b8eae8d25e0593468a)) +- **schema-compiler:** resolve multi-stage order_by against owning cube through views ([#11224](https://github.com/cube-js/cube/issues/11224)) ([6e54e9e](https://github.com/cube-js/cube/commit/6e54e9e7aa655d663fe15f9668fae0ebd6e9a46f)) + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) ### Bug Fixes diff --git a/packages/cubejs-schema-compiler/package.json b/packages/cubejs-schema-compiler/package.json index a8903f1a3331b..a640c41562ec5 100644 --- a/packages/cubejs-schema-compiler/package.json +++ b/packages/cubejs-schema-compiler/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/schema-compiler", "description": "Cube schema compiler", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -40,8 +40,8 @@ "@babel/standalone": "^7.24", "@babel/traverse": "^7.24", "@babel/types": "^7.24", - "@cubejs-backend/native": "1.7.1", - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/native": "1.7.2", + "@cubejs-backend/shared": "1.7.2", "antlr4": "^4.13.2", "camelcase": "^6.2.0", "cron-parser": "^4.9.0", @@ -60,9 +60,9 @@ }, "devDependencies": { "@clickhouse/client": "^1.12.0", - "@cubejs-backend/linter": "1.7.1", - "@cubejs-backend/mssql-driver": "1.7.1", - "@cubejs-backend/query-orchestrator": "1.7.1", + "@cubejs-backend/linter": "1.7.2", + "@cubejs-backend/mssql-driver": "1.7.2", + "@cubejs-backend/query-orchestrator": "1.7.2", "@types/babel__code-frame": "^7.0.6", "@types/babel__generator": "^7.6.8", "@types/babel__traverse": "^7.20.5", diff --git a/packages/cubejs-server-core/CHANGELOG.md b/packages/cubejs-server-core/CHANGELOG.md index bf0afbb209e93..c6ea9a9dff61b 100644 --- a/packages/cubejs-server-core/CHANGELOG.md +++ b/packages/cubejs-server-core/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/server-core + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/server-core diff --git a/packages/cubejs-server-core/package.json b/packages/cubejs-server-core/package.json index 907f03ddda414..40a5e26158efe 100644 --- a/packages/cubejs-server-core/package.json +++ b/packages/cubejs-server-core/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/server-core", "description": "Cube.js base component to wire all backend components together", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -29,16 +29,16 @@ "unit": "jest --runInBand --forceExit --coverage dist/test" }, "dependencies": { - "@cubejs-backend/api-gateway": "1.7.1", - "@cubejs-backend/base-driver": "1.7.1", - "@cubejs-backend/cloud": "1.7.1", - "@cubejs-backend/cubestore-driver": "1.7.1", + "@cubejs-backend/api-gateway": "1.7.2", + "@cubejs-backend/base-driver": "1.7.2", + "@cubejs-backend/cloud": "1.7.2", + "@cubejs-backend/cubestore-driver": "1.7.2", "@cubejs-backend/dotenv": "^9.0.2", - "@cubejs-backend/native": "1.7.1", - "@cubejs-backend/query-orchestrator": "1.7.1", - "@cubejs-backend/schema-compiler": "1.7.1", - "@cubejs-backend/shared": "1.7.1", - "@cubejs-backend/templates": "1.7.1", + "@cubejs-backend/native": "1.7.2", + "@cubejs-backend/query-orchestrator": "1.7.2", + "@cubejs-backend/schema-compiler": "1.7.2", + "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/templates": "1.7.2", "codesandbox-import-utils": "^2.1.12", "cross-spawn": "^7.0.1", "fs-extra": "^8.1.0", @@ -62,8 +62,8 @@ "ws": "^7.5.3" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.1", - "@cubejs-client/playground": "1.7.1", + "@cubejs-backend/linter": "1.7.2", + "@cubejs-client/playground": "1.7.2", "@types/cross-spawn": "^6.0.2", "@types/express": "^4.17.21", "@types/fs-extra": "^9.0.8", diff --git a/packages/cubejs-server/CHANGELOG.md b/packages/cubejs-server/CHANGELOG.md index 0c46362bce10a..a06406392a5c6 100644 --- a/packages/cubejs-server/CHANGELOG.md +++ b/packages/cubejs-server/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/server + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/server diff --git a/packages/cubejs-server/package.json b/packages/cubejs-server/package.json index 0954154488952..f1eef24295e53 100644 --- a/packages/cubejs-server/package.json +++ b/packages/cubejs-server/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/server", "description": "Cube.js all-in-one server", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "types": "index.d.ts", "repository": { "type": "git", @@ -40,11 +40,11 @@ "jest:shapshot": "jest --updateSnapshot test" }, "dependencies": { - "@cubejs-backend/cubestore-driver": "1.7.1", + "@cubejs-backend/cubestore-driver": "1.7.2", "@cubejs-backend/dotenv": "^9.0.2", - "@cubejs-backend/native": "1.7.1", - "@cubejs-backend/server-core": "1.7.1", - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/native": "1.7.2", + "@cubejs-backend/server-core": "1.7.2", + "@cubejs-backend/shared": "1.7.2", "@oclif/color": "^1.0.0", "@oclif/command": "^1.8.13", "@oclif/config": "^1.18.2", @@ -61,8 +61,8 @@ "ws": "^7.1.2" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.1", - "@cubejs-backend/query-orchestrator": "1.7.1", + "@cubejs-backend/linter": "1.7.2", + "@cubejs-backend/query-orchestrator": "1.7.2", "@oclif/dev-cli": "^1.23.1", "@types/body-parser": "^1.19.0", "@types/cors": "^2.8.8", diff --git a/packages/cubejs-snowflake-driver/CHANGELOG.md b/packages/cubejs-snowflake-driver/CHANGELOG.md index 7cbab8522978a..f369b0c9c9f60 100644 --- a/packages/cubejs-snowflake-driver/CHANGELOG.md +++ b/packages/cubejs-snowflake-driver/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/snowflake-driver + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/snowflake-driver diff --git a/packages/cubejs-snowflake-driver/package.json b/packages/cubejs-snowflake-driver/package.json index 53e0ab5967d64..db6f61f82232a 100644 --- a/packages/cubejs-snowflake-driver/package.json +++ b/packages/cubejs-snowflake-driver/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/snowflake-driver", "description": "Cube.js Snowflake database driver", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -28,8 +28,8 @@ }, "dependencies": { "@aws-sdk/client-s3": "^3.726.0", - "@cubejs-backend/base-driver": "1.7.1", - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/base-driver": "1.7.2", + "@cubejs-backend/shared": "1.7.2", "snowflake-sdk": "^2.4.0" }, "license": "Apache-2.0", @@ -40,7 +40,7 @@ "extends": "../cubejs-linter" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.1", + "@cubejs-backend/linter": "1.7.2", "typescript": "~5.2.2", "vitest": "^4" } diff --git a/packages/cubejs-sqlite-driver/CHANGELOG.md b/packages/cubejs-sqlite-driver/CHANGELOG.md index 52f40d0ca5a96..66b914586a801 100644 --- a/packages/cubejs-sqlite-driver/CHANGELOG.md +++ b/packages/cubejs-sqlite-driver/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/sqlite-driver + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/sqlite-driver diff --git a/packages/cubejs-sqlite-driver/package.json b/packages/cubejs-sqlite-driver/package.json index 12a62acf80da2..b61a44acfce4b 100644 --- a/packages/cubejs-sqlite-driver/package.json +++ b/packages/cubejs-sqlite-driver/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/sqlite-driver", "description": "Cube.js Sqlite database driver", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -18,13 +18,13 @@ "unit": "jest" }, "dependencies": { - "@cubejs-backend/base-driver": "1.7.1", - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/base-driver": "1.7.2", + "@cubejs-backend/shared": "1.7.2", "sqlite3": "^5.1.7" }, "license": "Apache-2.0", "devDependencies": { - "@cubejs-backend/linter": "1.7.1", + "@cubejs-backend/linter": "1.7.2", "jest": "^29" }, "publishConfig": { diff --git a/packages/cubejs-templates/CHANGELOG.md b/packages/cubejs-templates/CHANGELOG.md index 9ec2f2e7a26da..34e53c4e92421 100644 --- a/packages/cubejs-templates/CHANGELOG.md +++ b/packages/cubejs-templates/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/templates + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/templates diff --git a/packages/cubejs-templates/package.json b/packages/cubejs-templates/package.json index e043f73f0f91c..e7a94cc961140 100644 --- a/packages/cubejs-templates/package.json +++ b/packages/cubejs-templates/package.json @@ -1,6 +1,6 @@ { "name": "@cubejs-backend/templates", - "version": "1.7.1", + "version": "1.7.2", "description": "Cube.js Templates helpers", "author": "Cube Dev, Inc.", "repository": { @@ -31,7 +31,7 @@ "extends": "../cubejs-linter" }, "dependencies": { - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/shared": "1.7.2", "cross-spawn": "^7.0.3", "decompress": "^4.2.1", "decompress-targz": "^4.1.1", @@ -41,7 +41,7 @@ "source-map-support": "^0.5.19" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.1", + "@cubejs-backend/linter": "1.7.2", "typescript": "~5.2.2" } } diff --git a/packages/cubejs-testing-drivers/CHANGELOG.md b/packages/cubejs-testing-drivers/CHANGELOG.md index 5175b2018779c..3e5f5d8c04b53 100644 --- a/packages/cubejs-testing-drivers/CHANGELOG.md +++ b/packages/cubejs-testing-drivers/CHANGELOG.md @@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +### Features + +- **pinot-driver:** Retrieve types from database + small fixes ([#11241](https://github.com/cube-js/cube/issues/11241)) ([222dece](https://github.com/cube-js/cube/commit/222dece5469d94afda95157c82fef8944652ed7d)) +- **pinot-driver:** Tesseract SQL dialect fixes + incorrect timeout bug ([#11242](https://github.com/cube-js/cube/issues/11242)) ([076ad77](https://github.com/cube-js/cube/commit/076ad775254a9dcc105825315044bb41a17edf91)), closes [#11238](https://github.com/cube-js/cube/issues/11238) [#11239](https://github.com/cube-js/cube/issues/11239) [#11237](https://github.com/cube-js/cube/issues/11237) + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/testing-drivers diff --git a/packages/cubejs-testing-drivers/package.json b/packages/cubejs-testing-drivers/package.json index ea63d30b63fec..2dc7e935b6481 100644 --- a/packages/cubejs-testing-drivers/package.json +++ b/packages/cubejs-testing-drivers/package.json @@ -1,6 +1,6 @@ { "name": "@cubejs-backend/testing-drivers", - "version": "1.7.1", + "version": "1.7.2", "description": "Cube.js drivers test suite", "author": "Cube Dev, Inc.", "repository": { @@ -80,26 +80,26 @@ "dist/src" ], "dependencies": { - "@cubejs-backend/athena-driver": "1.7.1", - "@cubejs-backend/base-driver": "1.7.1", - "@cubejs-backend/bigquery-driver": "1.7.1", - "@cubejs-backend/clickhouse-driver": "1.7.1", - "@cubejs-backend/cubestore-driver": "1.7.1", - "@cubejs-backend/databricks-jdbc-driver": "1.7.1", + "@cubejs-backend/athena-driver": "1.7.2", + "@cubejs-backend/base-driver": "1.7.2", + "@cubejs-backend/bigquery-driver": "1.7.2", + "@cubejs-backend/clickhouse-driver": "1.7.2", + "@cubejs-backend/cubestore-driver": "1.7.2", + "@cubejs-backend/databricks-jdbc-driver": "1.7.2", "@cubejs-backend/dotenv": "^9.0.2", - "@cubejs-backend/linter": "1.7.1", - "@cubejs-backend/mssql-driver": "1.7.1", - "@cubejs-backend/mysql-driver": "1.7.1", - "@cubejs-backend/oracle-driver": "1.7.1", - "@cubejs-backend/pinot-driver": "1.7.1", - "@cubejs-backend/postgres-driver": "1.7.1", - "@cubejs-backend/query-orchestrator": "1.7.1", - "@cubejs-backend/server-core": "1.7.1", - "@cubejs-backend/shared": "1.7.1", - "@cubejs-backend/snowflake-driver": "1.7.1", - "@cubejs-backend/testing-shared": "1.7.1", - "@cubejs-client/core": "1.7.1", - "@cubejs-client/ws-transport": "1.7.1", + "@cubejs-backend/linter": "1.7.2", + "@cubejs-backend/mssql-driver": "1.7.2", + "@cubejs-backend/mysql-driver": "1.7.2", + "@cubejs-backend/oracle-driver": "1.7.2", + "@cubejs-backend/pinot-driver": "1.7.2", + "@cubejs-backend/postgres-driver": "1.7.2", + "@cubejs-backend/query-orchestrator": "1.7.2", + "@cubejs-backend/server-core": "1.7.2", + "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/snowflake-driver": "1.7.2", + "@cubejs-backend/testing-shared": "1.7.2", + "@cubejs-client/core": "1.7.2", + "@cubejs-client/ws-transport": "1.7.2", "@jest/globals": "^29", "@types/jest": "^29", "@types/node": "^22", diff --git a/packages/cubejs-testing-shared/CHANGELOG.md b/packages/cubejs-testing-shared/CHANGELOG.md index 93bce35857d7f..b9a28c4e8279d 100644 --- a/packages/cubejs-testing-shared/CHANGELOG.md +++ b/packages/cubejs-testing-shared/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/testing-shared + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/testing-shared diff --git a/packages/cubejs-testing-shared/package.json b/packages/cubejs-testing-shared/package.json index c027c27bfd97a..7fc7ade1e3ad9 100644 --- a/packages/cubejs-testing-shared/package.json +++ b/packages/cubejs-testing-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cubejs-backend/testing-shared", - "version": "1.7.1", + "version": "1.7.2", "description": "Cube.js Testing Helpers", "author": "Cube Dev, Inc.", "repository": { @@ -26,16 +26,16 @@ ], "dependencies": { "@cubejs-backend/dotenv": "^9.0.2", - "@cubejs-backend/query-orchestrator": "1.7.1", - "@cubejs-backend/schema-compiler": "1.7.1", - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/query-orchestrator": "1.7.2", + "@cubejs-backend/schema-compiler": "1.7.2", + "@cubejs-backend/shared": "1.7.2", "@testcontainers/kafka": "~10.28.0", "dedent": "^0.7.0", "node-fetch": "^2.6.7", "testcontainers": "^10.28.0" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.1", + "@cubejs-backend/linter": "1.7.2", "@jest/globals": "^29", "@types/dedent": "^0.7.0", "@types/jest": "^29", diff --git a/packages/cubejs-testing/CHANGELOG.md b/packages/cubejs-testing/CHANGELOG.md index 2a0894b035ca2..48843c7e1e5be 100644 --- a/packages/cubejs-testing/CHANGELOG.md +++ b/packages/cubejs-testing/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/testing + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) ### Bug Fixes diff --git a/packages/cubejs-testing/package.json b/packages/cubejs-testing/package.json index 980b9e1ae077e..df9588f99861d 100644 --- a/packages/cubejs-testing/package.json +++ b/packages/cubejs-testing/package.json @@ -1,6 +1,6 @@ { "name": "@cubejs-backend/testing", - "version": "1.7.1", + "version": "1.7.2", "description": "Cube.js e2e tests", "author": "Cube Dev, Inc.", "repository": { @@ -100,15 +100,15 @@ "birdbox-fixtures" ], "dependencies": { - "@cubejs-backend/cubestore-driver": "1.7.1", + "@cubejs-backend/cubestore-driver": "1.7.2", "@cubejs-backend/dotenv": "^9.0.2", - "@cubejs-backend/ksql-driver": "1.7.1", - "@cubejs-backend/postgres-driver": "1.7.1", - "@cubejs-backend/query-orchestrator": "1.7.1", - "@cubejs-backend/schema-compiler": "1.7.1", - "@cubejs-backend/shared": "1.7.1", - "@cubejs-backend/testing-shared": "1.7.1", - "@cubejs-client/ws-transport": "1.7.1", + "@cubejs-backend/ksql-driver": "1.7.2", + "@cubejs-backend/postgres-driver": "1.7.2", + "@cubejs-backend/query-orchestrator": "1.7.2", + "@cubejs-backend/schema-compiler": "1.7.2", + "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/testing-shared": "1.7.2", + "@cubejs-client/ws-transport": "1.7.2", "dedent": "^0.7.0", "fs-extra": "^8.1.0", "http-proxy": "^1.18.1", @@ -119,8 +119,8 @@ }, "devDependencies": { "@4tw/cypress-drag-drop": "^1.6.0", - "@cubejs-backend/linter": "1.7.1", - "@cubejs-client/core": "1.7.1", + "@cubejs-backend/linter": "1.7.2", + "@cubejs-client/core": "1.7.2", "@jest/globals": "^29", "@types/dedent": "^0.7.0", "@types/http-proxy": "^1.17.5", diff --git a/packages/cubejs-trino-driver/CHANGELOG.md b/packages/cubejs-trino-driver/CHANGELOG.md index c78864f0381a6..6712c345306f2 100644 --- a/packages/cubejs-trino-driver/CHANGELOG.md +++ b/packages/cubejs-trino-driver/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/trino-driver + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) ### Bug Fixes diff --git a/packages/cubejs-trino-driver/package.json b/packages/cubejs-trino-driver/package.json index d1c723fe2c774..452c587c476b2 100644 --- a/packages/cubejs-trino-driver/package.json +++ b/packages/cubejs-trino-driver/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/trino-driver", "description": "Cube.js Trino database driver", "author": "Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -28,10 +28,10 @@ "lint:fix": "eslint --fix src/* --ext .ts" }, "dependencies": { - "@cubejs-backend/base-driver": "1.7.1", - "@cubejs-backend/prestodb-driver": "1.7.1", - "@cubejs-backend/schema-compiler": "1.7.1", - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/base-driver": "1.7.2", + "@cubejs-backend/prestodb-driver": "1.7.2", + "@cubejs-backend/schema-compiler": "1.7.2", + "@cubejs-backend/shared": "1.7.2", "node-fetch": "^2.6.1", "presto-client": "^1.2.0", "sqlstring": "^2.3.1" @@ -41,7 +41,7 @@ "access": "public" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.1", + "@cubejs-backend/linter": "1.7.2", "@types/jest": "^29", "jest": "^29", "testcontainers": "^10.28.0", diff --git a/packages/cubejs-vertica-driver/CHANGELOG.md b/packages/cubejs-vertica-driver/CHANGELOG.md index 21e403edf683a..7d844cc1168f8 100644 --- a/packages/cubejs-vertica-driver/CHANGELOG.md +++ b/packages/cubejs-vertica-driver/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/vertica-driver + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/vertica-driver diff --git a/packages/cubejs-vertica-driver/package.json b/packages/cubejs-vertica-driver/package.json index 2e3b508a39a3f..224adaa0fd9f8 100644 --- a/packages/cubejs-vertica-driver/package.json +++ b/packages/cubejs-vertica-driver/package.json @@ -2,7 +2,7 @@ "name": "@cubejs-backend/vertica-driver", "description": "Cube.js Vertica database driver", "author": "Eduard Karacharov, Tim Brown, Cube Dev, Inc.", - "version": "1.7.1", + "version": "1.7.2", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -19,16 +19,16 @@ "lint:fix": "eslint --fix **/*.js" }, "dependencies": { - "@cubejs-backend/base-driver": "1.7.1", - "@cubejs-backend/query-orchestrator": "1.7.1", - "@cubejs-backend/schema-compiler": "1.7.1", - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/base-driver": "1.7.2", + "@cubejs-backend/query-orchestrator": "1.7.2", + "@cubejs-backend/schema-compiler": "1.7.2", + "@cubejs-backend/shared": "1.7.2", "vertica-nodejs": "^1.0.3" }, "license": "Apache-2.0", "devDependencies": { - "@cubejs-backend/linter": "1.7.1", - "@cubejs-backend/testing-shared": "1.7.1", + "@cubejs-backend/linter": "1.7.2", + "@cubejs-backend/testing-shared": "1.7.2", "@types/jest": "^29", "jest": "^29", "testcontainers": "^10.28.0" diff --git a/rust/cubesql/CHANGELOG.md b/rust/cubesql/CHANGELOG.md index 8dd80f89fbc45..c3540b152deaf 100644 --- a/rust/cubesql/CHANGELOG.md +++ b/rust/cubesql/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +### Bug Fixes + +- **cubesql:** Keep distinct aliases for same-named columns across join sides ([#11197](https://github.com/cube-js/cube/issues/11197)) ([6129ec7](https://github.com/cube-js/cube/commit/6129ec73d8b0e5c55bba9d8a079ae7e1ab970879)) + +### Performance Improvements + +- **cubesql:** Migrate streaming to columnar JSON batches, 40-80% ([#11232](https://github.com/cube-js/cube/issues/11232)) ([7b4b124](https://github.com/cube-js/cube/commit/7b4b124e559867b992f8dafcb81f3b3082884c9a)) + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) ### Bug Fixes diff --git a/rust/cubesql/package.json b/rust/cubesql/package.json index 4b62f472b30ce..25c855ce18459 100644 --- a/rust/cubesql/package.json +++ b/rust/cubesql/package.json @@ -1,6 +1,6 @@ { "name": "@cubejs-backend/cubesql", - "version": "1.7.1", + "version": "1.7.2", "description": "SQL API for Cube as proxy over MySQL protocol.", "engines": { "node": "^12.0.0 || ^14.0.0 || >=16.0.0" diff --git a/rust/cubestore/CHANGELOG.md b/rust/cubestore/CHANGELOG.md index da50dba598081..9c2bb55064583 100644 --- a/rust/cubestore/CHANGELOG.md +++ b/rust/cubestore/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) + +**Note:** Version bump only for package @cubejs-backend/cubestore + ## [1.7.1](https://github.com/cube-js/cube/compare/v1.7.0...v1.7.1) (2026-07-08) **Note:** Version bump only for package @cubejs-backend/cubestore diff --git a/rust/cubestore/Cargo.lock b/rust/cubestore/Cargo.lock index 33d867c38c605..65a540667da7c 100644 --- a/rust/cubestore/Cargo.lock +++ b/rust/cubestore/Cargo.lock @@ -1558,7 +1558,7 @@ dependencies = [ [[package]] name = "cubestore" -version = "1.7.1" +version = "1.7.2" dependencies = [ "actix-rt", "anyhow", diff --git a/rust/cubestore/cubestore/Cargo.toml b/rust/cubestore/cubestore/Cargo.toml index 948ecf61bc5ae..46619673e91fc 100644 --- a/rust/cubestore/cubestore/Cargo.toml +++ b/rust/cubestore/cubestore/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cubestore" -version = "1.7.1" +version = "1.7.2" authors = ["Cube Dev, Inc."] edition = "2021" license = "Apache-2.0" diff --git a/rust/cubestore/package.json b/rust/cubestore/package.json index c2d8b0387cad3..180806c2b7e64 100644 --- a/rust/cubestore/package.json +++ b/rust/cubestore/package.json @@ -1,6 +1,6 @@ { "name": "@cubejs-backend/cubestore", - "version": "1.7.1", + "version": "1.7.2", "description": "Cube.js pre-aggregation storage layer.", "main": "dist/src/index.js", "typings": "dist/src/index.d.ts", @@ -33,7 +33,7 @@ }, "license": "Apache-2.0", "devDependencies": { - "@cubejs-backend/linter": "1.7.1", + "@cubejs-backend/linter": "1.7.2", "@types/jest": "^29", "@types/node": "^18", "jest": "^29", @@ -43,7 +43,7 @@ "access": "public" }, "dependencies": { - "@cubejs-backend/shared": "1.7.1", + "@cubejs-backend/shared": "1.7.2", "@octokit/core": "^3.2.5", "source-map-support": "^0.5.19" },