diff --git a/.github/workflows/drivers-tests.yml b/.github/workflows/drivers-tests.yml index 7a2d94205f40a..a99f0b4ef4153 100644 --- a/.github/workflows/drivers-tests.yml +++ b/.github/workflows/drivers-tests.yml @@ -19,6 +19,7 @@ on: - 'packages/cubejs-athena-driver/**' - 'packages/cubejs-bigquery-driver/**' - 'packages/cubejs-clickhouse-driver/**' + - 'packages/cubejs-crate-driver/**' - 'packages/cubejs-databricks-jdbc-driver/**' - 'packages/cubejs-mssql-driver/**' - 'packages/cubejs-mysql-driver/**' @@ -48,6 +49,7 @@ on: - 'packages/cubejs-athena-driver/**' - 'packages/cubejs-bigquery-driver/**' - 'packages/cubejs-clickhouse-driver/**' + - 'packages/cubejs-crate-driver/**' - 'packages/cubejs-databricks-jdbc-driver/**' - 'packages/cubejs-mssql-driver/**' - 'packages/cubejs-mysql-driver/**' @@ -260,6 +262,7 @@ jobs: - clickhouse - clickhouse-export-bucket-s3 - clickhouse-export-bucket-s3-prefix + - crate - databricks-jdbc - databricks-jdbc-export-bucket-s3 - databricks-jdbc-export-bucket-s3-prefix @@ -290,6 +293,8 @@ jobs: include: - database: postgres use_tesseract_sql_planner: false + - database: crate + use_tesseract_sql_planner: false - database: snowflake use_tesseract_sql_planner: false - database: redshift diff --git a/CHANGELOG.md b/CHANGELOG.md index 82422c8e669c3..60e8b69242d5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,21 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +### Bug Fixes + +- **base-driver:** Handle NULL values in readOnly type detection (fix [#11094](https://github.com/cube-js/cube/issues/11094)) ([#11245](https://github.com/cube-js/cube/issues/11245)) ([f06bfb9](https://github.com/cube-js/cube/commit/f06bfb9875c285c63ac99b73a988c7ce1c61ca13)) +- **cubesql:** Normalize date-only string literals in timestamp comparisons ([#11251](https://github.com/cube-js/cube/issues/11251)) ([ec12ff0](https://github.com/cube-js/cube/commit/ec12ff00ffca0084eb8658fad97f42680aa0c0d7)) +- **cubesql:** Reference window expressions by generated alias in `ORDER BY` ([#11250](https://github.com/cube-js/cube/issues/11250)) ([8068893](https://github.com/cube-js/cube/commit/8068893a2d83d62038436884d67ba700a7d515b7)) +- **cubesql:** Reject `ORDER BY` over ungrouped columns with a clear error ([#11249](https://github.com/cube-js/cube/issues/11249)) ([ff5eac9](https://github.com/cube-js/cube/commit/ff5eac95c5dcf7a7fb14d978ae2fd597ffd6bf5e)) +- **cubesql:** Support `HAVING` on a measure combined with `ORDER BY` on the same measure ([#11254](https://github.com/cube-js/cube/issues/11254)) ([23b199e](https://github.com/cube-js/cube/commit/23b199e03be75596e150eec551fef68aaedc8251)) +- **duckdb-driver:** Invalid SQL for custom granularities ([#11272](https://github.com/cube-js/cube/issues/11272)) ([7850aab](https://github.com/cube-js/cube/commit/7850aab6b291e486c5d1a9597da40d2ae021a755)) + +### Features + +- **questdb-driver:** Initial support for Tesseract, add integration tests ([#11259](https://github.com/cube-js/cube/issues/11259)) ([e6cd6e1](https://github.com/cube-js/cube/commit/e6cd6e12a05b256509fc94639e6bc3b2c7a1bb65)) + ## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) ### Bug Fixes diff --git a/docs-mintlify/admin/users-and-permissions/custom-roles.mdx b/docs-mintlify/admin/users-and-permissions/custom-roles.mdx index 6cd283e855dcb..4a0d08769d10e 100644 --- a/docs-mintlify/admin/users-and-permissions/custom-roles.mdx +++ b/docs-mintlify/admin/users-and-permissions/custom-roles.mdx @@ -119,6 +119,7 @@ Either grant **Full access** (a shortcut that enables every current and future d | Data Model | Edit data model | Edit the data model on any branch, including the main/deploy branch. Allows committing and merging to main, force-syncing main, and starting dev mode against main. | | Data Model | Edit data model on dev branches | Edit the data model only on non-default branches. Blocks any write that targets the main/deploy branch (including merging to main). | | Monitoring | Access query history | View deployment query history, performance, and traces. | +| Data Export | Download data | Download query results as CSV from workbooks, Analytics Chat, and published dashboards. Granted by default to the built-in Viewer, Explorer, and Developer roles. See [Data download controls][ref-data-download-controls]. | When **Full access** is checked, the granular checkboxes appear checked and disabled — granting Full access today also covers any deployment-scoped permissions added in the future. @@ -126,10 +127,12 @@ When **Full access** is checked, the granular checkboxes appear checked and disa -**Access deployment** (`DeploymentRead`) is special. It's the only deployment action that does **not** auto-bump the Base Role to Developer, because Viewers also need it just to open a deployment. +**Access deployment** (`DeploymentRead`) and **Download data** (`DownloadData`) are special. They are the only deployment actions that do **not** auto-bump the Base Role to Developer, because Viewers also need them just to open a deployment and download data from it. +[ref-data-download-controls]: /admin/users-and-permissions/roles-and-permissions#restricting-data-downloads + ## Walkthroughs ### Create a Viewer with read access to all deployments @@ -252,3 +255,4 @@ This section lists every action a custom role can grant. The internal action nam | `SchemaUpdate` | Edit data model | | `SchemaUpdateDevBranches` | Edit data model on dev branches | | `APMRead` | Access query history | +| `DownloadData` | Download data | diff --git a/docs-mintlify/admin/users-and-permissions/roles-and-permissions.mdx b/docs-mintlify/admin/users-and-permissions/roles-and-permissions.mdx index 00d57ad409b46..c9abeeb771f62 100644 --- a/docs-mintlify/admin/users-and-permissions/roles-and-permissions.mdx +++ b/docs-mintlify/admin/users-and-permissions/roles-and-permissions.mdx @@ -28,6 +28,17 @@ Admin roles are billed at the developer rate. +## Restricting data downloads + +By default, all roles can download query results as CSV from workbooks, Analytics Chat, and published dashboards. Two controls restrict this: + +- **Account-wide** — the **Allow data downloads** switch on the **Admin → Settings** page. Turning it off hides export controls everywhere, for all users — including admins and embeds. +- **Per user** — the **Download data** action in [custom roles][ref-custom-roles]. Built-in roles grant it by default; to remove download access for a group of users, assign them a custom role without it. Admins and anonymous embed viewers bypass it. + +The account-wide switch always wins; the permission applies only while downloads are allowed account-wide. Both govern the download button, not data access — query results are still rendered on screen. + +[ref-custom-roles]: /admin/users-and-permissions/custom-roles + ## Agent Permissions Agents are connected to Semantic Model Deployments and inherit the permission level of the user they are operating under. diff --git a/docs-mintlify/docs/explore-analyze/workbooks/querying-data.mdx b/docs-mintlify/docs/explore-analyze/workbooks/querying-data.mdx index 27ee31cb768f9..c62981ff267ce 100644 --- a/docs-mintlify/docs/explore-analyze/workbooks/querying-data.mdx +++ b/docs-mintlify/docs/explore-analyze/workbooks/querying-data.mdx @@ -47,7 +47,7 @@ views: operator: between values: ["7 days ago", "today"] - member: status - operator: equals + operator: is values: ["completed"] ``` diff --git a/docs-mintlify/docs/integrations/dbt.mdx b/docs-mintlify/docs/integrations/dbt.mdx index 2338be40a910b..20490b8d80cc9 100644 --- a/docs-mintlify/docs/integrations/dbt.mdx +++ b/docs-mintlify/docs/integrations/dbt.mdx @@ -4,6 +4,12 @@ sidebarTitle: dbt description: Pull dbt models into Cube and convert them into cubes automatically — manually, from your CI/CD pipeline, or on every push to your dbt repository. --- + + +Available on [Premium and above plans](https://cube.dev/pricing). + + + If your team already models data in [dbt](https://www.getdbt.com/), you can import those models into Cube as cubes instead of redefining them by hand. **dbt pull** connects to your dbt project's Git repository, parses the project, converts each dbt diff --git a/docs-mintlify/reference/data-modeling/view.mdx b/docs-mintlify/reference/data-modeling/view.mdx index a4b8da0dc3d53..f937ae2f677d1 100644 --- a/docs-mintlify/reference/data-modeling/view.mdx +++ b/docs-mintlify/reference/data-modeling/view.mdx @@ -293,7 +293,8 @@ filters are pre-populated as regular, fully editable filters — data consumers can change their values, switch operators, or remove them entirely. Each entry has a `member` (a dimension or measure exposed by the view), an -`operator`, and a list of `values`. +`operator`, and a list of `values` — or a single `value`, which is natural for +single-value operators. Null-check operators take no value. @@ -314,11 +315,16 @@ views: meta: default_ui_filters: + # "is yesterday" → equality at day grain, shows yesterday's data - member: created_at + operator: is + value: yesterday + # Rolling window → use "between" with two bounds + - member: updated_at operator: between values: ["7 days ago", "today"] - member: status - operator: equals + operator: is values: ["completed", "shipped"] ``` @@ -333,14 +339,21 @@ view(`orders_view`, { meta: { default_ui_filters: [ + // "is yesterday" → equality at day grain, shows yesterday's data { member: `created_at`, + operator: `is`, + value: `yesterday` + }, + // Rolling window → use "between" with two bounds + { + member: `updated_at`, operator: `between`, values: [`7 days ago`, `today`] }, { member: `status`, - operator: `equals`, + operator: `is`, values: [`completed`, `shipped`] } ] @@ -352,10 +365,20 @@ view(`orders_view`, { ##### Operators -Operators use the same names data consumers see in the workbook filter bar: -`equals`, `not_equals`, `between`, `greater_than`, `greater_than_or_equal`, -`less_than`, `less_than_or_equal`, `contains`, `not_contains`, `starts_with`, -`not_starts_with`, `ends_with`, `not_ends_with`, `is_null`, `is_not_null`. +Operators use the same labels data consumers see in the workbook filter bar — +what you see in the filter bar is what you type: `is`, `is not`, `after date`, +`after or on date`, `before date`, `before or on date`, `between`, `contains`, +`not contains`, `starts with`, `not starts with`, `ends with`, `not ends with`, +`is null`, `is not null`. + +Operators are case-insensitive and whitespace-tolerant. Internal type names and +REST API aliases (e.g. `equals`, `gte`, `inDateRange`) are also accepted. + +On a date or time member, `is` with a relative value is an **equality** at that +value's grain, not a range — `is yesterday` matches yesterday only (e.g. +`DATE_TRUNC('day', created_at) = CURRENT_DATE - INTERVAL '1 day'`), and +`is this month` matches the current month. For a rolling window, use `between` +with two bounds. ##### Relative date values @@ -366,11 +389,11 @@ Each bound is one of: `N days|weeks|months|quarters|years ago` (e.g. `7 days ago`), `N ... from now` (e.g. `2 weeks from now`), or `this week|month|quarter|year`. `now` is accepted as an alias for `today`. -- **A fixed ISO date**: `"2026-01-15"`. +- **A fixed ISO date**: `"2026-01-15"`, meaning that whole day. - **A number**, for numeric members. -Relative values also work with the open-ended comparison operators — for -example, `greater_than` with `values: ["7 days ago"]`. +Relative values also work with `is` and the open-ended comparison operators — +for example, `after date` with `value: 7 days ago`. Relative bounds resolve when a query runs, not when the filter is seeded: `["7 days ago", "today"]` produces SQL based on the current date (e.g. @@ -379,10 +402,10 @@ rolls forward day over day. Both bounds are inclusive — `["7 days ago", "today"]` covers 8 calendar days for daily data. In the workbook, the seeded filter opens the date editor on the **Relative** tab showing its bounds. -Values are case- and whitespace-insensitive. Bounds are validated: an -unrecognized value, or a `between` filter with a single value, drops that -filter entry with a browser-console warning — the remaining entries still -apply, and view selection never breaks. +Values are case- and whitespace-insensitive. Entries are validated: an +unrecognized operator or value, or a `between` filter without exactly two +bounds, drops that filter entry with a browser-console warning — the remaining +entries still apply, and view selection never breaks. Unlike [`default_filters`](#default_filters), which are enforced on every query against the view, `default_ui_filters` only provide a starting point for the diff --git a/lerna.json b/lerna.json index 1430be3e1889d..641f853a99669 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "1.7.2", + "version": "1.7.3", "npmClient": "yarn", "command": { "bootstrap": { diff --git a/packages/cubejs-api-gateway/CHANGELOG.md b/packages/cubejs-api-gateway/CHANGELOG.md index 0515a47050087..0576af75393d2 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/api-gateway + ## [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 diff --git a/packages/cubejs-api-gateway/package.json b/packages/cubejs-api-gateway/package.json index 2411d9d6d047e..d04f10a062755 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.2", + "version": "1.7.3", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -27,9 +27,9 @@ "dist/src/*" ], "dependencies": { - "@cubejs-backend/native": "1.7.2", - "@cubejs-backend/query-orchestrator": "1.7.2", - "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/native": "1.7.3", + "@cubejs-backend/query-orchestrator": "1.7.3", + "@cubejs-backend/shared": "1.7.3", "@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.2", + "@cubejs-backend/linter": "1.7.3", "@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 7e37926fb37b9..ab4ddb0b9dd1b 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/athena-driver + ## [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 diff --git a/packages/cubejs-athena-driver/package.json b/packages/cubejs-athena-driver/package.json index 902ab3b572ab1..85a07a9752c9d 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.2", + "version": "1.7.3", "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.2", - "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/base-driver": "1.7.3", + "@cubejs-backend/shared": "1.7.3", "sqlstring": "^2.3.1" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.2", - "@cubejs-backend/testing-shared": "1.7.2", + "@cubejs-backend/linter": "1.7.3", + "@cubejs-backend/testing-shared": "1.7.3", "@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 66d7e05ef904b..e69d01153ffba 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/cloud + ## [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 diff --git a/packages/cubejs-backend-cloud/package.json b/packages/cubejs-backend-cloud/package.json index 88ca5f2547ffa..fb0f71db8c680 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.2", + "version": "1.7.3", "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.2", + "@cubejs-backend/linter": "1.7.3", "@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.2", + "@cubejs-backend/shared": "1.7.3", "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 1b2e0e248c617..f13634fafa17b 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/maven + ## [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 diff --git a/packages/cubejs-backend-maven/package.json b/packages/cubejs-backend-maven/package.json index de5399f4b2dc8..901ca7128fc74 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.2", + "version": "1.7.3", "license": "Apache-2.0", "repository": { "type": "git", @@ -31,12 +31,12 @@ "dist/src/*" ], "dependencies": { - "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/shared": "1.7.3", "source-map-support": "^0.5.19", "xmlbuilder2": "^2.4.0" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.2", + "@cubejs-backend/linter": "1.7.3", "@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 ff6c5a8ac68ab..93eb88cadeeb6 100644 --- a/packages/cubejs-backend-native/CHANGELOG.md +++ b/packages/cubejs-backend-native/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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +### Bug Fixes + +- **cubesql:** Reject `ORDER BY` over ungrouped columns with a clear error ([#11249](https://github.com/cube-js/cube/issues/11249)) ([ff5eac9](https://github.com/cube-js/cube/commit/ff5eac95c5dcf7a7fb14d978ae2fd597ffd6bf5e)) +- **cubesql:** Support `HAVING` on a measure combined with `ORDER BY` on the same measure ([#11254](https://github.com/cube-js/cube/issues/11254)) ([23b199e](https://github.com/cube-js/cube/commit/23b199e03be75596e150eec551fef68aaedc8251)) + ## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) ### Performance Improvements diff --git a/packages/cubejs-backend-native/package.json b/packages/cubejs-backend-native/package.json index ae99e633e3f9f..bc0da2e99628d 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.2", + "version": "1.7.3", "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.2", + "@cubejs-backend/linter": "1.7.3", "@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.2", - "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/cubesql": "1.7.3", + "@cubejs-backend/shared": "1.7.3", "@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 0429d85fb9c98..fc26ba29904d9 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/shared + ## [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 diff --git a/packages/cubejs-backend-shared/package.json b/packages/cubejs-backend-shared/package.json index ecff97a708059..0cbd61382ed31 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.2", + "version": "1.7.3", "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.2", + "@cubejs-backend/linter": "1.7.3", "@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 397930aea804e..3b0b8eb9e0685 100644 --- a/packages/cubejs-base-driver/CHANGELOG.md +++ b/packages/cubejs-base-driver/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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +### Bug Fixes + +- **base-driver:** Handle NULL values in readOnly type detection (fix [#11094](https://github.com/cube-js/cube/issues/11094)) ([#11245](https://github.com/cube-js/cube/issues/11245)) ([f06bfb9](https://github.com/cube-js/cube/commit/f06bfb9875c285c63ac99b73a988c7ce1c61ca13)) + ## [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 diff --git a/packages/cubejs-base-driver/package.json b/packages/cubejs-base-driver/package.json index b31e965e89ff2..d178ebbeafc5c 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.2", + "version": "1.7.3", "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.2", + "@cubejs-backend/shared": "1.7.3", "@google-cloud/storage": "^7.13.0" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.2", + "@cubejs-backend/linter": "1.7.3", "@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 2b9e446d25f0d..45fcd2a9f77d4 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/bigquery-driver + ## [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 diff --git a/packages/cubejs-bigquery-driver/package.json b/packages/cubejs-bigquery-driver/package.json index 5dcb21c4a5bc0..438ffd9b9373a 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.2", + "version": "1.7.3", "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.2", + "@cubejs-backend/base-driver": "1.7.3", "@cubejs-backend/dotenv": "^9.0.2", - "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/shared": "1.7.3", "@google-cloud/bigquery": "^7.7.0", "@google-cloud/storage": "^7.13.0", "ramda": "^0.27.2" }, "devDependencies": { - "@cubejs-backend/testing-shared": "1.7.2", + "@cubejs-backend/testing-shared": "1.7.3", "@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 5fe2a3762300c..0887b7e9c5884 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package cubejs-cli + ## [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 diff --git a/packages/cubejs-cli/package.json b/packages/cubejs-cli/package.json index 1d144f2f9295c..8aafa994daf07 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.2", + "version": "1.7.3", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -30,10 +30,10 @@ "LICENSE" ], "dependencies": { - "@cubejs-backend/cloud": "1.7.2", + "@cubejs-backend/cloud": "1.7.3", "@cubejs-backend/dotenv": "^9.0.2", - "@cubejs-backend/schema-compiler": "1.7.2", - "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/schema-compiler": "1.7.3", + "@cubejs-backend/shared": "1.7.3", "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.2", - "@cubejs-backend/server": "1.7.2", + "@cubejs-backend/linter": "1.7.3", + "@cubejs-backend/server": "1.7.3", "@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 a364c73518b37..c1ecc73490f03 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/clickhouse-driver + ## [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 diff --git a/packages/cubejs-clickhouse-driver/package.json b/packages/cubejs-clickhouse-driver/package.json index 1c2bcfbd96069..4ea9c088a92c6 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.2", + "version": "1.7.3", "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.2", - "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/base-driver": "1.7.3", + "@cubejs-backend/shared": "1.7.3", "moment": "^2.24.0", "sqlstring": "^2.3.1", "uuid": "^8.3.2" }, "license": "Apache-2.0", "devDependencies": { - "@cubejs-backend/linter": "1.7.2", - "@cubejs-backend/testing-shared": "1.7.2", + "@cubejs-backend/linter": "1.7.3", + "@cubejs-backend/testing-shared": "1.7.3", "@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 819a8ee260fe7..d8b53bc7adf9d 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-client/core + ## [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 diff --git a/packages/cubejs-client-core/package.json b/packages/cubejs-client-core/package.json index 071429092e5dc..d00b0ab46c0df 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.2", + "version": "1.7.3", "engines": {}, "type": "module", "repository": { @@ -57,7 +57,7 @@ ], "license": "MIT", "devDependencies": { - "@cubejs-backend/linter": "1.7.2", + "@cubejs-backend/linter": "1.7.3", "@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 175fbb4d680c8..867bf83129fdc 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-client/dx + ## [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 diff --git a/packages/cubejs-client-dx/package.json b/packages/cubejs-client-dx/package.json index bc4e39f96c6d1..1334409e701fc 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.2", + "version": "1.7.3", "engines": {}, "repository": { "type": "git", diff --git a/packages/cubejs-client-ngx/CHANGELOG.md b/packages/cubejs-client-ngx/CHANGELOG.md index 8ba40d1e96cd1..8b3ffa2a0a407 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-client/ngx + ## [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 diff --git a/packages/cubejs-client-ngx/package.json b/packages/cubejs-client-ngx/package.json index 6ae22b2455452..e88cb6faa1bf7 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.2", + "version": "1.7.3", "author": "Cube Dev, Inc.", "engines": {}, "repository": { diff --git a/packages/cubejs-client-react/CHANGELOG.md b/packages/cubejs-client-react/CHANGELOG.md index cde7ad0214b8b..2d9b0b58ede01 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-client/react + ## [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 diff --git a/packages/cubejs-client-react/package.json b/packages/cubejs-client-react/package.json index 74db73d447e84..f6186490257fe 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.2", + "version": "1.7.3", "author": "Cube Dev, Inc.", "license": "MIT", "engines": {}, @@ -24,7 +24,7 @@ ], "dependencies": { "@babel/runtime": "^7.1.2", - "@cubejs-client/core": "1.7.2", + "@cubejs-client/core": "1.7.3", "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 e9fae1b878a55..27ca4dd1a8924 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-client/vue3 + ## [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 diff --git a/packages/cubejs-client-vue3/package.json b/packages/cubejs-client-vue3/package.json index 7534678232557..444c857ed53c6 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.2", + "version": "1.7.3", "engines": {}, "repository": { "type": "git", @@ -27,7 +27,7 @@ "src" ], "dependencies": { - "@cubejs-client/core": "1.7.2", + "@cubejs-client/core": "1.7.3", "ramda": "^0.27.0" }, "devDependencies": { diff --git a/packages/cubejs-client-ws-transport/CHANGELOG.md b/packages/cubejs-client-ws-transport/CHANGELOG.md index 1fac71611df77..aa715f7267c97 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-client/ws-transport + ## [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 diff --git a/packages/cubejs-client-ws-transport/package.json b/packages/cubejs-client-ws-transport/package.json index b7c05697e19e0..5e1e5c6d435ff 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.2", + "version": "1.7.3", "engines": {}, "repository": { "type": "git", @@ -20,7 +20,7 @@ }, "dependencies": { "@babel/runtime": "^7.1.2", - "@cubejs-client/core": "1.7.2", + "@cubejs-client/core": "1.7.3", "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.2", + "@cubejs-backend/linter": "1.7.3", "@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 9d79d3f77469d..e210003d08105 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/crate-driver + ## [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 diff --git a/packages/cubejs-crate-driver/package.json b/packages/cubejs-crate-driver/package.json index 976f55e96ddd1..4c7bd05c6abae 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.2", + "version": "1.7.3", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -24,17 +24,18 @@ "test": "yarn integration", "integration": "npm run integration:crate", "integration:crate": "jest --verbose dist/test", + "unit": "jest --forceExit --verbose dist/test/CrateDriver.unit.test.js", "lint": "eslint src/* --ext .ts", "lint:fix": "eslint --fix src/* --ext .ts" }, "dependencies": { - "@cubejs-backend/postgres-driver": "1.7.2", - "@cubejs-backend/shared": "1.7.2" + "@cubejs-backend/postgres-driver": "1.7.3", + "@cubejs-backend/shared": "1.7.3" }, "license": "Apache-2.0", "devDependencies": { - "@cubejs-backend/linter": "1.7.2", - "@cubejs-backend/testing-shared": "1.7.2", + "@cubejs-backend/linter": "1.7.3", + "@cubejs-backend/testing-shared": "1.7.3", "testcontainers": "^10.28.0", "typescript": "~5.2.2" }, diff --git a/packages/cubejs-crate-driver/src/CrateDriver.ts b/packages/cubejs-crate-driver/src/CrateDriver.ts index f031d64bb2d7a..7f31d24462650 100644 --- a/packages/cubejs-crate-driver/src/CrateDriver.ts +++ b/packages/cubejs-crate-driver/src/CrateDriver.ts @@ -14,4 +14,65 @@ export class CrateDriver extends PostgresDriver { await this.loadUserDefinedTypes(conn); } + + /** + * CrateDB's Postgres-wire protocol does not accept bound parameters inside a + * `CREATE TABLE AS` statement -- it fails with "Requested parameter index + * exceeds the number of parameters: 0". + * + * The ParameterDescription message works for the most common use cases except for DDL statements + * https://cratedb.com/docs/crate/reference/en/latest/interfaces/postgres.html#extended-query + */ + public async loadPreAggregationIntoTable( + preAggregationTableName: string, + loadSql: string, + params: unknown[], + options: any + ): Promise { + const result = await super.loadPreAggregationIntoTable( + preAggregationTableName, + CrateDriver.inlineParams(loadSql, params), + [], + options + ); + + // CrateDB is eventually consistent: rows written by the `CREATE TABLE AS` + // above are not visible to subsequent reads until the table is refreshed. + // Refresh so the freshly materialized pre-aggregation is immediately readable. + // See https://cratedb.com/docs/crate/reference/en/latest/general/dql/refresh.html + await this.query(`REFRESH TABLE ${preAggregationTableName}`, []); + + return result; + } + + protected static inlineParams(sql: string, params: unknown[]): string { + if (!params || params.length === 0) { + return sql; + } + + return sql.replace(/\$(\d+)/g, (match, index) => { + const param = params[parseInt(index, 10) - 1]; + return param === undefined ? match : CrateDriver.formatParam(param); + }); + } + + protected static formatParam(value: unknown): string { + if (value === null) { + return 'NULL'; + } + + if (typeof value === 'number') { + return `${value}`; + } + + if (typeof value === 'boolean') { + return value ? 'TRUE' : 'FALSE'; + } + + if (value instanceof Date) { + return `'${value.toISOString()}'`; + } + + return `'${String(value).replace(/'/g, '\'\'')}'`; + } } diff --git a/packages/cubejs-crate-driver/test/CrateDriver.unit.test.ts b/packages/cubejs-crate-driver/test/CrateDriver.unit.test.ts new file mode 100644 index 0000000000000..1ef6b73ff0fdf --- /dev/null +++ b/packages/cubejs-crate-driver/test/CrateDriver.unit.test.ts @@ -0,0 +1,69 @@ +import { CrateDriver } from '../src'; + +class CrateDriverExtended extends CrateDriver { + public static inlineParams(sql: string, params: unknown[]): string { + return super.inlineParams(sql, params); + } + + public static formatParam(value: unknown): string { + return super.formatParam(value); + } +} + +describe('CrateDriver', () => { + it('formatParam formats values by type', () => { + // strings are quoted, single quotes doubled + expect(CrateDriverExtended.formatParam('abc')).toBe('\'abc\''); + expect(CrateDriverExtended.formatParam('O\'Brien')).toBe('\'O\'\'Brien\''); + expect(CrateDriverExtended.formatParam('a\'b\'c')).toBe('\'a\'\'b\'\'c\''); + + expect(CrateDriverExtended.formatParam(42)).toBe('42'); + expect(CrateDriverExtended.formatParam(3.14)).toBe('3.14'); + expect(CrateDriverExtended.formatParam(0)).toBe('0'); + + expect(CrateDriverExtended.formatParam(true)).toBe('TRUE'); + expect(CrateDriverExtended.formatParam(false)).toBe('FALSE'); + + expect(CrateDriverExtended.formatParam(null)).toBe('NULL'); + expect(CrateDriverExtended.formatParam(new Date('2020-01-01T00:00:00.000Z'))).toBe( + '\'2020-01-01T00:00:00.000Z\'' + ); + }); + + describe('inlineParams', () => { + it('returns the SQL unchanged when there are no params', () => { + expect(CrateDriverExtended.inlineParams('SELECT 1', [])).toBe('SELECT 1'); + }); + + it('inlines a single string param and keeps a trailing cast', () => { + expect(CrateDriverExtended.inlineParams('... WHERE d >= $1::timestamptz', ['2020-01-01T00:00:00.000Z'])) + .toBe('... WHERE d >= \'2020-01-01T00:00:00.000Z\'::timestamptz'); + }); + + it('inlines multiple params by position', () => { + expect(CrateDriverExtended.inlineParams('a = $1 AND b = $2', ['x', 7])).toBe('a = \'x\' AND b = 7'); + }); + + it('handles multi-digit placeholders like $10', () => { + const params = Array.from({ length: 10 }, (_, i) => i + 1); + expect(CrateDriverExtended.inlineParams('v = $10', params)).toBe('v = 10'); + }); + + it('escapes single quotes so a value cannot break the statement', () => { + expect(CrateDriverExtended.inlineParams('name = $1', ['O\'Brien'])).toBe('name = \'O\'\'Brien\''); + }); + + it('leaves a placeholder without a matching param intact', () => { + expect(CrateDriverExtended.inlineParams('a = $1 AND b = $2', ['only'])).toBe('a = \'only\' AND b = $2'); + }); + + it('inlines the partitioned pre-aggregation CTAS time bounds', () => { + const sql = 'CREATE TABLE pa AS (SELECT sum("t".v) FROM t AS "t" ' + + 'WHERE ("t".d >= $1::timestamptz AND "t".d <= $2::timestamptz) GROUP BY 1)'; + const out = CrateDriverExtended.inlineParams(sql, ['2020-01-01T00:00:00.000Z', '2020-01-31T23:59:59.999Z']); + expect(out).not.toMatch(/\$\d/); + expect(out).toContain('\'2020-01-01T00:00:00.000Z\'::timestamptz'); + expect(out).toContain('\'2020-01-31T23:59:59.999Z\'::timestamptz'); + }); + }); +}); diff --git a/packages/cubejs-cubestore-driver/CHANGELOG.md b/packages/cubejs-cubestore-driver/CHANGELOG.md index b1b5ae1c06775..421af7e1e0533 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/cubestore-driver + ## [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 diff --git a/packages/cubejs-cubestore-driver/package.json b/packages/cubejs-cubestore-driver/package.json index 842ce1ea73bf3..dc4b001859b5c 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.2", + "version": "1.7.3", "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.2", - "@cubejs-backend/cubestore": "1.7.2", - "@cubejs-backend/native": "1.7.2", - "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/base-driver": "1.7.3", + "@cubejs-backend/cubestore": "1.7.3", + "@cubejs-backend/native": "1.7.3", + "@cubejs-backend/shared": "1.7.3", "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.2", + "@cubejs-backend/linter": "1.7.3", "@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 5f965cb941eba..8a4c0f8b992d0 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/databricks-jdbc-driver + ## [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 diff --git a/packages/cubejs-databricks-jdbc-driver/package.json b/packages/cubejs-databricks-jdbc-driver/package.json index 8626aedeb4fcb..12e9fecf4bce3 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.2", + "version": "1.7.3", "license": "Apache-2.0", "repository": { "type": "git", @@ -30,17 +30,17 @@ "bin" ], "dependencies": { - "@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", + "@cubejs-backend/base-driver": "1.7.3", + "@cubejs-backend/jdbc-driver": "1.7.3", + "@cubejs-backend/schema-compiler": "1.7.3", + "@cubejs-backend/shared": "1.7.3", "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.2", + "@cubejs-backend/linter": "1.7.3", "@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 75edf3dd44f24..087e11614462c 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/dbt-schema-extension + ## [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 diff --git a/packages/cubejs-dbt-schema-extension/package.json b/packages/cubejs-dbt-schema-extension/package.json index 3dcc08a1e323c..d40870eebec39 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.2", + "version": "1.7.3", "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.2", + "@cubejs-backend/schema-compiler": "1.7.3", "fs-extra": "^9.1.0", "inflection": "^1.12.0", "node-fetch": "^2.6.1" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.2", - "@cubejs-backend/testing": "1.7.2", + "@cubejs-backend/linter": "1.7.3", + "@cubejs-backend/testing": "1.7.3", "@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 1c88ffda96e93..66d60ca46a0a3 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/docker + ## [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 diff --git a/packages/cubejs-docker/package.json b/packages/cubejs-docker/package.json index e28f44de90925..f08b75880c9f0 100644 --- a/packages/cubejs-docker/package.json +++ b/packages/cubejs-docker/package.json @@ -1,6 +1,6 @@ { "name": "@cubejs-backend/docker", - "version": "1.7.2", + "version": "1.7.3", "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.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", + "@cubejs-backend/athena-driver": "1.7.3", + "@cubejs-backend/bigquery-driver": "1.7.3", + "@cubejs-backend/clickhouse-driver": "1.7.3", + "@cubejs-backend/crate-driver": "1.7.3", + "@cubejs-backend/databricks-jdbc-driver": "1.7.3", + "@cubejs-backend/dbt-schema-extension": "1.7.3", + "@cubejs-backend/dremio-driver": "1.7.3", + "@cubejs-backend/druid-driver": "1.7.3", + "@cubejs-backend/duckdb-driver": "1.7.3", + "@cubejs-backend/firebolt-driver": "1.7.3", + "@cubejs-backend/hive-driver": "1.7.3", + "@cubejs-backend/ksql-driver": "1.7.3", + "@cubejs-backend/materialize-driver": "1.7.3", + "@cubejs-backend/mongobi-driver": "1.7.3", + "@cubejs-backend/mssql-driver": "1.7.3", + "@cubejs-backend/mysql-driver": "1.7.3", + "@cubejs-backend/oracle-driver": "1.7.3", + "@cubejs-backend/pinot-driver": "1.7.3", + "@cubejs-backend/postgres-driver": "1.7.3", + "@cubejs-backend/prestodb-driver": "1.7.3", + "@cubejs-backend/questdb-driver": "1.7.3", + "@cubejs-backend/redshift-driver": "1.7.3", + "@cubejs-backend/server": "1.7.3", + "@cubejs-backend/snowflake-driver": "1.7.3", + "@cubejs-backend/sqlite-driver": "1.7.3", + "@cubejs-backend/trino-driver": "1.7.3", + "@cubejs-backend/vertica-driver": "1.7.3", + "cubejs-cli": "1.7.3", "typescript": "~5.2.2" }, "resolutions": { diff --git a/packages/cubejs-dremio-driver/CHANGELOG.md b/packages/cubejs-dremio-driver/CHANGELOG.md index c050dd291fefe..3962d18e397e2 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/dremio-driver + ## [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 diff --git a/packages/cubejs-dremio-driver/package.json b/packages/cubejs-dremio-driver/package.json index f6fcf6d9ce9ef..04c64cac03c52 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.2", + "version": "1.7.3", "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.2", - "@cubejs-backend/schema-compiler": "1.7.2", - "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/base-driver": "1.7.3", + "@cubejs-backend/schema-compiler": "1.7.3", + "@cubejs-backend/shared": "1.7.3", "axios": "^1.8.3", "sqlstring": "^2.3.1" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.2", - "@cubejs-backend/testing-shared": "1.7.2", + "@cubejs-backend/linter": "1.7.3", + "@cubejs-backend/testing-shared": "1.7.3", "jest": "^29" }, "license": "Apache-2.0", diff --git a/packages/cubejs-druid-driver/CHANGELOG.md b/packages/cubejs-druid-driver/CHANGELOG.md index a005e18b4e1cf..d8119f33852ae 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/druid-driver + ## [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 diff --git a/packages/cubejs-druid-driver/package.json b/packages/cubejs-druid-driver/package.json index 0ea58699d3a5d..48e2564e1d3e1 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.2", + "version": "1.7.3", "license": "Apache-2.0", "repository": { "type": "git", @@ -28,13 +28,13 @@ "dist/src/*" ], "dependencies": { - "@cubejs-backend/base-driver": "1.7.2", - "@cubejs-backend/schema-compiler": "1.7.2", - "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/base-driver": "1.7.3", + "@cubejs-backend/schema-compiler": "1.7.3", + "@cubejs-backend/shared": "1.7.3", "axios": "^1.8.3" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.2", + "@cubejs-backend/linter": "1.7.3", "@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 21749a02fdf2c..054e180095d6b 100644 --- a/packages/cubejs-duckdb-driver/CHANGELOG.md +++ b/packages/cubejs-duckdb-driver/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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +### Bug Fixes + +- **duckdb-driver:** Invalid SQL for custom granularities ([#11272](https://github.com/cube-js/cube/issues/11272)) ([7850aab](https://github.com/cube-js/cube/commit/7850aab6b291e486c5d1a9597da40d2ae021a755)) + ## [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 diff --git a/packages/cubejs-duckdb-driver/package.json b/packages/cubejs-duckdb-driver/package.json index 5828aed54e38c..82e0a243a31e5 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.2", + "version": "1.7.3", "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.2", - "@cubejs-backend/schema-compiler": "1.7.2", - "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/base-driver": "1.7.3", + "@cubejs-backend/schema-compiler": "1.7.3", + "@cubejs-backend/shared": "1.7.3", "duckdb": "^1.4.1" }, "license": "Apache-2.0", "devDependencies": { - "@cubejs-backend/linter": "1.7.2", - "@cubejs-backend/testing-shared": "1.7.2", + "@cubejs-backend/linter": "1.7.3", + "@cubejs-backend/testing-shared": "1.7.3", "@types/jest": "^29", "@types/node": "^22", "jest": "^29", diff --git a/packages/cubejs-duckdb-driver/src/DuckDBQuery.ts b/packages/cubejs-duckdb-driver/src/DuckDBQuery.ts index 567374a0b993c..758cea95c5b57 100644 --- a/packages/cubejs-duckdb-driver/src/DuckDBQuery.ts +++ b/packages/cubejs-duckdb-driver/src/DuckDBQuery.ts @@ -47,7 +47,7 @@ export class DuckDBQuery extends BaseQuery { const timeUnit = this.diffTimeUnitForInterval(interval); const beginOfTime = this.dateTimeCast('\'1970-01-01 00:00:00.000\''); - return `${this.dateTimeCast(`'${origin}'`)}' + INTERVAL '${interval}' * + return `${this.dateTimeCast(`'${origin}'`)} + INTERVAL '${interval}' * floor( date_diff('${timeUnit}', ${this.dateTimeCast(`'${origin}'`)}, ${source}) / date_diff('${timeUnit}', ${beginOfTime}, ${beginOfTime} + INTERVAL '${interval}') diff --git a/packages/cubejs-firebolt-driver/CHANGELOG.md b/packages/cubejs-firebolt-driver/CHANGELOG.md index 265b42aa0d30d..c418cfcd46765 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/firebolt-driver + ## [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 diff --git a/packages/cubejs-firebolt-driver/package.json b/packages/cubejs-firebolt-driver/package.json index 2b49bb13464b6..5cc7e2771ed1f 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.2", + "version": "1.7.3", "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.2", - "@cubejs-backend/schema-compiler": "1.7.2", - "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/base-driver": "1.7.3", + "@cubejs-backend/schema-compiler": "1.7.3", + "@cubejs-backend/shared": "1.7.3", "firebolt-sdk": "1.10.0" }, "license": "Apache-2.0", "devDependencies": { - "@cubejs-backend/linter": "1.7.2", - "@cubejs-backend/testing-shared": "1.7.2", + "@cubejs-backend/linter": "1.7.3", + "@cubejs-backend/testing-shared": "1.7.3", "typescript": "~5.2.2" }, "publishConfig": { diff --git a/packages/cubejs-hive-driver/CHANGELOG.md b/packages/cubejs-hive-driver/CHANGELOG.md index 11ed4b576a260..9d14e9eff9348 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/hive-driver + ## [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 diff --git a/packages/cubejs-hive-driver/package.json b/packages/cubejs-hive-driver/package.json index 8e079e6da7421..fcbd7f0381f47 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.2", + "version": "1.7.3", "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.2", - "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/base-driver": "1.7.3", + "@cubejs-backend/shared": "1.7.3", "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.2" + "@cubejs-backend/linter": "1.7.3" }, "publishConfig": { "access": "public" diff --git a/packages/cubejs-jdbc-driver/CHANGELOG.md b/packages/cubejs-jdbc-driver/CHANGELOG.md index fd1b8282249b2..3233874633f04 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/jdbc-driver + ## [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 diff --git a/packages/cubejs-jdbc-driver/package.json b/packages/cubejs-jdbc-driver/package.json index 432d205272c15..54eecc000341d 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.2", + "version": "1.7.3", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -25,9 +25,9 @@ "index.js" ], "dependencies": { - "@cubejs-backend/base-driver": "1.7.2", + "@cubejs-backend/base-driver": "1.7.3", "@cubejs-backend/node-java-maven": "^0.1.3", - "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/shared": "1.7.3", "sqlstring": "^2.3.0" }, "optionalDependencies": { @@ -42,7 +42,7 @@ "testEnvironment": "node" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.2", + "@cubejs-backend/linter": "1.7.3", "@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 5830a7c5fa2b6..29abe4b67c5f9 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/ksql-driver + ## [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 diff --git a/packages/cubejs-ksql-driver/package.json b/packages/cubejs-ksql-driver/package.json index 43ea2c6da177e..7979bac53c7e2 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.2", + "version": "1.7.3", "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.2", - "@cubejs-backend/schema-compiler": "1.7.2", - "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/base-driver": "1.7.3", + "@cubejs-backend/schema-compiler": "1.7.3", + "@cubejs-backend/shared": "1.7.3", "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.2", + "@cubejs-backend/linter": "1.7.3", "typescript": "~5.2.2" } } diff --git a/packages/cubejs-linter/CHANGELOG.md b/packages/cubejs-linter/CHANGELOG.md index b593cab523bb5..a55152b2141b8 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/linter + ## [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 diff --git a/packages/cubejs-linter/package.json b/packages/cubejs-linter/package.json index 0a5b2acade6d1..c37ec76fe50b0 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.2", + "version": "1.7.3", "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 7a4778c73f4d5..effda5bf12230 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/materialize-driver + ## [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 diff --git a/packages/cubejs-materialize-driver/package.json b/packages/cubejs-materialize-driver/package.json index ddb35fc9b6760..1308f825ab194 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.2", + "version": "1.7.3", "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.2", - "@cubejs-backend/postgres-driver": "1.7.2", - "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/base-driver": "1.7.3", + "@cubejs-backend/postgres-driver": "1.7.3", + "@cubejs-backend/shared": "1.7.3", "semver": "^7.6.3" }, "license": "Apache-2.0", "devDependencies": { - "@cubejs-backend/linter": "1.7.2", - "@cubejs-backend/testing": "1.7.2", + "@cubejs-backend/linter": "1.7.3", + "@cubejs-backend/testing": "1.7.3", "typescript": "~5.2.2" }, "publishConfig": { diff --git a/packages/cubejs-mongobi-driver/CHANGELOG.md b/packages/cubejs-mongobi-driver/CHANGELOG.md index c84f5e96e639e..5345095983d15 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/mongobi-driver + ## [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 diff --git a/packages/cubejs-mongobi-driver/package.json b/packages/cubejs-mongobi-driver/package.json index 9b0b10f655b6b..b4a546db4cf3f 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.2", + "version": "1.7.3", "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.2", - "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/base-driver": "1.7.3", + "@cubejs-backend/shared": "1.7.3", "@types/node": "^22", "moment": "^2.29.1", "mysql2": "^3.11.5" @@ -38,7 +38,7 @@ "access": "public" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.2", + "@cubejs-backend/linter": "1.7.3", "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 d62191f3824df..11568c2afb140 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/mssql-driver + ## [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 diff --git a/packages/cubejs-mssql-driver/package.json b/packages/cubejs-mssql-driver/package.json index 529003b01e3ec..1fceb9e7dbbc0 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.2", + "version": "1.7.3", "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.2", - "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/base-driver": "1.7.3", + "@cubejs-backend/shared": "1.7.3", "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 ef16e3050e435..8974e2aab6232 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/mysql-aurora-serverless-driver + ## [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 diff --git a/packages/cubejs-mysql-aurora-serverless-driver/package.json b/packages/cubejs-mysql-aurora-serverless-driver/package.json index c94e1df1f2655..dff5c84001b13 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.2", + "version": "1.7.3", "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.2", - "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/base-driver": "1.7.3", + "@cubejs-backend/shared": "1.7.3", "@types/mysql": "^2.15.15", "aws-sdk": "^2.787.0", "data-api-client": "^1.1.0" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.2", + "@cubejs-backend/linter": "1.7.3", "@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 6fc85d578547b..b2eb2e3cdceee 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/mysql-driver + ## [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 diff --git a/packages/cubejs-mysql-driver/package.json b/packages/cubejs-mysql-driver/package.json index de512981adb2d..1c977bf9a551f 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.2", + "version": "1.7.3", "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.2", - "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/base-driver": "1.7.3", + "@cubejs-backend/shared": "1.7.3", "mysql2": "^3.16.1" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.2", - "@cubejs-backend/testing-shared": "1.7.2", + "@cubejs-backend/linter": "1.7.3", + "@cubejs-backend/testing-shared": "1.7.3", "@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 f772ba5abeffc..ee281dea07d20 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/oracle-driver + ## [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 diff --git a/packages/cubejs-oracle-driver/package.json b/packages/cubejs-oracle-driver/package.json index f8b66a63c53d5..7ae608f655759 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.2", + "version": "1.7.3", "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.2", - "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/base-driver": "1.7.3", + "@cubejs-backend/shared": "1.7.3", "ramda": "^0.27.0" }, "devDependencies": { diff --git a/packages/cubejs-pinot-driver/CHANGELOG.md b/packages/cubejs-pinot-driver/CHANGELOG.md index 1ec5ef967c68c..4d0a7006af893 100644 --- a/packages/cubejs-pinot-driver/CHANGELOG.md +++ b/packages/cubejs-pinot-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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/pinot-driver + ## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) ### Bug Fixes diff --git a/packages/cubejs-pinot-driver/package.json b/packages/cubejs-pinot-driver/package.json index 69b4ac43a4fa0..a3e9a5ff54d39 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.2", + "version": "1.7.3", "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.2", - "@cubejs-backend/schema-compiler": "1.7.2", - "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/base-driver": "1.7.3", + "@cubejs-backend/schema-compiler": "1.7.3", + "@cubejs-backend/shared": "1.7.3", "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.2", + "@cubejs-backend/linter": "1.7.3", "@types/jest": "^29", "jest": "^29", "should": "^13.2.3", diff --git a/packages/cubejs-playground/CHANGELOG.md b/packages/cubejs-playground/CHANGELOG.md index d2023910e5779..e058b8b9df4c9 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-client/playground + ## [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 diff --git a/packages/cubejs-playground/package.json b/packages/cubejs-playground/package.json index 98520a329769e..8a4cdd5863f39 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.2", + "version": "1.7.3", "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.2", - "@cubejs-client/react": "1.7.2", + "@cubejs-client/core": "1.7.3", + "@cubejs-client/react": "1.7.3", "@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 4fe77bb8dbe94..424c844228653 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/postgres-driver + ## [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 diff --git a/packages/cubejs-postgres-driver/package.json b/packages/cubejs-postgres-driver/package.json index e195a84821abc..b9e33ae9efd25 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.2", + "version": "1.7.3", "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.2", - "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/base-driver": "1.7.3", + "@cubejs-backend/shared": "1.7.3", "@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.2", - "@cubejs-backend/testing-shared": "1.7.2", + "@cubejs-backend/linter": "1.7.3", + "@cubejs-backend/testing-shared": "1.7.3", "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 1799680abe54f..5aa81fd084cb4 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/prestodb-driver + ## [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 diff --git a/packages/cubejs-prestodb-driver/package.json b/packages/cubejs-prestodb-driver/package.json index 5919688e7f2d5..f647f9138ef2d 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.2", + "version": "1.7.3", "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.2", - "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/base-driver": "1.7.3", + "@cubejs-backend/shared": "1.7.3", "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.2", + "@cubejs-backend/linter": "1.7.3", "@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 362a0bcdd6329..75fa564741e2b 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/query-orchestrator + ## [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 diff --git a/packages/cubejs-query-orchestrator/package.json b/packages/cubejs-query-orchestrator/package.json index 905fb70d0ffb0..4855ce0a35db2 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.2", + "version": "1.7.3", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -29,15 +29,15 @@ "dist/src/*" ], "dependencies": { - "@cubejs-backend/base-driver": "1.7.2", - "@cubejs-backend/cubestore-driver": "1.7.2", - "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/base-driver": "1.7.3", + "@cubejs-backend/cubestore-driver": "1.7.3", + "@cubejs-backend/shared": "1.7.3", "csv-write-stream": "^2.0.0", "lru-cache": "^11.1.0", "ramda": "^0.27.2" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.2", + "@cubejs-backend/linter": "1.7.3", "@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 8da1fa1917819..abd55dd4b8395 100644 --- a/packages/cubejs-questdb-driver/CHANGELOG.md +++ b/packages/cubejs-questdb-driver/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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +### Features + +- **questdb-driver:** Initial support for Tesseract, add integration tests ([#11259](https://github.com/cube-js/cube/issues/11259)) ([e6cd6e1](https://github.com/cube-js/cube/commit/e6cd6e12a05b256509fc94639e6bc3b2c7a1bb65)) + ## [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 diff --git a/packages/cubejs-questdb-driver/package.json b/packages/cubejs-questdb-driver/package.json index f0398d8ff044e..d6a2a16ffe373 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.2", + "version": "1.7.3", "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.2", - "@cubejs-backend/schema-compiler": "1.7.2", - "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/base-driver": "1.7.3", + "@cubejs-backend/schema-compiler": "1.7.3", + "@cubejs-backend/shared": "1.7.3", "@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.2", - "@cubejs-backend/testing-shared": "1.7.2", + "@cubejs-backend/linter": "1.7.3", + "@cubejs-backend/testing-shared": "1.7.3", "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 7027660a41550..836c0f6af8a76 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/redshift-driver + ## [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 diff --git a/packages/cubejs-redshift-driver/package.json b/packages/cubejs-redshift-driver/package.json index fab47b96a1a40..774f2797a06a9 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.2", + "version": "1.7.3", "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.2", - "@cubejs-backend/postgres-driver": "1.7.2", - "@cubejs-backend/shared": "1.7.2" + "@cubejs-backend/base-driver": "1.7.3", + "@cubejs-backend/postgres-driver": "1.7.3", + "@cubejs-backend/shared": "1.7.3" }, "license": "Apache-2.0", "devDependencies": { - "@cubejs-backend/linter": "1.7.2", + "@cubejs-backend/linter": "1.7.3", "typescript": "~5.2.2" }, "publishConfig": { diff --git a/packages/cubejs-schema-compiler/CHANGELOG.md b/packages/cubejs-schema-compiler/CHANGELOG.md index 64183c5de31a6..2a00e65affaa6 100644 --- a/packages/cubejs-schema-compiler/CHANGELOG.md +++ b/packages/cubejs-schema-compiler/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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/schema-compiler + ## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) ### Bug Fixes diff --git a/packages/cubejs-schema-compiler/package.json b/packages/cubejs-schema-compiler/package.json index a640c41562ec5..2660f93a68309 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.2", + "version": "1.7.3", "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.2", - "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/native": "1.7.3", + "@cubejs-backend/shared": "1.7.3", "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.2", - "@cubejs-backend/mssql-driver": "1.7.2", - "@cubejs-backend/query-orchestrator": "1.7.2", + "@cubejs-backend/linter": "1.7.3", + "@cubejs-backend/mssql-driver": "1.7.3", + "@cubejs-backend/query-orchestrator": "1.7.3", "@types/babel__code-frame": "^7.0.6", "@types/babel__generator": "^7.6.8", "@types/babel__traverse": "^7.20.5", diff --git a/packages/cubejs-schema-compiler/src/adapter/CrateQuery.ts b/packages/cubejs-schema-compiler/src/adapter/CrateQuery.ts index 9bc48bedb8900..5c7d13895656b 100644 --- a/packages/cubejs-schema-compiler/src/adapter/CrateQuery.ts +++ b/packages/cubejs-schema-compiler/src/adapter/CrateQuery.ts @@ -10,8 +10,7 @@ export class CrateQuery extends PostgresQuery { throw new UserError('Not implemented yet'); } - // to implement after merge - public countDistinctApprox(_sql): string { - throw new UserError('Not implemented yet'); + public countDistinctApprox(sql: string): string { + return `hyperloglog_distinct(${sql})`; } } diff --git a/packages/cubejs-server-core/CHANGELOG.md b/packages/cubejs-server-core/CHANGELOG.md index c6ea9a9dff61b..408d23f911aab 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/server-core + ## [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 diff --git a/packages/cubejs-server-core/package.json b/packages/cubejs-server-core/package.json index 40a5e26158efe..afaed53515426 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.2", + "version": "1.7.3", "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.2", - "@cubejs-backend/base-driver": "1.7.2", - "@cubejs-backend/cloud": "1.7.2", - "@cubejs-backend/cubestore-driver": "1.7.2", + "@cubejs-backend/api-gateway": "1.7.3", + "@cubejs-backend/base-driver": "1.7.3", + "@cubejs-backend/cloud": "1.7.3", + "@cubejs-backend/cubestore-driver": "1.7.3", "@cubejs-backend/dotenv": "^9.0.2", - "@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", + "@cubejs-backend/native": "1.7.3", + "@cubejs-backend/query-orchestrator": "1.7.3", + "@cubejs-backend/schema-compiler": "1.7.3", + "@cubejs-backend/shared": "1.7.3", + "@cubejs-backend/templates": "1.7.3", "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.2", - "@cubejs-client/playground": "1.7.2", + "@cubejs-backend/linter": "1.7.3", + "@cubejs-client/playground": "1.7.3", "@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 a06406392a5c6..f0bf70b41682b 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/server + ## [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 diff --git a/packages/cubejs-server/package.json b/packages/cubejs-server/package.json index f1eef24295e53..dde7fb1443913 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.2", + "version": "1.7.3", "types": "index.d.ts", "repository": { "type": "git", @@ -40,11 +40,11 @@ "jest:shapshot": "jest --updateSnapshot test" }, "dependencies": { - "@cubejs-backend/cubestore-driver": "1.7.2", + "@cubejs-backend/cubestore-driver": "1.7.3", "@cubejs-backend/dotenv": "^9.0.2", - "@cubejs-backend/native": "1.7.2", - "@cubejs-backend/server-core": "1.7.2", - "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/native": "1.7.3", + "@cubejs-backend/server-core": "1.7.3", + "@cubejs-backend/shared": "1.7.3", "@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.2", - "@cubejs-backend/query-orchestrator": "1.7.2", + "@cubejs-backend/linter": "1.7.3", + "@cubejs-backend/query-orchestrator": "1.7.3", "@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 f369b0c9c9f60..1cf27e6aee3ee 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/snowflake-driver + ## [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 diff --git a/packages/cubejs-snowflake-driver/package.json b/packages/cubejs-snowflake-driver/package.json index db6f61f82232a..98c98f1616b23 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.2", + "version": "1.7.3", "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.2", - "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/base-driver": "1.7.3", + "@cubejs-backend/shared": "1.7.3", "snowflake-sdk": "^2.4.0" }, "license": "Apache-2.0", @@ -40,7 +40,7 @@ "extends": "../cubejs-linter" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.2", + "@cubejs-backend/linter": "1.7.3", "typescript": "~5.2.2", "vitest": "^4" } diff --git a/packages/cubejs-sqlite-driver/CHANGELOG.md b/packages/cubejs-sqlite-driver/CHANGELOG.md index 66b914586a801..65ed24bc7f283 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/sqlite-driver + ## [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 diff --git a/packages/cubejs-sqlite-driver/package.json b/packages/cubejs-sqlite-driver/package.json index b61a44acfce4b..1d0ac3eef97a5 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.2", + "version": "1.7.3", "repository": { "type": "git", "url": "https://github.com/cube-js/cube.git", @@ -18,13 +18,13 @@ "unit": "jest" }, "dependencies": { - "@cubejs-backend/base-driver": "1.7.2", - "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/base-driver": "1.7.3", + "@cubejs-backend/shared": "1.7.3", "sqlite3": "^5.1.7" }, "license": "Apache-2.0", "devDependencies": { - "@cubejs-backend/linter": "1.7.2", + "@cubejs-backend/linter": "1.7.3", "jest": "^29" }, "publishConfig": { diff --git a/packages/cubejs-templates/CHANGELOG.md b/packages/cubejs-templates/CHANGELOG.md index 34e53c4e92421..8e8e560ba0f9a 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/templates + ## [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 diff --git a/packages/cubejs-templates/package.json b/packages/cubejs-templates/package.json index e7a94cc961140..a04ca4003277b 100644 --- a/packages/cubejs-templates/package.json +++ b/packages/cubejs-templates/package.json @@ -1,6 +1,6 @@ { "name": "@cubejs-backend/templates", - "version": "1.7.2", + "version": "1.7.3", "description": "Cube.js Templates helpers", "author": "Cube Dev, Inc.", "repository": { @@ -31,7 +31,7 @@ "extends": "../cubejs-linter" }, "dependencies": { - "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/shared": "1.7.3", "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.2", + "@cubejs-backend/linter": "1.7.3", "typescript": "~5.2.2" } } diff --git a/packages/cubejs-testing-drivers/CHANGELOG.md b/packages/cubejs-testing-drivers/CHANGELOG.md index 3e5f5d8c04b53..336e1eb59e60d 100644 --- a/packages/cubejs-testing-drivers/CHANGELOG.md +++ b/packages/cubejs-testing-drivers/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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +### Features + +- **questdb-driver:** Initial support for Tesseract, add integration tests ([#11259](https://github.com/cube-js/cube/issues/11259)) ([e6cd6e1](https://github.com/cube-js/cube/commit/e6cd6e12a05b256509fc94639e6bc3b2c7a1bb65)) + ## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) ### Features diff --git a/packages/cubejs-testing-drivers/fixtures/crate.json b/packages/cubejs-testing-drivers/fixtures/crate.json new file mode 100644 index 0000000000000..fcdb9aefd537a --- /dev/null +++ b/packages/cubejs-testing-drivers/fixtures/crate.json @@ -0,0 +1,256 @@ +{ + "cube": { + "environment": { + "CUBEJS_API_SECRET": "mysupersecret", + "CUBEJS_CACHE_AND_QUEUE_DRIVER": "cubestore", + "CUBEJS_CUBESTORE_HOST": "store", + "CUBEJS_DB_TYPE": "crate", + "CUBEJS_DB_HOST": "data", + "CUBEJS_DB_PORT": "5432", + "CUBEJS_DB_NAME": "crate", + "CUBEJS_DB_USER": "crate", + "CUBEJS_DB_PASS": "", + "CUBEJS_PG_SQL_PORT": "5656", + "CUBEJS_SQL_USER": "admin", + "CUBEJS_SQL_PASSWORD": "admin_password", + "CUBESQL_SQL_PUSH_DOWN": "true", + "CUBEJS_TESSERACT_SQL_PLANNER": "${DRIVERS_TESTS_CUBEJS_TESSERACT_SQL_PLANNER}", + "CUBEJS_TRANSPILATION_NATIVE": "${DRIVERS_TESTS_CUBEJS_TRANSPILATION_NATIVE}" + }, + "depends_on": ["data"], + "links": ["data"], + "ports" : ["4000", "5656"] + }, + "data": { + "image": "crate:6.3.5", + "command": ["crate", "-Cdiscovery.type=single-node"], + "environment": { + "CRATE_HEAP_SIZE": "1g" + }, + "ports" : ["5432", "4200"] + }, + "cast": { + "SELECT_PREFIX": "", + "SELECT_SUFFIX": "", + "DATE_PREFIX": "", + "DATE_SUFFIX": "::timestamp", + "CREATE_TBL_PREFIX": "CREATE TABLE ", + "CREATE_TBL_SUFFIX": " AS ", + "CREATE_SUB_PREFIX": "(", + "CREATE_SUB_SUFFIX": ");" + }, + "tables": { + "products": "products", + "customers": "customers", + "ecommerce": "ecommerce", + "bigecommerce": "bigecommerce", + "retailcalendar": "retailcalendar" + }, + "preAggregations": { + "Products": [], + "Customers": [ + { + "name": "RA", + "measures": ["CUBE.count", "CUBE.runningTotal"] + } + ], + "ECommerce": [ + { + "name": "SA", + "dimensions": ["CUBE.productName"], + "measures": [ + "CUBE.totalQuantity", + "CUBE.avgDiscount", + "CUBE.totalSales", + "CUBE.totalProfit" + ] + }, + { + "name": "TA", + "time_dimension": "CUBE.orderDate", + "granularity": "month", + "partition_granularity": "month", + "dimensions": ["CUBE.productName"], + "measures": [ + "CUBE.totalQuantity", + "CUBE.avgDiscount", + "CUBE.totalSales", + "CUBE.totalProfit" + ] + }, + { + "name": "MultiTimeDimForCount", + "time_dimensions": [ + { + "dimension": "CUBE.completedDate", + "granularity": "day" + }, + { + "dimension": "CUBE.orderDate", + "granularity": "day" + } + ], + "partition_granularity": "month", + "dimensions": ["CUBE.productName"], + "measures": [ + "CUBE.count" + ] + }, + { + "name": "TBuildOnlyHalfYear", + "time_dimension": "CUBE.orderDate", + "granularity": "build_only_half_year", + "partition_granularity": "year", + "dimensions": ["CUBE.productName"], + "measures": [ + "CUBE.totalQuantity" + ] + } + ], + "BigECommerce": [ + { + "name": "TA", + "time_dimension": "CUBE.orderDate", + "granularity": "month", + "partition_granularity": "year", + "dimensions": ["CUBE.productName", "CUBE.id"], + "measures": [ + "CUBE.totalQuantity", + "CUBE.avgDiscount", + "CUBE.totalSales", + "CUBE.totalProfit" + ] + }, + { + "name": "MultiTimeDimForCount", + "time_dimensions": [ + { + "dimension": "CUBE.completedDate", + "granularity": "day" + }, + { + "dimension": "CUBE.orderDate", + "granularity": "day" + } + ], + "partition_granularity": "month", + "dimensions": [], + "measures": [ + "CUBE.count" + ] + }, + { + "name": "CategoryFlat", + "dimensions": ["CUBE.productName", "CUBE.id", "CUBE.category"], + "measures": [ + "CUBE.totalProfit" + ] + } + ] + }, + "skip": [ + "---------------------------------------", + "SKIPPED FOR ALL ", + "---------------------------------------", + "querying Products: dimensions -- doesn't work wo ordering", + "querying ECommerce: total quantity, avg discount, total sales, total profit by product + order + total -- rounding in athena", + "querying ECommerce: total quantity, avg discount, total sales, total profit by product + order + total -- noisy test", + + "---------------------------------------", + "Requires Tesseract. ", + "---------------------------------------", + "querying BigECommerce: rolling window by 2 day without date range", + "querying BigECommerce: rolling window by 2 month without date range", + "querying BigECommerce: rolling window YTD without date range", + "querying custom granularities ECommerce: count by two_mo_by_feb + no dimension + rollingCountByLeading without date range", + "querying BigECommerce with Retail Calendar: totalCountRetailYearAgo", + "querying BigECommerce with Retail Calendar: totalCountRetailMonthAgo", + "querying BigECommerce with Retail Calendar: totalCountRetailWeekAgo", + "Tesseract: querying BigECommerce with Retail Calendar: totalCountRetailMonthAgo", + "Tesseract: querying BigECommerce with Retail Calendar: totalCountRetailWeekAgo", + "Tesseract: SQL API: Timeshift measure from cube", + "querying BigECommerce: multi-stage group by time dimension", + "querying SwitchSourceTest: simple cross join", + "querying SwitchSourceTest: full cross join", + "querying SwitchSourceTest: filter by switch dimensions", + "querying BigECommerce: SeveralMultiStageMeasures", + "querying BigECommerce: two multi-stage branches sharing one pre-aggregation", + "querying BigECommerce: base measure plus multi-stage over non-partitioned pre-aggregation", + + "---------------------------------------", + "CrateDB: rolling-window queries build the time series with `FROM ... LATERAL", + "generate_series(...)`. CrateDB has generate_series but not LATERAL / correlated", + "table-function arguments (the non-Tesseract base query needs it here too).", + "---------------------------------------", + "querying BigECommerce: time series in rolling window", + "querying BigECommerce: rolling window by 2 day", + "querying BigECommerce: rolling window by 2 week", + "querying BigECommerce: rolling window by 2 month", + "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 custom granularities ECommerce: count by two_mo_by_feb + no dimension + rollingCountByUnbounded", + "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 + rollingCountByLeading", + + "---------------------------------------", + "CrateDB: SQL API push-down uses SQL CrateDB does not support -- GROUP BY ROLLUP", + "(Unknown function: rollup) and rolling-window date_trunc comparisons.", + "---------------------------------------", + "SQL API: Simple Rollup", + "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: Rolling Window YTD (year + month + day + date_trunc equal)", + "SQL API: Rolling Window YTD (year + month + day + date_trunc IN)" + ], + "tesseractSkip": [ + "querying Products: dimensions -- doesn't work wo ordering", + "querying ECommerce: total quantity, avg discount, total sales, total profit by product + order + total -- rounding in athena", + "querying ECommerce: total quantity, avg discount, total sales, total profit by product + order + total -- noisy test", + "querying custom granularities (with preaggregation) ECommerce: totalQuantity by half_year + no dimension", + "querying custom granularities (with preaggregation) ECommerce: totalQuantity by half_year + dimension", + "querying BigECommerce with Retail Calendar: totalCountRetailMonthAgo", + "querying BigECommerce with Retail Calendar: totalCountRetailWeekAgo", + "SQL API: Timeshift measure from cube", + + "SQL API: Simple Rollup", + "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", + + "---- Different results comparing to baseQuery version. Need to investigate ----", + "querying BigECommerce: rolling window YTD (month + week)", + "querying BigECommerce: rolling window YTD (month + week + no gran)", + "querying BigECommerce: rolling window YTD without granularity", + + "---------------------------------------", + "CrateDB: rolling windows without an explicit date range build the time series", + "with `FROM ... LATERAL generate_series(...)`. CrateDB has generate_series but", + "does not support LATERAL / correlated table-function arguments, so this query", + "cannot be expressed. The variants with an explicit date range work.", + "---------------------------------------", + "querying BigECommerce: rolling window by 2 day without date range", + "querying BigECommerce: rolling window by 2 month without date range", + "querying BigECommerce: rolling window YTD without date range", + "querying custom granularities ECommerce: count by two_mo_by_feb + no dimension + rollingCountByLeading without date range", + + "---------------------------------------", + "CrateDB: SwitchSourceTest cross joins generate a prepared statement CrateDB", + "rejects with `The assembled list of ParameterSymbols is invalid. Missing parameters.`", + "---------------------------------------", + "querying SwitchSourceTest: simple cross join", + "querying SwitchSourceTest: full cross join" + ] +} diff --git a/packages/cubejs-testing-drivers/package.json b/packages/cubejs-testing-drivers/package.json index 04c345b4f9df3..ec87b0178b8f9 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.2", + "version": "1.7.3", "description": "Cube.js drivers test suite", "author": "Cube Dev, Inc.", "repository": { @@ -31,6 +31,9 @@ "clickhouse-full": "yarn test-driver -i dist/test/clickhouse-full.test.js", "clickhouse-export-bucket-s3-full": "yarn test-driver -i dist/test/clickhouse-export-bucket-s3-full.test.js", "clickhouse-export-bucket-s3-prefix-full": "yarn test-driver -i dist/test/clickhouse-export-bucket-s3-prefix-full.test.js", + "crate-driver": "yarn test-driver -i dist/test/crate-driver.test.js", + "crate-core": "yarn test-driver -i dist/test/crate-core.test.js", + "crate-full": "yarn test-driver -i dist/test/crate-full.test.js", "databricks-jdbc-driver": "yarn test-driver -i dist/test/databricks-jdbc-driver.test.js", "databricks-jdbc-core": "yarn test-driver -i dist/test/databricks-jdbc-core.test.js", "databricks-jdbc-full": "yarn test-driver -i dist/test/databricks-jdbc-full.test.js", @@ -76,34 +79,35 @@ "pinot-core": "yarn test-driver -i dist/test/pinot-core.test.js", "pinot-full": "yarn test-driver -i dist/test/pinot-full.test.js", "generate-pinot-fixtures": "node dist/test/generatePinotFixtures.js", - "update-all-snapshots-local": "yarn run oracle-full --mode=local -u; yarn run athena-export-bucket-s3-full --mode=local -u; yarn run bigquery-export-bucket-gcs-full --mode=local -u; yarn run clickhouse-full --mode=local -u; yarn run clickhouse-export-bucket-s3-full --mode=local -u; yarn run clickhouse-export-bucket-s3-prefix-full --mode=local -u; yarn run databricks-jdbc-export-bucket-azure-full --mode=local -u; yarn run databricks-jdbc-export-bucket-azure-prefix-full --mode=local -u; yarn run databricks-jdbc-export-bucket-gcs-full --mode=local -u; yarn run databricks-jdbc-export-bucket-gcs-prefix-full --mode=local -u; yarn run databricks-jdbc-export-bucket-s3-full --mode=local -u; yarn run databricks-jdbc-export-bucket-s3-prefix-full --mode=local -u; yarn run databricks-jdbc-full --mode=local -u; yarn run mssql-full --mode=local -u; yarn run mysql-full --mode=local -u; yarn run postgres-full --mode=local -u; yarn run questdb-full --mode=local -u; yarn run redshift-export-bucket-s3-full --mode=local -u; yarn run redshift-full --mode=local -u; yarn run snowflake-encrypted-pk-full --mode=local -u; yarn run snowflake-export-bucket-azure-full --mode=local -u; yarn run snowflake-export-bucket-azure-prefix-full --mode=local -u; yarn run snowflake-export-bucket-azure-via-storage-integration-full --mode=local -u; yarn run snowflake-export-bucket-gcs-full --mode=local -u; yarn run snowflake-export-bucket-gcs-prefix-full --mode=local -u; yarn run snowflake-export-bucket-s3-full --mode=local -u; yarn run snowflake-export-bucket-s3-via-storage-integration-iam-roles-full --mode=local -u; yarn run snowflake-export-bucket-s3-prefix-full --mode=local -u; yarn run snowflake-export-bucket-azure-prefix-full --mode=local -u; yarn run snowflake-export-bucket-azure-full --mode=local -u; yarn run snowflake-full --mode=local -u", + "update-all-snapshots-local": "yarn run oracle-full --mode=local -u; yarn run athena-export-bucket-s3-full --mode=local -u; yarn run bigquery-export-bucket-gcs-full --mode=local -u; yarn run clickhouse-full --mode=local -u; yarn run clickhouse-export-bucket-s3-full --mode=local -u; yarn run clickhouse-export-bucket-s3-prefix-full --mode=local -u; yarn run crate-full --mode=local -u; yarn run databricks-jdbc-export-bucket-azure-full --mode=local -u; yarn run databricks-jdbc-export-bucket-azure-prefix-full --mode=local -u; yarn run databricks-jdbc-export-bucket-gcs-full --mode=local -u; yarn run databricks-jdbc-export-bucket-gcs-prefix-full --mode=local -u; yarn run databricks-jdbc-export-bucket-s3-full --mode=local -u; yarn run databricks-jdbc-export-bucket-s3-prefix-full --mode=local -u; yarn run databricks-jdbc-full --mode=local -u; yarn run mssql-full --mode=local -u; yarn run mysql-full --mode=local -u; yarn run postgres-full --mode=local -u; yarn run questdb-full --mode=local -u; yarn run redshift-export-bucket-s3-full --mode=local -u; yarn run redshift-full --mode=local -u; yarn run snowflake-encrypted-pk-full --mode=local -u; yarn run snowflake-export-bucket-azure-full --mode=local -u; yarn run snowflake-export-bucket-azure-prefix-full --mode=local -u; yarn run snowflake-export-bucket-azure-via-storage-integration-full --mode=local -u; yarn run snowflake-export-bucket-gcs-full --mode=local -u; yarn run snowflake-export-bucket-gcs-prefix-full --mode=local -u; yarn run snowflake-export-bucket-s3-full --mode=local -u; yarn run snowflake-export-bucket-s3-via-storage-integration-iam-roles-full --mode=local -u; yarn run snowflake-export-bucket-s3-prefix-full --mode=local -u; yarn run snowflake-export-bucket-azure-prefix-full --mode=local -u; yarn run snowflake-export-bucket-azure-full --mode=local -u; yarn run snowflake-full --mode=local -u", "tst": "clear && yarn tsc && yarn bigquery-core" }, "files": [ "dist/src" ], "dependencies": { - "@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/athena-driver": "1.7.3", + "@cubejs-backend/base-driver": "1.7.3", + "@cubejs-backend/bigquery-driver": "1.7.3", + "@cubejs-backend/clickhouse-driver": "1.7.3", + "@cubejs-backend/crate-driver": "1.7.3", + "@cubejs-backend/cubestore-driver": "1.7.3", + "@cubejs-backend/databricks-jdbc-driver": "1.7.3", "@cubejs-backend/dotenv": "^9.0.2", - "@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/questdb-driver": "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", + "@cubejs-backend/linter": "1.7.3", + "@cubejs-backend/mssql-driver": "1.7.3", + "@cubejs-backend/mysql-driver": "1.7.3", + "@cubejs-backend/oracle-driver": "1.7.3", + "@cubejs-backend/pinot-driver": "1.7.3", + "@cubejs-backend/postgres-driver": "1.7.3", + "@cubejs-backend/query-orchestrator": "1.7.3", + "@cubejs-backend/questdb-driver": "1.7.3", + "@cubejs-backend/server-core": "1.7.3", + "@cubejs-backend/shared": "1.7.3", + "@cubejs-backend/snowflake-driver": "1.7.3", + "@cubejs-backend/testing-shared": "1.7.3", + "@cubejs-client/core": "1.7.3", + "@cubejs-client/ws-transport": "1.7.3", "@jest/globals": "^29", "@types/jest": "^29", "@types/node": "^22", diff --git a/packages/cubejs-testing-drivers/src/helpers/getRefreshQueries.ts b/packages/cubejs-testing-drivers/src/helpers/getRefreshQueries.ts new file mode 100644 index 0000000000000..2abf543fd70c8 --- /dev/null +++ b/packages/cubejs-testing-drivers/src/helpers/getRefreshQueries.ts @@ -0,0 +1,21 @@ +import { getFixtures } from './getFixtures'; + +/** + * Returns `REFRESH TABLE` statements for the fixture tables. + * + * CrateDB is eventually consistent: rows written by `CREATE TABLE AS` / `INSERT` + * are not guaranteed to be visible to the next `SELECT` until the table is + * refreshed (the default table refresh interval is ~1s). Run these right after + * seeding so the freshly loaded fixture data is readable immediately. + * + * See https://cratedb.com/docs/crate/reference/en/latest/general/dql/refresh.html + */ +export function getRefreshQueries(type: string, suf?: string): string[] { + const { tables } = getFixtures(type); + return Object + .keys(tables) + .map((key: string) => { + const name = suf ? `${tables[key]}_${suf}` : tables[key]; + return `REFRESH TABLE ${name}`; + }); +} diff --git a/packages/cubejs-testing-drivers/src/helpers/getSelectQueries.ts b/packages/cubejs-testing-drivers/src/helpers/getSelectQueries.ts index f06ab795af15e..360c11c02187e 100644 --- a/packages/cubejs-testing-drivers/src/helpers/getSelectQueries.ts +++ b/packages/cubejs-testing-drivers/src/helpers/getSelectQueries.ts @@ -10,6 +10,13 @@ export function getSelectQueries(type: string, suf?: string): string[] { .map((key: string) => { let name = tables[key]; name = suf ? `${name}_${suf}` : name; + // CrateDB is sharded and returns rows in a non-deterministic order across + // table (re)creations, which breaks the positional row snapshots in the raw + // driver suite. Order by the first column (a unique key in every fixture + // table) to make the result order stable. + if (type === 'crate') { + return `select * from ${name} order by 1`; + } return `select * from ${name}`; }); } diff --git a/packages/cubejs-testing-drivers/src/helpers/index.ts b/packages/cubejs-testing-drivers/src/helpers/index.ts index c9b5d735eb270..764b2361a09d9 100644 --- a/packages/cubejs-testing-drivers/src/helpers/index.ts +++ b/packages/cubejs-testing-drivers/src/helpers/index.ts @@ -4,6 +4,7 @@ import { getTempPath } from './getTempPath'; import { getComposePath } from './getComposePath'; import { getCreateQueries } from './getCreateQueries'; import { getSelectQueries } from './getSelectQueries'; +import { getRefreshQueries } from './getRefreshQueries'; import { getCubeJsPath } from './getCubeJsPath'; import { getFixtures } from './getFixtures'; import { getSchemaPath } from './getSchemaPath'; @@ -21,6 +22,7 @@ export { getComposePath, getCreateQueries, getSelectQueries, + getRefreshQueries, getCubeJsPath, getFixtures, getSchemaPath, diff --git a/packages/cubejs-testing-drivers/src/helpers/runEnvironment.ts b/packages/cubejs-testing-drivers/src/helpers/runEnvironment.ts index 38e04335ba362..e0dfc2bcbfb43 100644 --- a/packages/cubejs-testing-drivers/src/helpers/runEnvironment.ts +++ b/packages/cubejs-testing-drivers/src/helpers/runEnvironment.ts @@ -179,6 +179,12 @@ export async function runEnvironment( if (type === 'questdb') { compose.withWaitStrategy('data', Wait.forHealthCheck()); } + // CrateDB opens its Postgres-wire port before the cluster is ready to serve + // queries, so wait on the "started" startup log line (matching CrateDBRunner in + // testing-shared) before connecting. + if (type === 'crate') { + compose.withWaitStrategy('data', Wait.forLogMessage('started').withStartupTimeout(120 * 1000)); + } const environment = await compose.up(); diff --git a/packages/cubejs-testing-drivers/src/tests/testConnection.ts b/packages/cubejs-testing-drivers/src/tests/testConnection.ts index 54cd65269dc2a..ac2d74b777d02 100644 --- a/packages/cubejs-testing-drivers/src/tests/testConnection.ts +++ b/packages/cubejs-testing-drivers/src/tests/testConnection.ts @@ -9,6 +9,7 @@ import { getFixtures, getCreateQueries, getSelectQueries, + getRefreshQueries, getDriver, runEnvironment, } from '../helpers'; @@ -70,6 +71,11 @@ export function testConnection(type: string): void { await Promise.all(query.map(async (q) => { await driver.query(q); })); + // CrateDB is eventually consistent: make the freshly loaded rows visible to + // the following SELECTs before they run. + if (type === 'crate') { + await Promise.all(getRefreshQueries(type, suffix).map((q) => driver.query(q))); + } }); execute('must select from the data source', async () => { diff --git a/packages/cubejs-testing-drivers/src/tests/testQueries.ts b/packages/cubejs-testing-drivers/src/tests/testQueries.ts index 915eb6be639fd..48fbb696a2aba 100644 --- a/packages/cubejs-testing-drivers/src/tests/testQueries.ts +++ b/packages/cubejs-testing-drivers/src/tests/testQueries.ts @@ -9,6 +9,7 @@ import { Environment } from '../types/Environment'; import { getFixtures, getCreateQueries, + getRefreshQueries, getDriver, runEnvironment, buildPreaggs, @@ -149,6 +150,13 @@ export function testQueries(type: string, { includeIncrementalSchemaSuite, exten await delay(10 * OP_DELAY); } } + // CrateDB is eventually consistent: make the freshly loaded rows visible + // before any queries run against the fixture tables. + if (type === 'crate') { + for (const q of getRefreshQueries(type, suffix)) { + await driver.query(q); + } + } console.log(`Creating ${queries.length} fixture tables completed`); } catch (e: any) { console.log('Error creating fixtures', e.stack); diff --git a/packages/cubejs-testing-drivers/src/tests/testSequence.ts b/packages/cubejs-testing-drivers/src/tests/testSequence.ts index 7d338e78f245d..0cee0953b028b 100644 --- a/packages/cubejs-testing-drivers/src/tests/testSequence.ts +++ b/packages/cubejs-testing-drivers/src/tests/testSequence.ts @@ -5,6 +5,7 @@ import { CubejsServerCoreExposed } from '../types/CubejsServerCoreExposed'; import { getFixtures, getCreateQueries, + getRefreshQueries, getCore, getDriver, patchDriver, @@ -56,6 +57,11 @@ export function testSequence(type: string): void { await Promise.all(query.map(async (q) => { await source.query(q); })); + // CrateDB is eventually consistent: make the freshly loaded rows visible + // before pre-aggregations are built from them. + if (type === 'crate') { + await Promise.all(getRefreshQueries(type, suffix).map((q) => source.query(q))); + } } patchDriver(source); patchDriver(storage); diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/crate-core.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/crate-core.test.ts.snap new file mode 100644 index 0000000000000..6b7540aebde53 --- /dev/null +++ b/packages/cubejs-testing-drivers/test/__snapshots__/crate-core.test.ts.snap @@ -0,0 +1,124 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Sequence with the @cubejs-backend/crate-driver for the Customers.RollingExternal 1`] = ` +Array [ + Array [ + "downloadQueryResults", + "stream", + ], + Array [ + "createSchemaIfNotExists", + "uploadTableWithIndexes", + ], +] +`; + +exports[`Sequence with the @cubejs-backend/crate-driver for the Customers.RollingInternal 1`] = ` +Array [ + Array [ + "createSchemaIfNotExists", + "loadPreAggregationIntoTable", + "query", + ], + Array [], +] +`; + +exports[`Sequence with the @cubejs-backend/crate-driver for the ECommerce.SimpleAnalysisExternal 1`] = ` +Array [ + Array [ + "downloadQueryResults", + "stream", + ], + Array [ + "uploadTableWithIndexes", + ], +] +`; + +exports[`Sequence with the @cubejs-backend/crate-driver for the ECommerce.SimpleAnalysisInternal 1`] = ` +Array [ + Array [ + "loadPreAggregationIntoTable", + "query", + ], + Array [], +] +`; + +exports[`Sequence with the @cubejs-backend/crate-driver for the ECommerce.TimeAnalysisExternal 1`] = ` +Array [ + Array [ + "downloadQueryResults", + "stream", + "downloadQueryResults", + "stream", + "downloadQueryResults", + "stream", + "downloadQueryResults", + "stream", + "downloadQueryResults", + "stream", + "downloadQueryResults", + "stream", + "downloadQueryResults", + "stream", + "downloadQueryResults", + "stream", + "downloadQueryResults", + "stream", + "downloadQueryResults", + "stream", + "downloadQueryResults", + "stream", + "downloadQueryResults", + "stream", + ], + Array [ + "uploadTableWithIndexes", + "uploadTableWithIndexes", + "uploadTableWithIndexes", + "uploadTableWithIndexes", + "uploadTableWithIndexes", + "uploadTableWithIndexes", + "uploadTableWithIndexes", + "uploadTableWithIndexes", + "uploadTableWithIndexes", + "uploadTableWithIndexes", + "uploadTableWithIndexes", + "uploadTableWithIndexes", + ], +] +`; + +exports[`Sequence with the @cubejs-backend/crate-driver for the ECommerce.TimeAnalysisInternal 1`] = ` +Array [ + Array [ + "loadPreAggregationIntoTable", + "loadPreAggregationIntoTable", + "query", + "loadPreAggregationIntoTable", + "query", + "loadPreAggregationIntoTable", + "query", + "loadPreAggregationIntoTable", + "query", + "loadPreAggregationIntoTable", + "query", + "loadPreAggregationIntoTable", + "query", + "loadPreAggregationIntoTable", + "query", + "loadPreAggregationIntoTable", + "query", + "loadPreAggregationIntoTable", + "query", + "loadPreAggregationIntoTable", + "query", + "loadPreAggregationIntoTable", + "query", + "query", + ], + Array [], +] +`; diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/crate-driver.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/crate-driver.test.ts.snap new file mode 100644 index 0000000000000..08c50cc99d50e --- /dev/null +++ b/packages/cubejs-testing-drivers/test/__snapshots__/crate-driver.test.ts.snap @@ -0,0 +1,9936 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 1`] = ` +Object { + "category": Any, + "product_name": Any, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 2`] = ` +Object { + "category": Any, + "product_name": Any, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 3`] = ` +Object { + "category": Any, + "product_name": Any, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 4`] = ` +Object { + "category": Any, + "product_name": Any, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 5`] = ` +Object { + "category": Any, + "product_name": Any, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 6`] = ` +Object { + "category": Any, + "product_name": Any, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 7`] = ` +Object { + "category": Any, + "product_name": Any, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 8`] = ` +Object { + "category": Any, + "product_name": Any, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 9`] = ` +Object { + "category": Any, + "product_name": Any, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 10`] = ` +Object { + "category": Any, + "product_name": Any, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 11`] = ` +Object { + "category": Any, + "product_name": Any, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 12`] = ` +Object { + "category": Any, + "product_name": Any, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 13`] = ` +Object { + "category": Any, + "product_name": Any, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 14`] = ` +Object { + "category": Any, + "product_name": Any, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 15`] = ` +Object { + "category": Any, + "product_name": Any, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 16`] = ` +Object { + "category": Any, + "product_name": Any, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 17`] = ` +Object { + "category": Any, + "product_name": Any, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 18`] = ` +Object { + "category": Any, + "product_name": Any, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 19`] = ` +Object { + "category": Any, + "product_name": Any, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 20`] = ` +Object { + "category": Any, + "product_name": Any, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 21`] = ` +Object { + "category": Any, + "product_name": Any, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 22`] = ` +Object { + "category": Any, + "product_name": Any, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 23`] = ` +Object { + "category": Any, + "product_name": Any, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 24`] = ` +Object { + "category": Any, + "product_name": Any, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 25`] = ` +Object { + "category": Any, + "product_name": Any, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 26`] = ` +Object { + "category": Any, + "product_name": Any, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 27`] = ` +Object { + "category": Any, + "product_name": Any, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 28`] = ` +Object { + "category": Any, + "product_name": Any, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 29`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 30`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 31`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 32`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 33`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 34`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 35`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 36`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 37`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 38`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 39`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 40`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 41`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 42`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 43`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 44`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 45`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 46`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 47`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 48`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 49`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 50`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 51`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 52`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 53`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 54`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 55`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 56`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 57`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 58`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 59`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 60`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 61`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 62`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 63`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 64`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 65`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 66`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 67`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 68`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 69`] = ` +Object { + "customer_id": Any, + "customer_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 70`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-01-24T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 71`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-01-02T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 72`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-06-18T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 73`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-11-01T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 74`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-06-26T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 75`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-09-24T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 76`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-03-18T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 77`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-05-14T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 78`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-09-18T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 79`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-11-29T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 80`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-11-13T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 81`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-10-20T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 82`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-10-20T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 83`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-05-28T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 84`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-06-12T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 85`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-05-30T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 86`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-09-03T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 87`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-11-22T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 88`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-12-25T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 89`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-05-15T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 90`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-11-12T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 91`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-11-03T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 92`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-09-02T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 93`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-12-15T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 94`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-06-04T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 95`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-12-02T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 96`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-12-03T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 97`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-05-15T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 98`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-09-09T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 99`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-03-27T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 100`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-12-05T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 101`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-06-11T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 102`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-04-11T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 103`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-12-17T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 104`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-10-13T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 105`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-11-07T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 106`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-02-17T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 107`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-06-16T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 108`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-09-18T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 109`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-12-26T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 110`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-11-06T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 111`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-06-26T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 112`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-11-17T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 113`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": "2020-11-17T00:00:00.000", + "customer_id": Any, + "discount": Anything, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": Anything, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 114`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 115`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 116`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 117`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 118`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 119`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 120`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 121`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 122`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 123`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 124`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 125`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 126`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 127`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 128`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 129`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 130`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 131`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 132`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 133`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 134`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 135`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 136`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 137`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 138`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 139`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 140`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 141`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 142`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 143`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 144`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 145`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 146`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 147`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 148`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 149`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 150`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 151`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 152`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 153`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 154`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 155`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 156`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 157`] = ` +Object { + "category": Any, + "city": Any, + "completed_date": Anything, + "customer_id": Any, + "discount": Anything, + "id": Anything, + "is_returning": AnyOrNull, + "order_date": Anything, + "order_id": Any, + "product_name": Any, + "profit": Anything, + "quantity": Anything, + "row_id": Anything, + "sales": AnyOrNull, + "sub_category": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 158`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 159`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 160`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 161`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 162`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 163`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 164`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 165`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 166`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 167`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 168`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 169`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 170`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 171`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 172`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 173`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 174`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 175`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 176`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 177`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 178`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 179`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 180`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 181`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 182`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 183`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 184`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 185`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 186`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 187`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 188`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 189`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 190`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 191`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 192`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 193`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 194`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 195`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 196`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 197`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 198`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 199`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 200`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 201`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 202`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 203`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 204`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 205`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 206`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 207`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 208`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 209`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 210`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 211`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 212`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 213`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 214`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 215`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 216`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 217`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 218`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 219`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 220`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 221`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 222`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 223`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 224`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 225`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 226`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 227`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 228`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 229`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 230`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 231`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 232`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 233`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 234`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 235`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 236`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 237`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 238`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 239`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 240`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 241`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 242`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 243`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 244`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 245`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 246`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 247`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 248`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 249`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 250`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 251`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 252`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 253`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 254`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 255`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 256`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 257`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 258`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 259`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 260`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 261`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 262`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 263`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 264`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 265`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 266`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 267`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 268`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 269`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 270`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 271`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 272`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 273`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 274`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 275`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 276`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 277`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 278`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 279`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 280`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 281`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 282`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 283`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 284`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 285`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 286`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 287`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 288`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 289`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 290`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 291`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 292`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 293`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 294`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 295`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 296`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 297`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 298`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 299`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 300`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 301`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 302`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 303`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 304`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 305`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 306`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 307`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 308`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 309`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 310`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 311`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 312`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 313`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 314`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 315`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 316`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 317`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 318`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 319`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 320`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 321`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 322`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 323`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 324`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 325`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 326`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 327`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 328`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 329`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 330`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 331`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 332`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 333`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 334`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 335`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 336`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 337`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 338`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 339`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 340`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 341`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 342`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 343`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 344`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 345`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 346`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 347`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 348`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 349`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 350`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 351`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 352`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 353`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 354`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 355`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 356`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 357`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 358`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 359`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 360`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 361`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 362`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 363`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 364`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 365`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 366`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 367`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 368`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 369`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 370`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 371`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 372`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 373`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 374`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 375`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 376`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 377`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 378`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 379`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 380`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 381`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 382`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 383`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 384`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 385`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 386`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 387`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 388`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 389`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 390`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 391`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 392`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 393`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 394`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 395`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 396`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 397`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 398`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 399`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 400`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 401`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 402`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 403`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 404`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 405`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 406`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 407`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 408`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 409`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 410`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 411`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 412`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 413`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 414`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 415`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 416`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 417`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 418`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 419`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 420`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 421`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 422`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 423`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 424`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 425`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 426`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 427`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 428`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 429`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 430`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 431`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 432`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 433`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 434`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 435`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 436`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 437`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 438`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 439`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 440`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 441`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 442`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 443`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 444`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 445`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 446`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 447`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 448`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 449`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 450`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 451`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 452`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 453`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 454`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 455`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 456`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 457`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 458`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 459`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 460`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 461`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 462`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 463`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 464`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 465`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 466`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 467`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 468`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 469`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 470`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 471`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 472`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 473`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 474`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 475`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 476`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 477`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 478`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 479`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 480`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 481`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 482`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 483`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 484`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 485`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 486`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 487`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 488`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 489`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 490`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 491`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 492`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 493`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 494`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 495`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 496`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 497`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 498`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 499`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 500`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 501`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 502`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 503`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 504`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 505`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 506`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 507`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 508`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 509`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 510`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 511`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 512`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 513`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 514`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 515`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 516`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 517`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 518`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 519`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 520`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 521`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 522`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 523`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 524`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 525`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 526`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 527`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 528`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 529`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 530`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 531`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 532`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 533`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 534`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 535`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 536`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 537`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 538`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 539`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 540`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 541`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 542`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 543`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 544`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 545`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 546`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 547`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 548`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 549`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 550`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 551`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 552`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 553`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 554`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 555`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 556`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 557`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 558`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 559`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 560`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 561`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 562`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 563`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 564`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 565`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 566`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 567`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 568`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 569`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 570`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 571`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 572`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 573`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 574`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 575`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 576`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 577`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 578`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 579`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 580`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 581`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 582`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 583`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 584`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 585`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 586`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 587`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 588`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 589`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 590`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 591`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 592`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 593`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 594`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 595`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 596`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 597`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 598`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 599`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 600`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 601`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 602`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 603`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 604`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 605`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 606`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 607`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 608`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 609`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 610`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 611`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 612`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; + +exports[`Raw @cubejs-backend/crate-driver must select from the data source 613`] = ` +Object { + "date_val": Anything, + "retail_date_prev_month": AnyOrNull, + "retail_date_prev_quarter": AnyOrNull, + "retail_date_prev_year": AnyOrNull, + "retail_month_begin_date": Anything, + "retail_month_name": Any, + "retail_quarter_begin_date": Anything, + "retail_quarter_name": Any, + "retail_week_begin_date": Anything, + "retail_week_name": Any, + "retail_year_begin_date": Anything, + "retail_year_name": Any, +} +`; diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/crate-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/crate-full.test.ts.snap new file mode 100644 index 0000000000000..610db20d23452 --- /dev/null +++ b/packages/cubejs-testing-drivers/test/__snapshots__/crate-full.test.ts.snap @@ -0,0 +1,14739 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Queries with the @cubejs-backend/crate-driver SQL API: Date/time comparison with SQL push down 1`] = ` +Array [ + Object { + "measure(BigECommerce.rollingCountBy2Day)": "12", + }, +] +`; + +exports[`Queries with the @cubejs-backend/crate-driver SQL API: Date/time comparison with date_trunc with SQL push down 1`] = ` +Array [ + Object { + "measure(BigECommerce.rollingCountBy2Week)": "12", + }, +] +`; + +exports[`Queries with the @cubejs-backend/crate-driver SQL API: NULLS FIRST/LAST SQL push down: nulls_first_last_sql_push_down 1`] = ` +Array [ + Object { + "category": null, + }, + Object { + "category": "Office Supplies", + }, + Object { + "category": "Technology", + }, +] +`; + +exports[`Queries with the @cubejs-backend/crate-driver SQL API: Rolling Window YTD (year + month + day + date_trunc IN) 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/crate-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/crate-driver SQL API: SQL push down push to cube quoted alias 1`] = ` +Array [ + Object { + "result": true, + }, +] +`; + +exports[`Queries with the @cubejs-backend/crate-driver SQL API: Timeshift measure from cube 1`] = ` +Array [ + 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-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/crate-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/crate-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/crate-driver SQL API: post-aggregate percentage of total 1`] = ` +Array [ + Object { + "SUM(BigECommerce.percentageOfTotalForStatus)": 100, + }, +] +`; + +exports[`Queries with the @cubejs-backend/crate-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/crate-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/crate-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/crate-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/crate-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/crate-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/crate-driver Tesseract: querying BigECommerce with Retail Calendar: totalCountRetailWeekAgo 1`] = ` +Array [ + Object { + "BigECommerce.count": "1", + "BigECommerce.totalCountRetailWeekAgo": null, + "RetailCalendar.retail_date": "2020-02-16T00:00:00.000", + "RetailCalendar.retail_date.week": "2020-02-16T00:00:00.000", + }, + Object { + "BigECommerce.count": null, + "BigECommerce.totalCountRetailWeekAgo": "1", + "RetailCalendar.retail_date": "2020-02-23T00:00:00.000", + "RetailCalendar.retail_date.week": "2020-02-23T00:00:00.000", + }, + Object { + "BigECommerce.count": "1", + "BigECommerce.totalCountRetailWeekAgo": null, + "RetailCalendar.retail_date": "2020-03-15T00:00:00.000", + "RetailCalendar.retail_date.week": "2020-03-15T00:00:00.000", + }, + Object { + "BigECommerce.count": "1", + "BigECommerce.totalCountRetailWeekAgo": "1", + "RetailCalendar.retail_date": "2020-03-22T00:00:00.000", + "RetailCalendar.retail_date.week": "2020-03-22T00:00:00.000", + }, + Object { + "BigECommerce.count": null, + "BigECommerce.totalCountRetailWeekAgo": "1", + "RetailCalendar.retail_date": "2020-03-29T00:00:00.000", + "RetailCalendar.retail_date.week": "2020-03-29T00:00:00.000", + }, + Object { + "BigECommerce.count": "1", + "BigECommerce.totalCountRetailWeekAgo": null, + "RetailCalendar.retail_date": "2020-04-05T00:00:00.000", + "RetailCalendar.retail_date.week": "2020-04-05T00:00:00.000", + }, + Object { + "BigECommerce.count": null, + "BigECommerce.totalCountRetailWeekAgo": "1", + "RetailCalendar.retail_date": "2020-04-12T00:00:00.000", + "RetailCalendar.retail_date.week": "2020-04-12T00:00:00.000", + }, + Object { + "BigECommerce.count": "3", + "BigECommerce.totalCountRetailWeekAgo": null, + "RetailCalendar.retail_date": "2020-05-10T00:00:00.000", + "RetailCalendar.retail_date.week": "2020-05-10T00:00:00.000", + }, + Object { + "BigECommerce.count": null, + "BigECommerce.totalCountRetailWeekAgo": "3", + "RetailCalendar.retail_date": "2020-05-17T00:00:00.000", + "RetailCalendar.retail_date.week": "2020-05-17T00:00:00.000", + }, + Object { + "BigECommerce.count": "2", + "BigECommerce.totalCountRetailWeekAgo": null, + "RetailCalendar.retail_date": "2020-05-24T00:00:00.000", + "RetailCalendar.retail_date.week": "2020-05-24T00:00:00.000", + }, + Object { + "BigECommerce.count": "1", + "BigECommerce.totalCountRetailWeekAgo": "2", + "RetailCalendar.retail_date": "2020-05-31T00:00:00.000", + "RetailCalendar.retail_date.week": "2020-05-31T00:00:00.000", + }, + Object { + "BigECommerce.count": "2", + "BigECommerce.totalCountRetailWeekAgo": "1", + "RetailCalendar.retail_date": "2020-06-07T00:00:00.000", + "RetailCalendar.retail_date.week": "2020-06-07T00:00:00.000", + }, + Object { + "BigECommerce.count": "2", + "BigECommerce.totalCountRetailWeekAgo": "2", + "RetailCalendar.retail_date": "2020-06-14T00:00:00.000", + "RetailCalendar.retail_date.week": "2020-06-14T00:00:00.000", + }, + Object { + "BigECommerce.count": "2", + "BigECommerce.totalCountRetailWeekAgo": "2", + "RetailCalendar.retail_date": "2020-06-21T00:00:00.000", + "RetailCalendar.retail_date.week": "2020-06-21T00:00:00.000", + }, + Object { + "BigECommerce.count": null, + "BigECommerce.totalCountRetailWeekAgo": "2", + "RetailCalendar.retail_date": "2020-06-28T00:00:00.000", + "RetailCalendar.retail_date.week": "2020-06-28T00:00:00.000", + }, + Object { + "BigECommerce.count": "2", + "BigECommerce.totalCountRetailWeekAgo": null, + "RetailCalendar.retail_date": "2020-08-30T00:00:00.000", + "RetailCalendar.retail_date.week": "2020-08-30T00:00:00.000", + }, + Object { + "BigECommerce.count": "1", + "BigECommerce.totalCountRetailWeekAgo": "2", + "RetailCalendar.retail_date": "2020-09-06T00:00:00.000", + "RetailCalendar.retail_date.week": "2020-09-06T00:00:00.000", + }, + Object { + "BigECommerce.count": "2", + "BigECommerce.totalCountRetailWeekAgo": "1", + "RetailCalendar.retail_date": "2020-09-13T00:00:00.000", + "RetailCalendar.retail_date.week": "2020-09-13T00:00:00.000", + }, + Object { + "BigECommerce.count": "1", + "BigECommerce.totalCountRetailWeekAgo": "2", + "RetailCalendar.retail_date": "2020-09-20T00:00:00.000", + "RetailCalendar.retail_date.week": "2020-09-20T00:00:00.000", + }, + Object { + "BigECommerce.count": null, + "BigECommerce.totalCountRetailWeekAgo": "1", + "RetailCalendar.retail_date": "2020-09-27T00:00:00.000", + "RetailCalendar.retail_date.week": "2020-09-27T00:00:00.000", + }, + Object { + "BigECommerce.count": "1", + "BigECommerce.totalCountRetailWeekAgo": null, + "RetailCalendar.retail_date": "2020-10-11T00:00:00.000", + "RetailCalendar.retail_date.week": "2020-10-11T00:00:00.000", + }, + Object { + "BigECommerce.count": "2", + "BigECommerce.totalCountRetailWeekAgo": "1", + "RetailCalendar.retail_date": "2020-10-18T00:00:00.000", + "RetailCalendar.retail_date.week": "2020-10-18T00:00:00.000", + }, + Object { + "BigECommerce.count": "1", + "BigECommerce.totalCountRetailWeekAgo": "2", + "RetailCalendar.retail_date": "2020-10-25T00:00:00.000", + "RetailCalendar.retail_date.week": "2020-10-25T00:00:00.000", + }, + Object { + "BigECommerce.count": "3", + "BigECommerce.totalCountRetailWeekAgo": "1", + "RetailCalendar.retail_date": "2020-11-01T00:00:00.000", + "RetailCalendar.retail_date.week": "2020-11-01T00:00:00.000", + }, + Object { + "BigECommerce.count": "2", + "BigECommerce.totalCountRetailWeekAgo": "3", + "RetailCalendar.retail_date": "2020-11-08T00:00:00.000", + "RetailCalendar.retail_date.week": "2020-11-08T00:00:00.000", + }, + Object { + "BigECommerce.count": "3", + "BigECommerce.totalCountRetailWeekAgo": "2", + "RetailCalendar.retail_date": "2020-11-15T00:00:00.000", + "RetailCalendar.retail_date.week": "2020-11-15T00:00:00.000", + }, + Object { + "BigECommerce.count": "1", + "BigECommerce.totalCountRetailWeekAgo": "3", + "RetailCalendar.retail_date": "2020-11-22T00:00:00.000", + "RetailCalendar.retail_date.week": "2020-11-22T00:00:00.000", + }, + Object { + "BigECommerce.count": "3", + "BigECommerce.totalCountRetailWeekAgo": "1", + "RetailCalendar.retail_date": "2020-11-29T00:00:00.000", + "RetailCalendar.retail_date.week": "2020-11-29T00:00:00.000", + }, + Object { + "BigECommerce.count": null, + "BigECommerce.totalCountRetailWeekAgo": "3", + "RetailCalendar.retail_date": "2020-12-06T00:00:00.000", + "RetailCalendar.retail_date.week": "2020-12-06T00:00:00.000", + }, + Object { + "BigECommerce.count": "2", + "BigECommerce.totalCountRetailWeekAgo": null, + "RetailCalendar.retail_date": "2020-12-13T00:00:00.000", + "RetailCalendar.retail_date.week": "2020-12-13T00:00:00.000", + }, + Object { + "BigECommerce.count": "2", + "BigECommerce.totalCountRetailWeekAgo": "2", + "RetailCalendar.retail_date": "2020-12-20T00:00:00.000", + "RetailCalendar.retail_date.week": "2020-12-20T00:00:00.000", + }, + Object { + "BigECommerce.count": null, + "BigECommerce.totalCountRetailWeekAgo": "2", + "RetailCalendar.retail_date": "2020-12-27T00:00:00.000", + "RetailCalendar.retail_date.week": "2020-12-27T00:00:00.000", + }, +] +`; + +exports[`Queries with the @cubejs-backend/crate-driver filtering Customers: contains + dimensions, first 1`] = ` +Array [ + Object { + "Customers.customerId": "AH-10465", + "Customers.customerName": "Customer 1", + }, + Object { + "Customers.customerId": "AJ-10780", + "Customers.customerName": "Customer 2", + }, + Object { + "Customers.customerId": "AS-10225", + "Customers.customerName": "Customer 3", + }, + Object { + "Customers.customerId": "AW-10840", + "Customers.customerName": "Customer 4", + }, + Object { + "Customers.customerId": "BB-11545", + "Customers.customerName": "Customer 5", + }, + Object { + "Customers.customerId": "BF-11020", + "Customers.customerName": "Customer 6", + }, + Object { + "Customers.customerId": "BF-11170", + "Customers.customerName": "Customer 7", + }, + Object { + "Customers.customerId": "BM-11650", + "Customers.customerName": "Customer 8", + }, + Object { + "Customers.customerId": "BS-11380", + "Customers.customerName": "Customer 9", + }, + Object { + "Customers.customerId": "BS-11755", + "Customers.customerName": "Customer 10", + }, + Object { + "Customers.customerId": "CA-12775", + "Customers.customerName": "Customer 11", + }, + Object { + "Customers.customerId": "CC-12475", + "Customers.customerName": "Customer 12", + }, + Object { + "Customers.customerId": "CD-12280", + "Customers.customerName": "Customer 13", + }, + Object { + "Customers.customerId": "CS-12355", + "Customers.customerName": "Customer 14", + }, + Object { + "Customers.customerId": "DB-13405", + "Customers.customerName": "Customer 15", + }, + Object { + "Customers.customerId": "DG-13300", + "Customers.customerName": "Customer 16", + }, + Object { + "Customers.customerId": "DW-13480", + "Customers.customerName": "Customer 17", + }, + Object { + "Customers.customerId": "EM-14140", + "Customers.customerName": "Customer 18", + }, + Object { + "Customers.customerId": "GA-14725", + "Customers.customerName": "Customer 19", + }, + Object { + "Customers.customerId": "GZ-14470", + "Customers.customerName": "Customer 20", + }, + Object { + "Customers.customerId": "HH-15010", + "Customers.customerName": "Customer 21", + }, + Object { + "Customers.customerId": "HK-14890", + "Customers.customerName": "Customer 22", + }, + Object { + "Customers.customerId": "JH-15430", + "Customers.customerName": "Customer 23", + }, + Object { + "Customers.customerId": "JO-15550", + "Customers.customerName": "Customer 24", + }, + Object { + "Customers.customerId": "JS-16030", + "Customers.customerName": "Customer 25", + }, + Object { + "Customers.customerId": "JW-15220", + "Customers.customerName": "Customer 26", + }, + Object { + "Customers.customerId": "KL-16555", + "Customers.customerName": "Customer 27", + }, + Object { + "Customers.customerId": "KN-16705", + "Customers.customerName": "Customer 28", + }, + Object { + "Customers.customerId": "LC-17050", + "Customers.customerName": "Customer 29", + }, + Object { + "Customers.customerId": "LR-16915", + "Customers.customerName": "Customer 30", + }, + Object { + "Customers.customerId": "MC-17605", + "Customers.customerName": "Customer 31", + }, + Object { + "Customers.customerId": "MG-17650", + "Customers.customerName": "Customer 32", + }, + Object { + "Customers.customerId": "ML-17755", + "Customers.customerName": "Customer 33", + }, + Object { + "Customers.customerId": "MM-18280", + "Customers.customerName": "Customer 34", + }, + Object { + "Customers.customerId": "NP-18670", + "Customers.customerName": "Customer 35", + }, + Object { + "Customers.customerId": "PF-19165", + "Customers.customerName": "Customer 36", + }, + Object { + "Customers.customerId": "SB-20185", + "Customers.customerName": "Customer 37", + }, + Object { + "Customers.customerId": "SS-20140", + "Customers.customerName": "Customer 38", + }, + Object { + "Customers.customerId": "TB-21175", + "Customers.customerName": "Customer 39", + }, + Object { + "Customers.customerId": "TS-21205", + "Customers.customerName": "Customer 40", + }, + Object { + "Customers.customerId": "WB-21850", + "Customers.customerName": "Customer 41", + }, +] +`; + +exports[`Queries with the @cubejs-backend/crate-driver filtering Customers: contains + dimensions, second 1`] = ` +Array [ + Object { + "Customers.customerId": "AH-10465", + "Customers.customerName": "Customer 1", + }, + Object { + "Customers.customerId": "AJ-10780", + "Customers.customerName": "Customer 2", + }, + Object { + "Customers.customerId": "AS-10225", + "Customers.customerName": "Customer 3", + }, + Object { + "Customers.customerId": "AW-10840", + "Customers.customerName": "Customer 4", + }, + Object { + "Customers.customerId": "BB-11545", + "Customers.customerName": "Customer 5", + }, + Object { + "Customers.customerId": "BF-11020", + "Customers.customerName": "Customer 6", + }, + Object { + "Customers.customerId": "BF-11170", + "Customers.customerName": "Customer 7", + }, + Object { + "Customers.customerId": "BM-11650", + "Customers.customerName": "Customer 8", + }, + Object { + "Customers.customerId": "BS-11380", + "Customers.customerName": "Customer 9", + }, + Object { + "Customers.customerId": "BS-11755", + "Customers.customerName": "Customer 10", + }, + Object { + "Customers.customerId": "CA-12775", + "Customers.customerName": "Customer 11", + }, + Object { + "Customers.customerId": "CC-12475", + "Customers.customerName": "Customer 12", + }, + Object { + "Customers.customerId": "CD-12280", + "Customers.customerName": "Customer 13", + }, + Object { + "Customers.customerId": "CS-12355", + "Customers.customerName": "Customer 14", + }, + Object { + "Customers.customerId": "DB-13405", + "Customers.customerName": "Customer 15", + }, + Object { + "Customers.customerId": "DG-13300", + "Customers.customerName": "Customer 16", + }, + Object { + "Customers.customerId": "DW-13480", + "Customers.customerName": "Customer 17", + }, + Object { + "Customers.customerId": "EM-14140", + "Customers.customerName": "Customer 18", + }, + Object { + "Customers.customerId": "GA-14725", + "Customers.customerName": "Customer 19", + }, + Object { + "Customers.customerId": "GZ-14470", + "Customers.customerName": "Customer 20", + }, + Object { + "Customers.customerId": "HH-15010", + "Customers.customerName": "Customer 21", + }, + Object { + "Customers.customerId": "HK-14890", + "Customers.customerName": "Customer 22", + }, + Object { + "Customers.customerId": "JH-15430", + "Customers.customerName": "Customer 23", + }, + Object { + "Customers.customerId": "JO-15550", + "Customers.customerName": "Customer 24", + }, + Object { + "Customers.customerId": "JS-16030", + "Customers.customerName": "Customer 25", + }, + Object { + "Customers.customerId": "JW-15220", + "Customers.customerName": "Customer 26", + }, + Object { + "Customers.customerId": "KL-16555", + "Customers.customerName": "Customer 27", + }, + Object { + "Customers.customerId": "KN-16705", + "Customers.customerName": "Customer 28", + }, + Object { + "Customers.customerId": "LC-17050", + "Customers.customerName": "Customer 29", + }, + Object { + "Customers.customerId": "LR-16915", + "Customers.customerName": "Customer 30", + }, + Object { + "Customers.customerId": "MC-17605", + "Customers.customerName": "Customer 31", + }, + Object { + "Customers.customerId": "MG-17650", + "Customers.customerName": "Customer 32", + }, + Object { + "Customers.customerId": "ML-17755", + "Customers.customerName": "Customer 33", + }, + Object { + "Customers.customerId": "MM-18280", + "Customers.customerName": "Customer 34", + }, + Object { + "Customers.customerId": "NP-18670", + "Customers.customerName": "Customer 35", + }, + Object { + "Customers.customerId": "PF-19165", + "Customers.customerName": "Customer 36", + }, + Object { + "Customers.customerId": "SB-20185", + "Customers.customerName": "Customer 37", + }, + Object { + "Customers.customerId": "SS-20140", + "Customers.customerName": "Customer 38", + }, + Object { + "Customers.customerId": "TB-21175", + "Customers.customerName": "Customer 39", + }, + Object { + "Customers.customerId": "TS-21205", + "Customers.customerName": "Customer 40", + }, + Object { + "Customers.customerId": "WB-21850", + "Customers.customerName": "Customer 41", + }, +] +`; + +exports[`Queries with the @cubejs-backend/crate-driver filtering Customers: contains + dimensions, third 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/crate-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/crate-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/crate-driver filtering Customers: endsWith filter + dimensions, third 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/crate-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/crate-driver filtering Customers: notEndsWith filter + dimensions, second 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/crate-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/crate-driver filtering Customers: notStartsWith + dimensions, first 1`] = ` +Array [ + Object { + "Customers.customerId": "BB-11545", + "Customers.customerName": "Customer 5", + }, + Object { + "Customers.customerId": "BF-11020", + "Customers.customerName": "Customer 6", + }, + Object { + "Customers.customerId": "BF-11170", + "Customers.customerName": "Customer 7", + }, + Object { + "Customers.customerId": "BM-11650", + "Customers.customerName": "Customer 8", + }, + Object { + "Customers.customerId": "BS-11380", + "Customers.customerName": "Customer 9", + }, + Object { + "Customers.customerId": "BS-11755", + "Customers.customerName": "Customer 10", + }, + Object { + "Customers.customerId": "CA-12775", + "Customers.customerName": "Customer 11", + }, + Object { + "Customers.customerId": "CC-12475", + "Customers.customerName": "Customer 12", + }, + Object { + "Customers.customerId": "CD-12280", + "Customers.customerName": "Customer 13", + }, + Object { + "Customers.customerId": "CS-12355", + "Customers.customerName": "Customer 14", + }, + Object { + "Customers.customerId": "DB-13405", + "Customers.customerName": "Customer 15", + }, + Object { + "Customers.customerId": "DG-13300", + "Customers.customerName": "Customer 16", + }, + Object { + "Customers.customerId": "DW-13480", + "Customers.customerName": "Customer 17", + }, + Object { + "Customers.customerId": "EM-14140", + "Customers.customerName": "Customer 18", + }, + Object { + "Customers.customerId": "GA-14725", + "Customers.customerName": "Customer 19", + }, + Object { + "Customers.customerId": "GZ-14470", + "Customers.customerName": "Customer 20", + }, + Object { + "Customers.customerId": "HH-15010", + "Customers.customerName": "Customer 21", + }, + Object { + "Customers.customerId": "HK-14890", + "Customers.customerName": "Customer 22", + }, + Object { + "Customers.customerId": "JH-15430", + "Customers.customerName": "Customer 23", + }, + Object { + "Customers.customerId": "JO-15550", + "Customers.customerName": "Customer 24", + }, + Object { + "Customers.customerId": "JS-16030", + "Customers.customerName": "Customer 25", + }, + Object { + "Customers.customerId": "JW-15220", + "Customers.customerName": "Customer 26", + }, + Object { + "Customers.customerId": "KL-16555", + "Customers.customerName": "Customer 27", + }, + Object { + "Customers.customerId": "KN-16705", + "Customers.customerName": "Customer 28", + }, + Object { + "Customers.customerId": "LC-17050", + "Customers.customerName": "Customer 29", + }, + Object { + "Customers.customerId": "LR-16915", + "Customers.customerName": "Customer 30", + }, + Object { + "Customers.customerId": "MC-17605", + "Customers.customerName": "Customer 31", + }, + Object { + "Customers.customerId": "MG-17650", + "Customers.customerName": "Customer 32", + }, + Object { + "Customers.customerId": "ML-17755", + "Customers.customerName": "Customer 33", + }, + Object { + "Customers.customerId": "MM-18280", + "Customers.customerName": "Customer 34", + }, + Object { + "Customers.customerId": "NP-18670", + "Customers.customerName": "Customer 35", + }, + Object { + "Customers.customerId": "PF-19165", + "Customers.customerName": "Customer 36", + }, + Object { + "Customers.customerId": "SB-20185", + "Customers.customerName": "Customer 37", + }, + Object { + "Customers.customerId": "SS-20140", + "Customers.customerName": "Customer 38", + }, + Object { + "Customers.customerId": "TB-21175", + "Customers.customerName": "Customer 39", + }, + Object { + "Customers.customerId": "TS-21205", + "Customers.customerName": "Customer 40", + }, + Object { + "Customers.customerId": "WB-21850", + "Customers.customerName": "Customer 41", + }, +] +`; + +exports[`Queries with the @cubejs-backend/crate-driver filtering Customers: notStartsWith + dimensions, second 1`] = ` +Array [ + Object { + "Customers.customerId": "CA-12775", + "Customers.customerName": "Customer 11", + }, + Object { + "Customers.customerId": "CC-12475", + "Customers.customerName": "Customer 12", + }, + Object { + "Customers.customerId": "CD-12280", + "Customers.customerName": "Customer 13", + }, + Object { + "Customers.customerId": "CS-12355", + "Customers.customerName": "Customer 14", + }, + Object { + "Customers.customerId": "DB-13405", + "Customers.customerName": "Customer 15", + }, + Object { + "Customers.customerId": "DG-13300", + "Customers.customerName": "Customer 16", + }, + Object { + "Customers.customerId": "DW-13480", + "Customers.customerName": "Customer 17", + }, + Object { + "Customers.customerId": "EM-14140", + "Customers.customerName": "Customer 18", + }, + Object { + "Customers.customerId": "GA-14725", + "Customers.customerName": "Customer 19", + }, + Object { + "Customers.customerId": "GZ-14470", + "Customers.customerName": "Customer 20", + }, + Object { + "Customers.customerId": "HH-15010", + "Customers.customerName": "Customer 21", + }, + Object { + "Customers.customerId": "HK-14890", + "Customers.customerName": "Customer 22", + }, + Object { + "Customers.customerId": "JH-15430", + "Customers.customerName": "Customer 23", + }, + Object { + "Customers.customerId": "JO-15550", + "Customers.customerName": "Customer 24", + }, + Object { + "Customers.customerId": "JS-16030", + "Customers.customerName": "Customer 25", + }, + Object { + "Customers.customerId": "JW-15220", + "Customers.customerName": "Customer 26", + }, + Object { + "Customers.customerId": "KL-16555", + "Customers.customerName": "Customer 27", + }, + Object { + "Customers.customerId": "KN-16705", + "Customers.customerName": "Customer 28", + }, + Object { + "Customers.customerId": "LC-17050", + "Customers.customerName": "Customer 29", + }, + Object { + "Customers.customerId": "LR-16915", + "Customers.customerName": "Customer 30", + }, + Object { + "Customers.customerId": "MC-17605", + "Customers.customerName": "Customer 31", + }, + Object { + "Customers.customerId": "MG-17650", + "Customers.customerName": "Customer 32", + }, + Object { + "Customers.customerId": "ML-17755", + "Customers.customerName": "Customer 33", + }, + Object { + "Customers.customerId": "MM-18280", + "Customers.customerName": "Customer 34", + }, + Object { + "Customers.customerId": "NP-18670", + "Customers.customerName": "Customer 35", + }, + Object { + "Customers.customerId": "PF-19165", + "Customers.customerName": "Customer 36", + }, + Object { + "Customers.customerId": "SB-20185", + "Customers.customerName": "Customer 37", + }, + Object { + "Customers.customerId": "SS-20140", + "Customers.customerName": "Customer 38", + }, + Object { + "Customers.customerId": "TB-21175", + "Customers.customerName": "Customer 39", + }, + Object { + "Customers.customerId": "TS-21205", + "Customers.customerName": "Customer 40", + }, + Object { + "Customers.customerId": "WB-21850", + "Customers.customerName": "Customer 41", + }, +] +`; + +exports[`Queries with the @cubejs-backend/crate-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/crate-driver filtering Customers: startsWith + dimensions, first 1`] = ` +Array [ + Object { + "Customers.customerId": "AH-10465", + "Customers.customerName": "Customer 1", + }, + Object { + "Customers.customerId": "AJ-10780", + "Customers.customerName": "Customer 2", + }, + Object { + "Customers.customerId": "AS-10225", + "Customers.customerName": "Customer 3", + }, + Object { + "Customers.customerId": "AW-10840", + "Customers.customerName": "Customer 4", + }, +] +`; + +exports[`Queries with the @cubejs-backend/crate-driver filtering Customers: startsWith + dimensions, second 1`] = ` +Array [ + Object { + "Customers.customerId": "AH-10465", + "Customers.customerName": "Customer 1", + }, + Object { + "Customers.customerId": "AJ-10780", + "Customers.customerName": "Customer 2", + }, + Object { + "Customers.customerId": "AS-10225", + "Customers.customerName": "Customer 3", + }, + Object { + "Customers.customerId": "AW-10840", + "Customers.customerName": "Customer 4", + }, + Object { + "Customers.customerId": "BB-11545", + "Customers.customerName": "Customer 5", + }, + Object { + "Customers.customerId": "BF-11020", + "Customers.customerName": "Customer 6", + }, + Object { + "Customers.customerId": "BF-11170", + "Customers.customerName": "Customer 7", + }, + Object { + "Customers.customerId": "BM-11650", + "Customers.customerName": "Customer 8", + }, + Object { + "Customers.customerId": "BS-11380", + "Customers.customerName": "Customer 9", + }, + Object { + "Customers.customerId": "BS-11755", + "Customers.customerName": "Customer 10", + }, +] +`; + +exports[`Queries with the @cubejs-backend/crate-driver filtering Customers: startsWith + dimensions, third 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/crate-driver filtering ECommerce: contains dimensions, first 1`] = ` +Array [ + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Detroit", + "ECommerce.customerId": "MC-17605", + "ECommerce.customerName": "Customer 31", + "ECommerce.discount": "0", + "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": "San Francisco", + "ECommerce.customerId": "HH-15010", + "ECommerce.customerName": "Customer 21", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-10-19T00:00:00.000", + "ECommerce.orderId": "CA-2017-131492", + "ECommerce.productName": "Anderson Hickey Conga Table Tops & Accessories", + "ECommerce.profit": "-3.3506", + "ECommerce.quantity": "2", + "ECommerce.rowId": "3060", + "ECommerce.sales": "24.368", + "ECommerce.subCategory": "Tables", + }, +] +`; + +exports[`Queries with the @cubejs-backend/crate-driver filtering ECommerce: contains dimensions, second 1`] = ` +Array [ + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Detroit", + "ECommerce.customerId": "MC-17605", + "ECommerce.customerName": "Customer 31", + "ECommerce.discount": "0", + "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": "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": "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": "Furniture", + "ECommerce.city": "Marion", + "ECommerce.customerId": "MG-17650", + "ECommerce.customerName": "Customer 32", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-12-01T00:00:00.000", + "ECommerce.orderId": "CA-2017-145660", + "ECommerce.productName": "Magna Visual Magnetic Picture Hangers", + "ECommerce.profit": "1.7352", + "ECommerce.quantity": "2", + "ECommerce.rowId": "6205", + "ECommerce.sales": "7.712", + "ECommerce.subCategory": "Furnishings", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Philadelphia", + "ECommerce.customerId": "BS-11755", + "ECommerce.customerName": "Customer 10", + "ECommerce.discount": "0.2", + "ECommerce.orderDate": "2020-04-10T00:00:00.000", + "ECommerce.orderId": "CA-2017-135069", + "ECommerce.productName": "Linden 10 Round Wall Clock, Black", + "ECommerce.profit": "6.4176", + "ECommerce.quantity": "3", + "ECommerce.rowId": "7425", + "ECommerce.sales": "36.672", + "ECommerce.subCategory": "Furnishings", + }, + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Dallas", + "ECommerce.customerId": "LC-17050", + "ECommerce.customerName": "Customer 29", + "ECommerce.discount": "0.6", + "ECommerce.orderDate": "2020-11-06T00:00:00.000", + "ECommerce.orderId": "US-2017-119319", + "ECommerce.productName": "Linden 10 Round Wall Clock, Black", + "ECommerce.profit": "-19.864", + "ECommerce.quantity": "5", + "ECommerce.rowId": "8621", + "ECommerce.sales": "30.56", + "ECommerce.subCategory": "Furnishings", + }, +] +`; + +exports[`Queries with the @cubejs-backend/crate-driver filtering ECommerce: contains dimensions, third 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/crate-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/crate-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/crate-driver filtering ECommerce: endsWith + dimensions, third 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/crate-driver filtering ECommerce: startsWith + dimensions, first 1`] = ` +Array [ + Object { + "ECommerce.category": "Furniture", + "ECommerce.city": "Provo", + "ECommerce.customerId": "AS-10225", + "ECommerce.customerName": "Customer 3", + "ECommerce.discount": "0", + "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": "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": "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": "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", + }, +] +`; + +exports[`Queries with the @cubejs-backend/crate-driver filtering ECommerce: startsWith + dimensions, second 1`] = ` +Array [ + Object { + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "BM-11650", + "ECommerce.customerName": "Customer 8", + "ECommerce.discount": "0", + "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": "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": "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": "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": "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": "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/crate-driver filtering ECommerce: startsWith + dimensions, third 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/crate-driver filtering Products: contains + dimensions + order, first 1`] = ` +Array [ + Object { + "Products.category": "Furniture", + "Products.productName": "Anderson Hickey Conga Table Tops & Accessories", + "Products.subCategory": "Tables", + }, + Object { + "Products.category": "Furniture", + "Products.productName": "Balt Solid Wood Rectangular Table", + "Products.subCategory": "Tables", + }, +] +`; + +exports[`Queries with the @cubejs-backend/crate-driver filtering Products: contains + dimensions + order, second 1`] = ` +Array [ + Object { + "Products.category": "Furniture", + "Products.productName": "Linden 10 Round Wall Clock, Black", + "Products.subCategory": "Furnishings", + }, + Object { + "Products.category": "Furniture", + "Products.productName": "Magna Visual Magnetic Picture Hangers", + "Products.subCategory": "Furnishings", + }, + Object { + "Products.category": "Furniture", + "Products.productName": "Anderson Hickey Conga Table Tops & Accessories", + "Products.subCategory": "Tables", + }, + Object { + "Products.category": "Furniture", + "Products.productName": "Balt Solid Wood Rectangular Table", + "Products.subCategory": "Tables", + }, +] +`; + +exports[`Queries with the @cubejs-backend/crate-driver filtering Products: contains + dimensions + order, third 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/crate-driver filtering Products: contains with special chars + dimensions 1`] = ` +Array [ + Object { + "Products.productName": "Logitech di_Novo Edge Keyboard", + }, +] +`; + +exports[`Queries with the @cubejs-backend/crate-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/crate-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/crate-driver filtering Products: endsWith filter + dimensions + order, third 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/crate-driver filtering Products: startsWith filter + dimensions + order, first 1`] = ` +Array [ + Object { + "Products.category": "Office Supplies", + "Products.productName": "OIC #2 Pencils, Medium Soft", + "Products.subCategory": "Art", + }, + Object { + "Products.category": "Technology", + "Products.productName": "Okidata C610n Printer", + "Products.subCategory": "Machines", + }, +] +`; + +exports[`Queries with the @cubejs-backend/crate-driver filtering Products: startsWith filter + dimensions + order, second 1`] = ` +Array [ + Object { + "Products.category": "Office Supplies", + "Products.productName": "OIC #2 Pencils, Medium Soft", + "Products.subCategory": "Art", + }, + Object { + "Products.category": "Technology", + "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.0", + "Products.subCategory": "Accessories", + }, + Object { + "Products.category": "Technology", + "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.1", + "Products.subCategory": "Accessories", + }, + Object { + "Products.category": "Technology", + "Products.productName": "Kingston Digital DataTraveler 16GB USB 2.2", + "Products.subCategory": "Accessories", + }, + Object { + "Products.category": "Technology", + "Products.productName": "Okidata C610n Printer", + "Products.subCategory": "Machines", + }, +] +`; + +exports[`Queries with the @cubejs-backend/crate-driver filtering Products: startsWith filter + dimensions + order, third 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/crate-driver pre-aggregations Customers: running total without time dimension 1`] = ` +Array [ + Object { + "Customers.runningTotal": "41", + }, +] +`; + +exports[`Queries with the @cubejs-backend/crate-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/crate-driver querying BigECommerce: SeveralMultiStageMeasures 1`] = ` +Array [ + Object { + "BigECommerce.count": "2", + "BigECommerce.orderDate": "2020-01-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-01-01T00:00:00.000", + "BigECommerce.percentageOfTotalForStatus": "100", + "BigECommerce.totalCountRetailMonthAgo": null, + "BigECommerce.totalProfitYearAgo": null, + }, + Object { + "BigECommerce.count": "1", + "BigECommerce.orderDate": "2020-02-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-02-01T00:00:00.000", + "BigECommerce.percentageOfTotalForStatus": "100", + "BigECommerce.totalCountRetailMonthAgo": "2", + "BigECommerce.totalProfitYearAgo": null, + }, + Object { + "BigECommerce.count": "2", + "BigECommerce.orderDate": "2020-03-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-03-01T00:00:00.000", + "BigECommerce.percentageOfTotalForStatus": "100", + "BigECommerce.totalCountRetailMonthAgo": "1", + "BigECommerce.totalProfitYearAgo": null, + }, + Object { + "BigECommerce.count": "1", + "BigECommerce.orderDate": "2020-04-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-04-01T00:00:00.000", + "BigECommerce.percentageOfTotalForStatus": "100", + "BigECommerce.totalCountRetailMonthAgo": "2", + "BigECommerce.totalProfitYearAgo": null, + }, + Object { + "BigECommerce.count": "5", + "BigECommerce.orderDate": "2020-05-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-05-01T00:00:00.000", + "BigECommerce.percentageOfTotalForStatus": "100", + "BigECommerce.totalCountRetailMonthAgo": "1", + "BigECommerce.totalProfitYearAgo": null, + }, + Object { + "BigECommerce.count": "7", + "BigECommerce.orderDate": "2020-06-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-06-01T00:00:00.000", + "BigECommerce.percentageOfTotalForStatus": "100", + "BigECommerce.totalCountRetailMonthAgo": "5", + "BigECommerce.totalProfitYearAgo": null, + }, + Object { + "BigECommerce.count": null, + "BigECommerce.orderDate": "2020-07-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-07-01T00:00:00.000", + "BigECommerce.percentageOfTotalForStatus": null, + "BigECommerce.totalCountRetailMonthAgo": "7", + "BigECommerce.totalProfitYearAgo": null, + }, + Object { + "BigECommerce.count": "6", + "BigECommerce.orderDate": "2020-09-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-09-01T00:00:00.000", + "BigECommerce.percentageOfTotalForStatus": "100", + "BigECommerce.totalCountRetailMonthAgo": null, + "BigECommerce.totalProfitYearAgo": null, + }, + Object { + "BigECommerce.count": "4", + "BigECommerce.orderDate": "2020-10-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-10-01T00:00:00.000", + "BigECommerce.percentageOfTotalForStatus": "100", + "BigECommerce.totalCountRetailMonthAgo": "6", + "BigECommerce.totalProfitYearAgo": null, + }, + Object { + "BigECommerce.count": "9", + "BigECommerce.orderDate": "2020-11-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-11-01T00:00:00.000", + "BigECommerce.percentageOfTotalForStatus": "100", + "BigECommerce.totalCountRetailMonthAgo": "4", + "BigECommerce.totalProfitYearAgo": null, + }, + Object { + "BigECommerce.count": "7", + "BigECommerce.orderDate": "2020-12-01T00:00:00.000", + "BigECommerce.orderDate.month": "2020-12-01T00:00:00.000", + "BigECommerce.percentageOfTotalForStatus": "100", + "BigECommerce.totalCountRetailMonthAgo": "9", + "BigECommerce.totalProfitYearAgo": null, + }, +] +`; + +exports[`Queries with the @cubejs-backend/crate-driver querying BigECommerce: base measure plus multi-stage over non-partitioned pre-aggregation 1`] = ` +Array [ + Object { + "BigECommerce.category": "Technology", + "BigECommerce.productName": "Canon PC1080F Personal Copier", + "BigECommerce.profitInCategory": "2398.8443", + "BigECommerce.totalProfit": "1037.9827", + }, + Object { + "BigECommerce.category": "Technology", + "BigECommerce.productName": "Logitech di_Novo Edge Keyboard", + "BigECommerce.profitInCategory": "2398.8443", + "BigECommerce.totalProfit": "517.4793", + }, + Object { + "BigECommerce.category": "Technology", + "BigECommerce.productName": "Google Nexus 5", + "BigECommerce.profitInCategory": "2398.8443", + "BigECommerce.totalProfit": "494.9725", + }, + Object { + "BigECommerce.category": "Technology", + "BigECommerce.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", + "BigECommerce.profitInCategory": "2398.8443", + "BigECommerce.totalProfit": "218.4", + }, + Object { + "BigECommerce.category": "Furniture", + "BigECommerce.productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", + "BigECommerce.profitInCategory": "459.75260000000003", + "BigECommerce.totalProfit": "206.87040000000002", + }, + Object { + "BigECommerce.category": "Furniture", + "BigECommerce.productName": "Harbour Creations 67200 Series Stacking Chairs", + "BigECommerce.profitInCategory": "459.75260000000003", + "BigECommerce.totalProfit": "168.69660000000002", + }, + Object { + "BigECommerce.category": "Technology", + "BigECommerce.productName": "Google Nexus 6", + "BigECommerce.profitInCategory": "2398.8443", + "BigECommerce.totalProfit": "134.9925", + }, + Object { + "BigECommerce.category": "Technology", + "BigECommerce.productName": "Google Nexus 7", + "BigECommerce.profitInCategory": "2398.8443", + "BigECommerce.totalProfit": "134.9925", + }, + Object { + "BigECommerce.category": "Office Supplies", + "BigECommerce.productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", + "BigECommerce.profitInCategory": "192.95579999999998", + "BigECommerce.totalProfit": "81.432", + }, + Object { + "BigECommerce.category": "Technology", + "BigECommerce.productName": "Hewlett Packard 610 Color Digital Copier / Printer", + "BigECommerce.profitInCategory": "2398.8443", + "BigECommerce.totalProfit": "74.9985", + }, + Object { + "BigECommerce.category": "Furniture", + "BigECommerce.productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", + "BigECommerce.profitInCategory": "459.75260000000003", + "BigECommerce.totalProfit": "60.5488", + }, + Object { + "BigECommerce.category": "Office Supplies", + "BigECommerce.productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", + "BigECommerce.profitInCategory": "192.95579999999998", + "BigECommerce.totalProfit": "50.372", + }, + Object { + "BigECommerce.category": "Office Supplies", + "BigECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", + "BigECommerce.profitInCategory": "192.95579999999998", + "BigECommerce.totalProfit": "43.279599999999995", + }, + Object { + "BigECommerce.category": "Technology", + "BigECommerce.productName": "HTC One", + "BigECommerce.profitInCategory": "2398.8443", + "BigECommerce.totalProfit": "26.9973", + }, + Object { + "BigECommerce.category": "Furniture", + "BigECommerce.productName": "Balt Solid Wood Rectangular Table", + "BigECommerce.profitInCategory": "459.75260000000003", + "BigECommerce.totalProfit": "21.098", + }, + Object { + "BigECommerce.category": "Technology", + "BigECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.2", + "BigECommerce.profitInCategory": "2398.8443", + "BigECommerce.totalProfit": "13.604", + }, + Object { + "BigECommerce.category": "Technology", + "BigECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.0", + "BigECommerce.profitInCategory": "2398.8443", + "BigECommerce.totalProfit": "8.5025", + }, + Object { + "BigECommerce.category": "Technology", + "BigECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.1", + "BigECommerce.profitInCategory": "2398.8443", + "BigECommerce.totalProfit": "8.5025", + }, + Object { + "BigECommerce.category": "Furniture", + "BigECommerce.productName": "Linden 10 Round Wall Clock, Black", + "BigECommerce.profitInCategory": "459.75260000000003", + "BigECommerce.totalProfit": "5.500800000000002", + }, + Object { + "BigECommerce.category": "Furniture", + "BigECommerce.productName": "Magna Visual Magnetic Picture Hangers", + "BigECommerce.profitInCategory": "459.75260000000003", + "BigECommerce.totalProfit": "5.3984", + }, + Object { + "BigECommerce.category": "Office Supplies", + "BigECommerce.productName": "Wausau Papers Astrobrights Colored Envelopes", + "BigECommerce.profitInCategory": "192.95579999999998", + "BigECommerce.totalProfit": "5.2026", + }, + Object { + "BigECommerce.category": "Office Supplies", + "BigECommerce.productName": "OIC #2 Pencils, Medium Soft", + "BigECommerce.profitInCategory": "192.95579999999998", + "BigECommerce.totalProfit": "4.9068", + }, + Object { + "BigECommerce.category": "Office Supplies", + "BigECommerce.productName": "Project Tote Personal File", + "BigECommerce.profitInCategory": "192.95579999999998", + "BigECommerce.totalProfit": "4.0687", + }, + Object { + "BigECommerce.category": "Office Supplies", + "BigECommerce.productName": "Recycled Eldon Regeneration Jumbo File", + "BigECommerce.profitInCategory": "192.95579999999998", + "BigECommerce.totalProfit": "3.9296", + }, + Object { + "BigECommerce.category": "Office Supplies", + "BigECommerce.productName": "Plymouth Boxed Rubber Bands by Plymouth", + "BigECommerce.profitInCategory": "192.95579999999998", + "BigECommerce.totalProfit": "-0.23549999999999993", + }, + Object { + "BigECommerce.category": "Furniture", + "BigECommerce.productName": "Anderson Hickey Conga Table Tops & Accessories", + "BigECommerce.profitInCategory": "459.75260000000003", + "BigECommerce.totalProfit": "-3.3506", + }, + Object { + "BigECommerce.category": "Furniture", + "BigECommerce.productName": "DMI Eclipse Executive Suite Bookcases", + "BigECommerce.profitInCategory": "459.75260000000003", + "BigECommerce.totalProfit": "-5.0098", + }, + Object { + "BigECommerce.category": "Technology", + "BigECommerce.productName": "Okidata C610n Printer", + "BigECommerce.profitInCategory": "2398.8443", + "BigECommerce.totalProfit": "-272.58", + }, +] +`; + +exports[`Queries with the @cubejs-backend/crate-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/crate-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/crate-driver querying BigECommerce: null boolean 1`] = ` +Array [ + Object { + "BigECommerce.returning": null, + }, +] +`; + +exports[`Queries with the @cubejs-backend/crate-driver querying BigECommerce: null sum 1`] = ` +Array [ + Object { + "BigECommerce.totalSales": null, + }, +] +`; + +exports[`Queries with the @cubejs-backend/crate-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/crate-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/crate-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/crate-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/crate-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/crate-driver querying BigECommerce: rolling window YTD without granularity 1`] = ` +Array [ + Object { + "BigECommerce.rollingCountYTD": "3", + }, +] +`; + +exports[`Queries with the @cubejs-backend/crate-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/crate-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/crate-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/crate-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/crate-driver querying BigECommerce: totalProfitYearAgo 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/crate-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/crate-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/crate-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/crate-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/crate-driver querying Customers: dimensions + order + total + offset 1`] = ` +Array [ + Object { + "Customers.customerId": "BS-11380", + "Customers.customerName": "Customer 9", + }, +] +`; + +exports[`Queries with the @cubejs-backend/crate-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/crate-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/crate-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/crate-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/crate-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/crate-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/crate-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/crate-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/crate-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/crate-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/crate-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/crate-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", + }, + 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/crate-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/crate-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/crate-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.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.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/crate-driver querying Products: dimensions + order + limit + 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", + }, +] +`; + +exports[`Queries with the @cubejs-backend/crate-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/crate-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 { + "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": "Canon PC1080F Personal Copier", + "Products.subCategory": "Copiers", + }, + Object { + "Products.category": "Technology", + "Products.productName": "Hewlett Packard 610 Color Digital Copier / Printer", + "Products.subCategory": "Copiers", + }, + Object { + "Products.category": "Technology", + "Products.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", + "Products.subCategory": "Machines", + }, + Object { + "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/crate-driver querying Products: dimensions + order 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 { + "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": "Canon PC1080F Personal Copier", + "Products.subCategory": "Copiers", + }, + Object { + "Products.category": "Technology", + "Products.productName": "Hewlett Packard 610 Color Digital Copier / Printer", + "Products.subCategory": "Copiers", + }, + Object { + "Products.category": "Technology", + "Products.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", + "Products.subCategory": "Machines", + }, + Object { + "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/crate-driver querying SwitchSourceTest: filter by switch dimensions 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, +] +`; + +exports[`Queries with the @cubejs-backend/crate-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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, + 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", + }, +] +`; + +exports[`Queries with the @cubejs-backend/crate-driver querying custom granularities (with preaggregation) ECommerce: totalQuantity by half_year + no dimension 1`] = ` +Array [ + Object { + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2020-01-01T00:00:00.000", + "ECommerce.totalQuantity": "6", + }, + Object { + "ECommerce.orderDate": "2020-07-01T00:00:00.000", + "ECommerce.orderDate.half_year": "2020-07-01T00:00:00.000", + "ECommerce.totalQuantity": "51", + }, + Object { + "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/crate-driver querying custom granularities ECommerce: count by half_year + dimension 1`] = ` +Array [ + Object { + "ECommerce.city": "Lorain", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2019-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2019-07-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Auburn", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Baltimore", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Columbus", + "ECommerce.count": "3", + "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Decatur", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Detroit", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Houston", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Los Angeles", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Louisville", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", + }, + Object { + "ECommerce.city": "New York City", + "ECommerce.count": "4", + "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Olympia", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Omaha", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Philadelphia", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Arlington", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Bakersfield", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Bowling", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Columbus", + "ECommerce.count": "9", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Dallas", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Detroit", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Glendale", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Lafayette", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Lakewood", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Marion", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Morristown", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + }, + Object { + "ECommerce.city": "New York City", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Oakland", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Philadelphia", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Provo", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + }, + Object { + "ECommerce.city": "San Francisco", + "ECommerce.count": "2", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Vancouver", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + }, +] +`; + +exports[`Queries with the @cubejs-backend/crate-driver querying custom granularities ECommerce: count by half_year + no dimension 1`] = ` +Array [ + Object { + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2019-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2019-07-01T00:00:00.000", + }, + Object { + "ECommerce.count": "17", + "ECommerce.customOrderDateNoPreAgg": "2020-01-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-01-01T00:00:00.000", + }, + Object { + "ECommerce.count": "26", + "ECommerce.customOrderDateNoPreAgg": "2020-07-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year": "2020-07-01T00:00:00.000", + }, +] +`; + +exports[`Queries with the @cubejs-backend/crate-driver querying custom granularities ECommerce: count by half_year_by_1st_april + dimension 1`] = ` +Array [ + Object { + "ECommerce.city": "Decatur", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2019-10-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2019-10-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Detroit", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2019-10-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2019-10-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Houston", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2019-10-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2019-10-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Lorain", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2019-10-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2019-10-01T00:00:00.000", + }, + Object { + "ECommerce.city": "New York City", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2019-10-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2019-10-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Philadelphia", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2019-10-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2019-10-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Arlington", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-04-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Auburn", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-04-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Bakersfield", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-04-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Baltimore", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-04-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Columbus", + "ECommerce.count": "4", + "ECommerce.customOrderDateNoPreAgg": "2020-04-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Detroit", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-04-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Lakewood", + "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 { + "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 { + "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 { + "ECommerce.city": "Morristown", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-04-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-01T00:00:00.000", + }, + Object { + "ECommerce.city": "New York City", + "ECommerce.count": "3", + "ECommerce.customOrderDateNoPreAgg": "2020-04-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Olympia", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-04-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Omaha", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-04-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Provo", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-04-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Bowling", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-10-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Columbus", + "ECommerce.count": "8", + "ECommerce.customOrderDateNoPreAgg": "2020-10-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Dallas", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-10-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Glendale", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-10-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Lafayette", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-10-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Marion", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-10-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-01T00:00:00.000", + }, + Object { + "ECommerce.city": "New York City", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-10-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Oakland", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-10-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Philadelphia", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-10-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-01T00:00:00.000", + }, + Object { + "ECommerce.city": "San Francisco", + "ECommerce.count": "2", + "ECommerce.customOrderDateNoPreAgg": "2020-10-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-01T00:00:00.000", + }, + Object { + "ECommerce.city": "Vancouver", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-10-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-10-01T00:00:00.000", + }, +] +`; + +exports[`Queries with the @cubejs-backend/crate-driver querying custom granularities ECommerce: count by half_year_by_1st_april + no dimension 1`] = ` +Array [ + Object { + "ECommerce.count": "6", + "ECommerce.customOrderDateNoPreAgg": "2019-10-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2019-10-01T00:00:00.000", + }, + Object { + "ECommerce.count": "19", + "ECommerce.customOrderDateNoPreAgg": "2020-04-01T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.half_year_by_1st_april": "2020-04-01T00:00:00.000", + }, + Object { + "ECommerce.count": "19", + "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/crate-driver querying custom granularities ECommerce: count by three_months_by_march + dimension 1`] = ` +Array [ + Object { + "ECommerce.city": "Decatur", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2019-12-11T21:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2019-12-11T21:00:00.000", + }, + Object { + "ECommerce.city": "Detroit", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2019-12-11T21:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2019-12-11T21:00:00.000", + }, + Object { + "ECommerce.city": "Lorain", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2019-12-11T21:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2019-12-11T21:00:00.000", + }, + Object { + "ECommerce.city": "Auburn", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-03-15T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-03-15T00:00:00.000", + }, + Object { + "ECommerce.city": "Baltimore", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-03-15T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-03-15T00:00:00.000", + }, + Object { + "ECommerce.city": "Columbus", + "ECommerce.count": "2", + "ECommerce.customOrderDateNoPreAgg": "2020-03-15T00:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-03-15T00:00:00.000", + }, + 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 { + "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 { + "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 { + "ECommerce.city": "Arlington", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-06-18T03:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-06-18T03:00:00.000", + }, + Object { + "ECommerce.city": "Bakersfield", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-06-18T03:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-06-18T03:00:00.000", + }, + Object { + "ECommerce.city": "Columbus", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-06-18T03:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-06-18T03:00:00.000", + }, + Object { + "ECommerce.city": "Detroit", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-06-18T03:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-06-18T03:00:00.000", + }, + Object { + "ECommerce.city": "Morristown", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-06-18T03:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-06-18T03:00:00.000", + }, + Object { + "ECommerce.city": "New York City", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-06-18T03:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-06-18T03:00:00.000", + }, + Object { + "ECommerce.city": "Olympia", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-06-18T03:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-06-18T03:00:00.000", + }, + Object { + "ECommerce.city": "Provo", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-06-18T03:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-06-18T03:00:00.000", + }, + Object { + "ECommerce.city": "Bowling", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-09-21T06:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-21T06:00:00.000", + }, + Object { + "ECommerce.city": "Columbus", + "ECommerce.count": "8", + "ECommerce.customOrderDateNoPreAgg": "2020-09-21T06:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-21T06:00:00.000", + }, + Object { + "ECommerce.city": "Dallas", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-09-21T06:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-21T06:00:00.000", + }, + Object { + "ECommerce.city": "Glendale", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-09-21T06:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-21T06:00:00.000", + }, + Object { + "ECommerce.city": "Lakewood", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-09-21T06:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-21T06:00:00.000", + }, + Object { + "ECommerce.city": "Marion", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-09-21T06:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-21T06:00:00.000", + }, + Object { + "ECommerce.city": "New York City", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-09-21T06:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-21T06:00:00.000", + }, + Object { + "ECommerce.city": "Oakland", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-09-21T06:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-21T06:00:00.000", + }, + Object { + "ECommerce.city": "Philadelphia", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-09-21T06:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-21T06:00:00.000", + }, + Object { + "ECommerce.city": "San Francisco", + "ECommerce.count": "2", + "ECommerce.customOrderDateNoPreAgg": "2020-09-21T06:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-21T06:00:00.000", + }, + Object { + "ECommerce.city": "Vancouver", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-09-21T06:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-21T06:00:00.000", + }, + Object { + "ECommerce.city": "Columbus", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-12-24T09:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-12-24T09:00:00.000", + }, + Object { + "ECommerce.city": "Lafayette", + "ECommerce.count": "1", + "ECommerce.customOrderDateNoPreAgg": "2020-12-24T09:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-12-24T09:00:00.000", + }, +] +`; + +exports[`Queries with the @cubejs-backend/crate-driver querying custom granularities ECommerce: count by three_months_by_march + no dimension 1`] = ` +Array [ + Object { + "ECommerce.count": "3", + "ECommerce.customOrderDateNoPreAgg": "2019-12-11T21:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2019-12-11T21:00:00.000", + }, + Object { + "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.count": "8", + "ECommerce.customOrderDateNoPreAgg": "2020-06-18T03:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-06-18T03:00:00.000", + }, + Object { + "ECommerce.count": "19", + "ECommerce.customOrderDateNoPreAgg": "2020-09-21T06:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-09-21T06:00:00.000", + }, + Object { + "ECommerce.count": "2", + "ECommerce.customOrderDateNoPreAgg": "2020-12-24T09:00:00.000", + "ECommerce.customOrderDateNoPreAgg.three_months_by_march": "2020-12-24T09:00:00.000", + }, +] +`; + +exports[`Queries with the @cubejs-backend/crate-driver querying custom granularities ECommerce: count by two_mo_by_feb + no dimension + rollingCountByLeading 1`] = ` +Array [ + Object { + "ECommerce.customOrderDateNoPreAgg": "2019-12-01T10:00:00.000", + "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2019-12-01T10:00:00.000", + "ECommerce.rollingCountByLeading": "8", + }, + Object { + "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.customOrderDateNoPreAgg": "2020-04-01T10:00:00.000", + "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-04-01T10:00:00.000", + "ECommerce.rollingCountByLeading": "6", + }, + Object { + "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.customOrderDateNoPreAgg": "2020-08-01T10:00:00.000", + "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-08-01T10:00:00.000", + "ECommerce.rollingCountByLeading": "16", + }, + Object { + "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.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/crate-driver querying custom granularities ECommerce: count by two_mo_by_feb + no dimension + rollingCountByTrailing 1`] = ` +Array [ + Object { + "ECommerce.customOrderDateNoPreAgg": "2019-12-01T10:00:00.000", + "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2019-12-01T10:00:00.000", + "ECommerce.rollingCountByTrailing": "3", + }, + Object { + "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.customOrderDateNoPreAgg": "2020-04-01T10:00:00.000", + "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-04-01T10:00:00.000", + "ECommerce.rollingCountByTrailing": "12", + }, + Object { + "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.customOrderDateNoPreAgg": "2020-08-01T10:00:00.000", + "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2020-08-01T10:00:00.000", + "ECommerce.rollingCountByTrailing": "10", + }, + Object { + "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.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/crate-driver querying custom granularities ECommerce: count by two_mo_by_feb + no dimension + rollingCountByUnbounded 1`] = ` +Array [ + Object { + "ECommerce.customOrderDateNoPreAgg": "2019-12-01T10:00:00.000", + "ECommerce.customOrderDateNoPreAgg.two_mo_by_feb": "2019-12-01T10:00:00.000", + "ECommerce.rollingCountByUnbounded": "3", + }, + Object { + "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.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", + }, +] +`; diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/questdb-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/questdb-full.test.ts.snap index aabc70acff8a7..b14a86788227b 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/questdb-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/questdb-full.test.ts.snap @@ -3698,25 +3698,25 @@ Array [ Object { "BigECommerce.category": "Technology", "BigECommerce.productName": "Canon PC1080F Personal Copier", - "BigECommerce.profitInCategory": "2398.8442999999997", + "BigECommerce.profitInCategory": "2398.8443", "BigECommerce.totalProfit": "1037.9827", }, Object { "BigECommerce.category": "Technology", "BigECommerce.productName": "Logitech di_Novo Edge Keyboard", - "BigECommerce.profitInCategory": "2398.8442999999997", + "BigECommerce.profitInCategory": "2398.8443", "BigECommerce.totalProfit": "517.4793", }, Object { "BigECommerce.category": "Technology", "BigECommerce.productName": "Google Nexus 5", - "BigECommerce.profitInCategory": "2398.8442999999997", + "BigECommerce.profitInCategory": "2398.8443", "BigECommerce.totalProfit": "494.9725", }, Object { "BigECommerce.category": "Technology", "BigECommerce.productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", - "BigECommerce.profitInCategory": "2398.8442999999997", + "BigECommerce.profitInCategory": "2398.8443", "BigECommerce.totalProfit": "218.4", }, Object { @@ -3734,13 +3734,13 @@ Array [ Object { "BigECommerce.category": "Technology", "BigECommerce.productName": "Google Nexus 6", - "BigECommerce.profitInCategory": "2398.8442999999997", + "BigECommerce.profitInCategory": "2398.8443", "BigECommerce.totalProfit": "134.9925", }, Object { "BigECommerce.category": "Technology", "BigECommerce.productName": "Google Nexus 7", - "BigECommerce.profitInCategory": "2398.8442999999997", + "BigECommerce.profitInCategory": "2398.8443", "BigECommerce.totalProfit": "134.9925", }, Object { @@ -3752,7 +3752,7 @@ Array [ Object { "BigECommerce.category": "Technology", "BigECommerce.productName": "Hewlett Packard 610 Color Digital Copier / Printer", - "BigECommerce.profitInCategory": "2398.8442999999997", + "BigECommerce.profitInCategory": "2398.8443", "BigECommerce.totalProfit": "74.9985", }, Object { @@ -3776,7 +3776,7 @@ Array [ Object { "BigECommerce.category": "Technology", "BigECommerce.productName": "HTC One", - "BigECommerce.profitInCategory": "2398.8442999999997", + "BigECommerce.profitInCategory": "2398.8443", "BigECommerce.totalProfit": "26.9973", }, Object { @@ -3788,19 +3788,19 @@ Array [ Object { "BigECommerce.category": "Technology", "BigECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.2", - "BigECommerce.profitInCategory": "2398.8442999999997", + "BigECommerce.profitInCategory": "2398.8443", "BigECommerce.totalProfit": "13.604", }, Object { "BigECommerce.category": "Technology", "BigECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.0", - "BigECommerce.profitInCategory": "2398.8442999999997", + "BigECommerce.profitInCategory": "2398.8443", "BigECommerce.totalProfit": "8.5025", }, Object { "BigECommerce.category": "Technology", "BigECommerce.productName": "Kingston Digital DataTraveler 16GB USB 2.1", - "BigECommerce.profitInCategory": "2398.8442999999997", + "BigECommerce.profitInCategory": "2398.8443", "BigECommerce.totalProfit": "8.5025", }, Object { @@ -3860,7 +3860,7 @@ Array [ Object { "BigECommerce.category": "Technology", "BigECommerce.productName": "Okidata C610n Printer", - "BigECommerce.profitInCategory": "2398.8442999999997", + "BigECommerce.profitInCategory": "2398.8443", "BigECommerce.totalProfit": "-272.58", }, ] diff --git a/packages/cubejs-testing-drivers/test/crate-core.test.ts b/packages/cubejs-testing-drivers/test/crate-core.test.ts new file mode 100644 index 0000000000000..2d7f138c49c9d --- /dev/null +++ b/packages/cubejs-testing-drivers/test/crate-core.test.ts @@ -0,0 +1,3 @@ +import { testSequence } from '../src/tests/testSequence'; + +testSequence('crate'); diff --git a/packages/cubejs-testing-drivers/test/crate-driver.test.ts b/packages/cubejs-testing-drivers/test/crate-driver.test.ts new file mode 100644 index 0000000000000..79b367196e54a --- /dev/null +++ b/packages/cubejs-testing-drivers/test/crate-driver.test.ts @@ -0,0 +1,3 @@ +import { testConnection } from '../src/tests/testConnection'; + +testConnection('crate'); diff --git a/packages/cubejs-testing-drivers/test/crate-full.test.ts b/packages/cubejs-testing-drivers/test/crate-full.test.ts new file mode 100644 index 0000000000000..e26b2d6d503be --- /dev/null +++ b/packages/cubejs-testing-drivers/test/crate-full.test.ts @@ -0,0 +1,7 @@ +import { testQueries } from '../src/tests/testQueries'; + +// CrateDB reuses the Postgres dialect (CrateQuery extends PostgresQuery) but does +// not implement HLL (hllInit/hllMerge are stubbed), so the HLL suite is disabled. +testQueries('crate', { + includeIncrementalSchemaSuite: true, +}); diff --git a/packages/cubejs-testing-shared/CHANGELOG.md b/packages/cubejs-testing-shared/CHANGELOG.md index b9a28c4e8279d..0877e37259bda 100644 --- a/packages/cubejs-testing-shared/CHANGELOG.md +++ b/packages/cubejs-testing-shared/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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +### Features + +- **questdb-driver:** Initial support for Tesseract, add integration tests ([#11259](https://github.com/cube-js/cube/issues/11259)) ([e6cd6e1](https://github.com/cube-js/cube/commit/e6cd6e12a05b256509fc94639e6bc3b2c7a1bb65)) + ## [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 diff --git a/packages/cubejs-testing-shared/package.json b/packages/cubejs-testing-shared/package.json index 7fc7ade1e3ad9..4cc1494803396 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.2", + "version": "1.7.3", "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.2", - "@cubejs-backend/schema-compiler": "1.7.2", - "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/query-orchestrator": "1.7.3", + "@cubejs-backend/schema-compiler": "1.7.3", + "@cubejs-backend/shared": "1.7.3", "@testcontainers/kafka": "~10.28.0", "dedent": "^0.7.0", "node-fetch": "^2.6.7", "testcontainers": "^10.28.0" }, "devDependencies": { - "@cubejs-backend/linter": "1.7.2", + "@cubejs-backend/linter": "1.7.3", "@jest/globals": "^29", "@types/dedent": "^0.7.0", "@types/jest": "^29", diff --git a/packages/cubejs-testing-shared/src/db-container-runners/crate.ts b/packages/cubejs-testing-shared/src/db-container-runners/crate.ts index ca67aa57e4af9..7b8459059f8bb 100644 --- a/packages/cubejs-testing-shared/src/db-container-runners/crate.ts +++ b/packages/cubejs-testing-shared/src/db-container-runners/crate.ts @@ -2,21 +2,17 @@ import { GenericContainer, Wait } from 'testcontainers'; import { DbRunnerAbstract, DBRunnerContainerOptions } from './db-runner.abstract'; -const DEFAULT_VERSION = '5.10.16'; +const DEFAULT_VERSION = '6.3.5'; export class CrateDBRunner extends DbRunnerAbstract { public static startContainer(options: DBRunnerContainerOptions) { const version = process.env.TEST_CRATE_DB_VERSION || DEFAULT_VERSION; - const container = new GenericContainer(`crate/crate:${version}`) + const container = new GenericContainer(`crate:${version}`) .withExposedPorts(5432) .withWaitStrategy(Wait.forLogMessage('started')) .withStartupTimeout(30 * 1000); - if (process.platform === 'darwin' && process.arch === 'arm64' && version === DEFAULT_VERSION) { - container.withPlatform('linux/amd64'); - } - if (options.volumes) { const binds = options.volumes.map(v => ({ source: v.source, target: v.target, mode: v.bindMode })); container.withBindMounts(binds); diff --git a/packages/cubejs-testing/CHANGELOG.md b/packages/cubejs-testing/CHANGELOG.md index 48843c7e1e5be..9278f1be25137 100644 --- a/packages/cubejs-testing/CHANGELOG.md +++ b/packages/cubejs-testing/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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +### Bug Fixes + +- **duckdb-driver:** Invalid SQL for custom granularities ([#11272](https://github.com/cube-js/cube/issues/11272)) ([7850aab](https://github.com/cube-js/cube/commit/7850aab6b291e486c5d1a9597da40d2ae021a755)) + +### Features + +- **questdb-driver:** Initial support for Tesseract, add integration tests ([#11259](https://github.com/cube-js/cube/issues/11259)) ([e6cd6e1](https://github.com/cube-js/cube/commit/e6cd6e12a05b256509fc94639e6bc3b2c7a1bb65)) + ## [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 diff --git a/packages/cubejs-testing/birdbox-fixtures/duckdb/schema/Orders.js b/packages/cubejs-testing/birdbox-fixtures/duckdb/schema/Orders.js index 85d185a069e4a..39afdda86563e 100644 --- a/packages/cubejs-testing/birdbox-fixtures/duckdb/schema/Orders.js +++ b/packages/cubejs-testing/birdbox-fixtures/duckdb/schema/Orders.js @@ -60,6 +60,12 @@ cube(`Orders`, { createdAt: { sql: `created_at`, type: `time`, + granularities: { + twoDayByOrigin: { + interval: `2 day`, + origin: `2020-01-01`, + }, + }, }, }, }); diff --git a/packages/cubejs-testing/package.json b/packages/cubejs-testing/package.json index df9588f99861d..ef0a11a257fae 100644 --- a/packages/cubejs-testing/package.json +++ b/packages/cubejs-testing/package.json @@ -1,6 +1,6 @@ { "name": "@cubejs-backend/testing", - "version": "1.7.2", + "version": "1.7.3", "description": "Cube.js e2e tests", "author": "Cube Dev, Inc.", "repository": { @@ -100,15 +100,15 @@ "birdbox-fixtures" ], "dependencies": { - "@cubejs-backend/cubestore-driver": "1.7.2", + "@cubejs-backend/cubestore-driver": "1.7.3", "@cubejs-backend/dotenv": "^9.0.2", - "@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", + "@cubejs-backend/ksql-driver": "1.7.3", + "@cubejs-backend/postgres-driver": "1.7.3", + "@cubejs-backend/query-orchestrator": "1.7.3", + "@cubejs-backend/schema-compiler": "1.7.3", + "@cubejs-backend/shared": "1.7.3", + "@cubejs-backend/testing-shared": "1.7.3", + "@cubejs-client/ws-transport": "1.7.3", "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.2", - "@cubejs-client/core": "1.7.2", + "@cubejs-backend/linter": "1.7.3", + "@cubejs-client/core": "1.7.3", "@jest/globals": "^29", "@types/dedent": "^0.7.0", "@types/http-proxy": "^1.17.5", diff --git a/packages/cubejs-testing/test/smoke-duckdb.test.ts b/packages/cubejs-testing/test/smoke-duckdb.test.ts index 55c7266ec6a4d..8247b8eff3d08 100644 --- a/packages/cubejs-testing/test/smoke-duckdb.test.ts +++ b/packages/cubejs-testing/test/smoke-duckdb.test.ts @@ -51,11 +51,11 @@ describe('duckdb', () => { } ] }); - + // The HAVING clause applies after counting all records expect(response.rawData()[0]['Orders.count']).toBe('5'); }); - + test('numeric dimension filter - uses CAST', async () => { // This test verifies that the WHERE clause for numeric dimensions uses CAST(? AS DOUBLE) const response = await client.load({ @@ -70,11 +70,11 @@ describe('duckdb', () => { } ] }); - + // Only 3 orders have amount >= 300 expect(response.rawData()[0]['Orders.count']).toBe('3'); }); - + test('string filter - does NOT use CAST', async () => { // This test verifies that the WHERE clause for string dimensions does not use CAST const response = await client.load({ @@ -89,11 +89,11 @@ describe('duckdb', () => { } ] }); - + // There are 2 'processed' orders expect(response.rawData()[0]['Orders.count']).toBe('2'); }); - + test('numeric exact equality filter - also uses CAST', async () => { // This test verifies that even for equality comparisons on numeric values, CAST is used const response = await client.load({ @@ -108,11 +108,11 @@ describe('duckdb', () => { } ] }); - + // Only 1 order has amount exactly 300 expect(response.rawData()[0]['Orders.count']).toBe('1'); }); - + test('numeric string comparison - values are properly handled with CAST', async () => { // This test verifies that numeric strings are properly cast as numbers // This is important because '100' and 100 are different in string comparisons @@ -129,11 +129,11 @@ describe('duckdb', () => { } ] }); - + // Only 1 order has amount 100 expect(response.rawData()[0]['Orders.count']).toBe('1'); }); - + test('multiple string values in filter - none use CAST', async () => { // This test verifies that IN (...) clauses for string dimensions don't use CAST const response = await client.load({ @@ -148,11 +148,11 @@ describe('duckdb', () => { } ] }); - + // There are 4 orders with status 'new' or 'processed' expect(response.rawData()[0]['Orders.count']).toBe('4'); }); - + test('string measure filter - should NOT use CAST', async () => { // This test verifies that filters on string measures don't use CAST const response = await client.load({ @@ -167,11 +167,11 @@ describe('duckdb', () => { } ] }); - + // Output should match the shipped orders expect(response.rawData()[0]['Orders.count']).toBe('5'); }); - + test('boolean measure filter - should NOT use CAST', async () => { // This test verifies that filters on boolean measures don't use CAST const response = await client.load({ @@ -186,11 +186,11 @@ describe('duckdb', () => { } ] }); - + // Output should match all orders since there are unpaid orders expect(response.rawData()[0]['Orders.count']).toBe('5'); }); - + test('time measure filter - afterDate operator', async () => { // This test verifies that filters on time measures don't use CAST const response = await client.load({ @@ -205,11 +205,11 @@ describe('duckdb', () => { } ] }); - + // Orders after 2020-01-03 expect(response.rawData()[0]['Orders.count']).toBe('5'); }); - + test('time measure filter - beforeDate operator', async () => { // This test verifies that beforeDate operator works correctly with time measures const response = await client.load({ @@ -350,11 +350,11 @@ describe('duckdb', () => { } ] }); - + // There are 2 unpaid orders expect(response.rawData()[0]['Orders.count']).toBe('2'); }); - + test('time dimension filter - should NOT use CAST', async () => { // This test verifies that filters on time types don't use CAST const response = await client.load({ @@ -369,11 +369,11 @@ describe('duckdb', () => { } ] }); - + // There are 2 orders after 2020-01-03 expect(response.rawData()[0]['Orders.count']).toBe('2'); }); - + test('time dimension filter - beforeDate operator', async () => { // This test verifies that the beforeDate operator works correctly const response = await client.load({ @@ -388,11 +388,11 @@ describe('duckdb', () => { } ] }); - + // There are 2 orders before 2020-01-03 expect(response.rawData()[0]['Orders.count']).toBe('2'); }); - + test('time dimension filter - beforeOrOnDate operator', async () => { // This test verifies that the beforeOrOnDate operator works correctly const response = await client.load({ @@ -407,11 +407,11 @@ describe('duckdb', () => { } ] }); - + // There are 3 orders before or on 2020-01-03 expect(response.rawData()[0]['Orders.count']).toBe('3'); }); - + test('time dimension filter - afterOrOnDate operator', async () => { // This test verifies that the afterOrOnDate operator works correctly const response = await client.load({ @@ -426,11 +426,11 @@ describe('duckdb', () => { } ] }); - + // There are 3 orders after or on 2020-01-03 expect(response.rawData()[0]['Orders.count']).toBe('3'); }); - + test('time dimension filter - inDateRange operator', async () => { // This test verifies that the inDateRange operator works correctly const response = await client.load({ @@ -445,11 +445,11 @@ describe('duckdb', () => { } ] }); - + // There are 3 orders between 2020-01-02 and 2020-01-04 (inclusive) expect(response.rawData()[0]['Orders.count']).toBe('3'); }); - + test('time dimension filter - notInDateRange operator', async () => { // This test verifies that the notInDateRange operator works correctly const response = await client.load({ @@ -464,11 +464,11 @@ describe('duckdb', () => { } ] }); - + // There are 2 orders outside the range 2020-01-02 to 2020-01-04 expect(response.rawData()[0]['Orders.count']).toBe('2'); }); - + test('time dimension filter - set operator', async () => { // This test verifies that the set operator works correctly const response = await client.load({ @@ -482,11 +482,11 @@ describe('duckdb', () => { } ] }); - + // All 5 orders have createdAt set expect(response.rawData()[0]['Orders.count']).toBe('5'); }); - + test('time measure filter - set operator', async () => { // This test verifies that the set operator works correctly with measures const response = await client.load({ @@ -500,11 +500,11 @@ describe('duckdb', () => { } ] }); - + // All 5 orders have maxCreatedAt set expect(response.rawData()[0]['Orders.count']).toBe('5'); }); - + // We can't effectively test notSet with the current schema since all records have dates // This test is more for API completeness test('time dimension filter - notSet operator', async () => { @@ -520,7 +520,7 @@ describe('duckdb', () => { } ] }); - + // No orders have createdAt as null expect(response.rawData()[0]['Orders.count']).toBe('0'); }); @@ -539,7 +539,7 @@ describe('duckdb', () => { } ] }); - + // There is 1 order on exactly 2020-01-03 expect(response.rawData()[0]['Orders.count']).toBe('1'); }); @@ -558,8 +558,37 @@ describe('duckdb', () => { } ] }); - + // There are 4 orders not on 2020-01-03 expect(response.rawData()[0]['Orders.count']).toBe('4'); }); + + test('custom time granularity with origin', async () => { + const response = await client.load({ + measures: [ + 'Orders.count' + ], + timeDimensions: [ + { + dimension: 'Orders.createdAt', + granularity: 'twoDayByOrigin', + } + ], + order: { + 'Orders.createdAt': 'asc' + } + }); + + // 2-day buckets aligned to origin 2020-01-01 over rows dated 2020-01-01..05: + // [01-01, 01-02] -> 2, [01-03, 01-04] -> 2, [01-05] -> 1 + const buckets = response.rawData().map((r) => ({ + bucket: r['Orders.createdAt.twoDayByOrigin'], + count: r['Orders.count'], + })); + expect(buckets).toEqual([ + { bucket: '2020-01-01T00:00:00.000', count: '2' }, + { bucket: '2020-01-03T00:00:00.000', count: '2' }, + { bucket: '2020-01-05T00:00:00.000', count: '1' }, + ]); + }); }); diff --git a/packages/cubejs-trino-driver/CHANGELOG.md b/packages/cubejs-trino-driver/CHANGELOG.md index 6712c345306f2..d17d97a7bbbc2 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/trino-driver + ## [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 diff --git a/packages/cubejs-trino-driver/package.json b/packages/cubejs-trino-driver/package.json index 452c587c476b2..ba65275adcdf5 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.2", + "version": "1.7.3", "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.2", - "@cubejs-backend/prestodb-driver": "1.7.2", - "@cubejs-backend/schema-compiler": "1.7.2", - "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/base-driver": "1.7.3", + "@cubejs-backend/prestodb-driver": "1.7.3", + "@cubejs-backend/schema-compiler": "1.7.3", + "@cubejs-backend/shared": "1.7.3", "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.2", + "@cubejs-backend/linter": "1.7.3", "@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 7d844cc1168f8..0a37c6805a824 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/vertica-driver + ## [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 diff --git a/packages/cubejs-vertica-driver/package.json b/packages/cubejs-vertica-driver/package.json index 224adaa0fd9f8..2d8f0161329df 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.2", + "version": "1.7.3", "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.2", - "@cubejs-backend/query-orchestrator": "1.7.2", - "@cubejs-backend/schema-compiler": "1.7.2", - "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/base-driver": "1.7.3", + "@cubejs-backend/query-orchestrator": "1.7.3", + "@cubejs-backend/schema-compiler": "1.7.3", + "@cubejs-backend/shared": "1.7.3", "vertica-nodejs": "^1.0.3" }, "license": "Apache-2.0", "devDependencies": { - "@cubejs-backend/linter": "1.7.2", - "@cubejs-backend/testing-shared": "1.7.2", + "@cubejs-backend/linter": "1.7.3", + "@cubejs-backend/testing-shared": "1.7.3", "@types/jest": "^29", "jest": "^29", "testcontainers": "^10.28.0" diff --git a/rust/cubesql/CHANGELOG.md b/rust/cubesql/CHANGELOG.md index c3540b152deaf..0c4440ce4270b 100644 --- a/rust/cubesql/CHANGELOG.md +++ b/rust/cubesql/CHANGELOG.md @@ -3,6 +3,15 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.7.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +### Bug Fixes + +- **cubesql:** Normalize date-only string literals in timestamp comparisons ([#11251](https://github.com/cube-js/cube/issues/11251)) ([ec12ff0](https://github.com/cube-js/cube/commit/ec12ff00ffca0084eb8658fad97f42680aa0c0d7)) +- **cubesql:** Reference window expressions by generated alias in `ORDER BY` ([#11250](https://github.com/cube-js/cube/issues/11250)) ([8068893](https://github.com/cube-js/cube/commit/8068893a2d83d62038436884d67ba700a7d515b7)) +- **cubesql:** Reject `ORDER BY` over ungrouped columns with a clear error ([#11249](https://github.com/cube-js/cube/issues/11249)) ([ff5eac9](https://github.com/cube-js/cube/commit/ff5eac95c5dcf7a7fb14d978ae2fd597ffd6bf5e)) +- **cubesql:** Support `HAVING` on a measure combined with `ORDER BY` on the same measure ([#11254](https://github.com/cube-js/cube/issues/11254)) ([23b199e](https://github.com/cube-js/cube/commit/23b199e03be75596e150eec551fef68aaedc8251)) + ## [1.7.2](https://github.com/cube-js/cube/compare/v1.7.1...v1.7.2) (2026-07-13) ### Bug Fixes diff --git a/rust/cubesql/package.json b/rust/cubesql/package.json index 25c855ce18459..cdd3db9ad9a9b 100644 --- a/rust/cubesql/package.json +++ b/rust/cubesql/package.json @@ -1,6 +1,6 @@ { "name": "@cubejs-backend/cubesql", - "version": "1.7.2", + "version": "1.7.3", "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 9c2bb55064583..439375b8b4a83 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.3](https://github.com/cube-js/cube/compare/v1.7.2...v1.7.3) (2026-07-16) + +**Note:** Version bump only for package @cubejs-backend/cubestore + ## [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 diff --git a/rust/cubestore/Cargo.lock b/rust/cubestore/Cargo.lock index 65a540667da7c..247489fed00ef 100644 --- a/rust/cubestore/Cargo.lock +++ b/rust/cubestore/Cargo.lock @@ -1558,7 +1558,7 @@ dependencies = [ [[package]] name = "cubestore" -version = "1.7.2" +version = "1.7.3" dependencies = [ "actix-rt", "anyhow", diff --git a/rust/cubestore/cubestore/Cargo.toml b/rust/cubestore/cubestore/Cargo.toml index 46619673e91fc..40b5952f36d3a 100644 --- a/rust/cubestore/cubestore/Cargo.toml +++ b/rust/cubestore/cubestore/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cubestore" -version = "1.7.2" +version = "1.7.3" authors = ["Cube Dev, Inc."] edition = "2021" license = "Apache-2.0" diff --git a/rust/cubestore/package.json b/rust/cubestore/package.json index 180806c2b7e64..f37c030582b5b 100644 --- a/rust/cubestore/package.json +++ b/rust/cubestore/package.json @@ -1,6 +1,6 @@ { "name": "@cubejs-backend/cubestore", - "version": "1.7.2", + "version": "1.7.3", "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.2", + "@cubejs-backend/linter": "1.7.3", "@types/jest": "^29", "@types/node": "^18", "jest": "^29", @@ -43,7 +43,7 @@ "access": "public" }, "dependencies": { - "@cubejs-backend/shared": "1.7.2", + "@cubejs-backend/shared": "1.7.3", "@octokit/core": "^3.2.5", "source-map-support": "^0.5.19" },