diff --git a/.dockerignore b/.dockerignore index 9d0a5a5390c1d..bfc7f4fbc857e 100644 --- a/.dockerignore +++ b/.dockerignore @@ -11,11 +11,13 @@ !rust/cubestore/bin !rust/cubesql/package.json +# Ignoring builds for native from local machime to protect a problem with different architecture +packages/cubejs-backend-native/index.node +packages/cubejs-backend-native/native/ +# Caches packages/cubejs-backend-native/target packages/*/node_modules/ packages/*/dist/ packages/*/coverage/ +# Other packages/cubejs-server-core/playground/ -packages/cubejs-serverless -packages/cubejs-serverless-aws -packages/cubejs-serverless-google \ No newline at end of file diff --git a/.github/workflows/cloud.yml b/.github/workflows/cloud.yml index a4ac29ae1a4e8..81ea469639f83 100644 --- a/.github/workflows/cloud.yml +++ b/.github/workflows/cloud.yml @@ -57,7 +57,7 @@ jobs: strategy: matrix: - node-version: [ 18.x ] + node-version: [ 20.x ] db: [ 'athena', 'bigquery', 'snowflake' ] fail-fast: false @@ -80,7 +80,7 @@ jobs: restore-keys: | ${{ runner.os }}-yarn- - name: Set Yarn version - run: yarn policies set-version v1.22.19 + run: yarn policies set-version v1.22.22 - name: Yarn install run: CUBESTORE_SKIP_POST_INSTALL=true yarn install --frozen-lockfile - name: Build client diff --git a/.github/workflows/drivers-tests.yml b/.github/workflows/drivers-tests.yml index 12e337c49c0e8..5fde70307a4dd 100644 --- a/.github/workflows/drivers-tests.yml +++ b/.github/workflows/drivers-tests.yml @@ -84,7 +84,7 @@ jobs: name: Build native Linux ${{ matrix.node-version }} ${{ matrix.target }} Python ${{ matrix.python-version }} strategy: matrix: - node-version: [ 18 ] + node-version: [ 20 ] python-version: [ "fallback" ] target: [ "x86_64-unknown-linux-gnu" ] fail-fast: false @@ -109,7 +109,7 @@ jobs: - name: Install Yarn run: npm install -g yarn - name: Set Yarn version - run: yarn policies set-version v1.22.19 + run: yarn policies set-version v1.22.22 - name: Install cargo-cp-artifact run: npm install -g cargo-cp-artifact@0.1 - uses: Swatinem/rust-cache@v2 @@ -177,7 +177,7 @@ jobs: strategy: matrix: node: - - 18.x + - 20.x database: - athena - bigquery @@ -194,13 +194,13 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Install Node.js 18.x + - name: Install Node.js 20.x uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x - name: Configure `yarn` - run: yarn policies set-version v1.22.19 + run: yarn policies set-version v1.22.22 - name: Get yarn cache directory path id: yarn-cache-dir-path diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 279415a0536c3..35c998c1103fe 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -64,14 +64,14 @@ jobs: workspaces: ./rust/cubesql -> target key: cubesql-x86_64-unknown-linux-gnu shared-key: cubesql-x86_64-unknown-linux-gnu - - name: Install Node.js 18 + - name: Install Node.js 20 uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 - name: Install Yarn run: npm install -g yarn - name: Set Yarn version - run: yarn policies set-version v1.22.19 + run: yarn policies set-version v1.22.22 # We don't need to install all yarn deps to build native - name: Install cargo-cp-artifact run: npm install -g cargo-cp-artifact@0.1 diff --git a/.github/workflows/post-release.yml b/.github/workflows/post-release.yml index 45ea463525a13..23b86be68d737 100644 --- a/.github/workflows/post-release.yml +++ b/.github/workflows/post-release.yml @@ -25,7 +25,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [18.x] + node-version: [20.x] steps: - name: Checkout uses: actions/checkout@v4 @@ -42,11 +42,11 @@ jobs: node_modules rust/cubestore/node_modules packages/*/node_modules - key: ${{ runner.os }}-workspace-main-18.x-${{ hashFiles('**/yarn.lock') }} + key: ${{ runner.os }}-workspace-main-20.x-${{ hashFiles('**/yarn.lock') }} restore-keys: | - ${{ runner.os }}-workspace-main-18.x- + ${{ runner.os }}-workspace-main-20.x- - name: Set Yarn version - run: yarn policies set-version v1.22.19 + run: yarn policies set-version v1.22.22 - name: Yarn install uses: nick-fields/retry@v3 env: @@ -91,10 +91,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Install Node.js 18.x + - name: Install Node.js 20.x uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x - name: Restore lerna uses: actions/cache@v4 with: @@ -104,11 +104,11 @@ jobs: node_modules rust/cubestore/node_modules packages/*/node_modules - key: ${{ runner.os }}-workspace-main-18.x-${{ hashFiles('**/yarn.lock') }} + key: ${{ runner.os }}-workspace-main-20.x-${{ hashFiles('**/yarn.lock') }} restore-keys: | - ${{ runner.os }}-workspace-main-18.x- + ${{ runner.os }}-workspace-main-20.x- - name: Set Yarn version - run: yarn policies set-version v1.22.19 + run: yarn policies set-version v1.22.22 - name: Yarn install uses: nick-fields/retry@v3 env: @@ -155,10 +155,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Install Node.js 18.x + - name: Install Node.js 20.x uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x - name: Restore lerna uses: actions/cache@v4 with: @@ -168,11 +168,11 @@ jobs: node_modules rust/cubestore/node_modules packages/*/node_modules - key: ${{ runner.os }}-workspace-main-18.x-${{ hashFiles('**/yarn.lock') }} + key: ${{ runner.os }}-workspace-main-20.x-${{ hashFiles('**/yarn.lock') }} restore-keys: | - ${{ runner.os }}-workspace-main-18.x- + ${{ runner.os }}-workspace-main-20.x- - name: Set Yarn version - run: yarn policies set-version v1.22.19 + run: yarn policies set-version v1.22.22 - name: Yarn install uses: nick-fields/retry@v3 env: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index dd2ef1e3a787d..0b2d6338e7238 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -26,10 +26,10 @@ jobs: # override: true # this is by default on rustflags: "" components: rustfmt - - name: Install Node.js 18.x + - name: Install Node.js 20.x uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "dir=$(yarn cache dir)" >> "$GITHUB_OUTPUT" @@ -42,7 +42,7 @@ jobs: restore-keys: | ${{ runner.os }}-yarn- - name: Set Yarn version - run: yarn policies set-version v1.22.19 + run: yarn policies set-version v1.22.22 - name: Yarn install uses: nick-fields/retry@v3 env: @@ -72,7 +72,7 @@ jobs: name: Build native Linux ${{ matrix.node-version }} ${{ matrix.target }} Python ${{ matrix.python-version }} strategy: matrix: - node-version: [18] + node-version: [20] python-version: ["3.9", "3.10", "3.11", "3.12", "fallback"] target: ["x86_64-unknown-linux-gnu", "aarch64-unknown-linux-gnu"] include: @@ -107,7 +107,7 @@ jobs: - name: Install Yarn run: npm install -g yarn - name: Set Yarn version - run: yarn policies set-version v1.22.19 + run: yarn policies set-version v1.22.22 # We don't need to install all yarn deps to build native - name: Install cargo-cp-artifact run: npm install -g cargo-cp-artifact@0.1 @@ -151,7 +151,7 @@ jobs: name: Build ${{ matrix.os-version }} ${{ matrix.target }} ${{ matrix.node-version }} Python ${{ matrix.python-version }} strategy: matrix: - node-version: [18.x] + node-version: [20.x] os-version: ["macos-12"] target: ["x86_64-apple-darwin", "aarch64-apple-darwin"] python-version: ["3.9", "3.10", "3.11", "3.12", "fallback"] @@ -200,7 +200,7 @@ jobs: with: node-version: ${{ matrix.node-version }} - name: Set Yarn version - run: yarn policies set-version v1.22.19 + run: yarn policies set-version v1.22.22 # We don't need to install all yarn deps to build native - name: Install cargo-cp-artifact run: npm install -g cargo-cp-artifact@0.1 @@ -239,7 +239,7 @@ jobs: name: Build ${{ matrix.os-version }} ${{ matrix.node-version }} Python ${{ matrix.python-version }} strategy: matrix: - node-version: [18.x] + node-version: [20.x] python-version: ["fallback"] os-version: [windows-2019] include: @@ -274,7 +274,7 @@ jobs: with: node-version: ${{ matrix.node-version }} - name: Set Yarn version - run: yarn policies set-version v1.22.19 + run: yarn policies set-version v1.22.22 # We don't need to install all yarn deps to build native - name: Install cargo-cp-artifact run: npm install -g cargo-cp-artifact@0.1 diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index efc6505577b87..97351aed98dfc 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -40,7 +40,8 @@ jobs: strategy: matrix: - node-version: [18.x, 20.x] + # Current docker version + next LTS + node-version: [20.x, 22.x] fail-fast: false steps: @@ -76,7 +77,7 @@ jobs: restore-keys: | ${{ runner.os }}-yarn- - name: Set Yarn version - run: yarn policies set-version v1.22.19 + run: yarn policies set-version v1.22.22 - name: Yarn install uses: nick-fields/retry@v3 env: @@ -94,7 +95,7 @@ jobs: - name: Lerna test run: yarn lerna run --concurrency 1 --stream --no-prefix unit # - uses: codecov/codecov-action@v1 -# if: (matrix.node-version == '18.x') +# if: (matrix.node-version == '20.x') # with: # files: ./packages/*/coverage/clover.xml # flags: cube-backend @@ -116,10 +117,10 @@ jobs: # override: true # this is by default on rustflags: "" components: rustfmt - - name: Install Node.js 18.x + - name: Install Node.js 20.x uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "dir=$(yarn cache dir)" >> "$GITHUB_OUTPUT" @@ -132,7 +133,7 @@ jobs: restore-keys: | ${{ runner.os }}-yarn- - name: Set Yarn version - run: yarn policies set-version v1.22.19 + run: yarn policies set-version v1.22.22 - name: Yarn install uses: nick-fields/retry@v3 env: @@ -164,10 +165,10 @@ jobs: # override: true # this is by default on rustflags: "" components: rustfmt - - name: Install Node.js 18.x + - name: Install Node.js 20.x uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "dir=$(yarn cache dir)" >> "$GITHUB_OUTPUT" @@ -180,7 +181,7 @@ jobs: restore-keys: | ${{ runner.os }}-yarn- - name: Set Yarn version - run: yarn policies set-version v1.22.19 + run: yarn policies set-version v1.22.22 - name: Yarn install uses: nick-fields/retry@v3 env: @@ -242,7 +243,7 @@ jobs: strategy: matrix: - node-version: [18.x] + node-version: [20.x] fail-fast: false steps: @@ -280,7 +281,7 @@ jobs: restore-keys: | ${{ runner.os }}-yarn- - name: Set Yarn version - run: yarn policies set-version v1.22.19 + run: yarn policies set-version v1.22.22 - name: Yarn install uses: nick-fields/retry@v3 env: @@ -315,7 +316,7 @@ jobs: strategy: matrix: - node-version: [18.x] + node-version: [20.x] db: [ 'clickhouse', 'druid', 'elasticsearch', 'mssql', 'mysql', 'postgres', 'prestodb', 'mysql-aurora-serverless', 'crate', 'mongobi' @@ -348,7 +349,7 @@ jobs: restore-keys: | ${{ runner.os }}-yarn- - name: Set Yarn version - run: yarn policies set-version v1.22.19 + run: yarn policies set-version v1.22.22 - name: Yarn install uses: nick-fields/retry@v3 env: @@ -373,7 +374,7 @@ jobs: strategy: matrix: - node-version: [ 18.x ] + node-version: [ 20.x ] fail-fast: false steps: @@ -411,7 +412,7 @@ jobs: restore-keys: | ${{ runner.os }}-yarn- - name: Set Yarn version - run: yarn policies set-version v1.22.19 + run: yarn policies set-version v1.22.22 - name: Yarn install uses: nick-fields/retry@v3 env: @@ -528,10 +529,10 @@ jobs: platforms: linux/amd64 push: true tags: localhost:5000/cubejs/cube:${{ matrix.tag }} - - name: Use Node.js 18.x + - name: Use Node.js 20.x uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "dir=$(yarn cache dir)" >> "$GITHUB_OUTPUT" @@ -544,7 +545,7 @@ jobs: restore-keys: | ${{ runner.os }}-yarn- - name: Set Yarn version - run: yarn policies set-version v1.22.19 + run: yarn policies set-version v1.22.22 - name: Yarn install uses: nick-fields/retry@v3 env: diff --git a/.github/workflows/rust-cubesql.yml b/.github/workflows/rust-cubesql.yml index c4d57686e5b37..160c2a4937e61 100644 --- a/.github/workflows/rust-cubesql.yml +++ b/.github/workflows/rust-cubesql.yml @@ -108,12 +108,12 @@ jobs: strategy: matrix: # Current used version + 1 LTS - node-version: [18, 20] + node-version: [20, 22] python-version: ["3.9", "3.10", "3.11", "3.12", "fallback"] target: ["x86_64-unknown-linux-gnu", "aarch64-unknown-linux-gnu"] # minimize number of jobs exclude: - - node-version: 18 + - node-version: 20 target: "aarch64-unknown-linux-gnu" - python-version: 3.10 target: "aarch64-unknown-linux-gnu" @@ -147,7 +147,7 @@ jobs: - name: Install Yarn run: npm install -g yarn - name: Set Yarn version - run: yarn policies set-version v1.22.19 + run: yarn policies set-version v1.22.22 - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "dir=$(yarn cache dir)" >> "$GITHUB_OUTPUT" @@ -211,7 +211,7 @@ jobs: strategy: matrix: # We do not need to test under all versions, we do it under linux - node-version: [18.x] + node-version: [20.x] os-version: ["macos-13"] target: ["x86_64-apple-darwin", "aarch64-apple-darwin"] include: @@ -250,7 +250,7 @@ jobs: with: node-version: ${{ matrix.node-version }} - name: Set Yarn version - run: yarn policies set-version v1.22.19 + run: yarn policies set-version v1.22.22 - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "dir=$(yarn cache dir)" >> "$GITHUB_OUTPUT" @@ -304,7 +304,7 @@ jobs: strategy: matrix: # We do not need to test under all versions, we do it under linux - node-version: [18.x] + node-version: [20.x] os-version: [windows-2019] python-version: ["fallback"] fail-fast: false @@ -332,7 +332,7 @@ jobs: with: node-version: ${{ matrix.node-version }} - name: Set Yarn version - run: yarn policies set-version v1.22.19 + run: yarn policies set-version v1.22.22 - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "dir=$(yarn cache dir)" >> "$GITHUB_OUTPUT" diff --git a/.nvmrc b/.nvmrc index 561a1e9a85a1e..3516580bbbc04 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -18.20.3 +20.17.0 diff --git a/DEPRECATION.md b/DEPRECATION.md index f7486c883afa8..875697abd727a 100644 --- a/DEPRECATION.md +++ b/DEPRECATION.md @@ -33,34 +33,37 @@ features: migrate to alternatives. In such cases, a warning may be printed, and users should not rely on this feature. -| Status | Feature | Deprecated | Remove | -|------------|-----------------------------------------------------------------------------------------------------------------------------------------|------------|-----------| -| Removed | [Node.js 8](#nodejs-8) | v0.22.4 | v0.26.0 | -| Deprecated | [`hearBeatInterval`](#hearbeatinterval) | v0.23.8 | June 2021 | -| Removed | [`CUBEJS_ENABLE_TLS`](#cubejs_enable_tls) | v0.23.11 | v0.26.0 | -| Deprecated | [Embedding Cube.js within Express](#embedding-cubejs-within-express) | v0.24.0 | June 2021 | -| Removed | [Absolute import for `@cubejs-backend/query-orchestrator`](#absolute-import-for-@cubejs-backendquery-orchestrator) | v0.24.2 | v0.32.0 | -| Removed | [`contextToDataSourceId`](#contexttodatasourceid) | v0.25.0 | v0.25.0 | -| Removed | [Absolute import for `@cubejs-backend/server-core`](#absolute-import-for-@cubejs-backendserver-core) | v0.25.4 | v0.32.0 | -| Removed | [Absolute import for `@cubejs-backend/schema-compiler`](#absolute-import-for-@cubejs-backendschema-compiler) | v0.25.21 | v0.32.0 | -| Deprecated | [`checkAuthMiddleware`](#checkauthmiddleware) | v0.26.0 | | -| Removed | [Node.js 10](#nodejs-10) | v0.26.0 | v0.29.0 | -| Removed | [Node.js 15](#nodejs-15) | v0.26.0 | v0.32.0 | -| Deprecated | [`USER_CONTEXT`](#user_context) | v0.26.0 | | -| Deprecated | [`authInfo`](#authinfo) | v0.26.0 | | -| Deprecated | [Prefix Redis environment variables with `CUBEJS_`](#prefix-redis-environment-variables-with-cubejs_) | v0.27.0 | | -| Removed | [Node.js 12](#nodejs-12) | v0.29.0 | v0.32.0 | -| Deprecated | [`CUBEJS_EXTERNAL_DEFAULT` and `CUBEJS_SCHEDULED_REFRESH_DEFAULT`](#cubejs_external_default-and-cubejs_scheduled_refresh_default) | v0.30.0 | | -| Deprecated | [Using external databases for pre-aggregations](#using-external-databases-for-pre-aggregations) | v0.30.0 | | -| Deprecated | [`dbType`](#dbtype) | v0.30.30 | | -| Removed | [Serverless Deployments](#serverless-deployments) | v0.31.64 | v0.35.0 | -| Removed | [Node.js 14](#nodejs-14) | v0.32.0 | v0.35.0 | -| Deprecated | [Using Redis for in-memory cache and queue](#using-redis-for-in-memory-cache-and-queue) | v0.32.0 | | -| Deprecated | [`running_total` measure type](#running_total-measure-type) | v0.33.39 | | -| Deprecated | [Node.js 16](#nodejs-16) | v0.35.0 | | -| Removed | [MySQL-based SQL API](#mysql-based-sql-api) | v0.35.0 | v0.35.0 | -| Removed | [`initApp` hook](#initapp-hook) | v0.35.0 | v0.35.0 | -| Deprecated | [`/v1/run-scheduled-refresh` REST API endpoint](#v1run-scheduled-refresh-rest-api-endpoint) | v0.35.0 | | +| Status | Feature | Deprecated | Removed | +|------------|-----------------------------------------------------------------------------------------------------------------------------------|------------|-----------| +| Removed | [Node.js 8](#nodejs-8) | v0.22.4 | v0.26.0 | +| Deprecated | [`hearBeatInterval`](#hearbeatinterval) | v0.23.8 | June 2021 | +| Removed | [`CUBEJS_ENABLE_TLS`](#cubejs_enable_tls) | v0.23.11 | v0.26.0 | +| Deprecated | [Embedding Cube.js within Express](#embedding-cubejs-within-express) | v0.24.0 | June 2021 | +| Removed | [Absolute import for `@cubejs-backend/query-orchestrator`](#absolute-import-for-@cubejs-backendquery-orchestrator) | v0.24.2 | v0.32.0 | +| Removed | [`contextToDataSourceId`](#contexttodatasourceid) | v0.25.0 | v0.25.0 | +| Removed | [Absolute import for `@cubejs-backend/server-core`](#absolute-import-for-@cubejs-backendserver-core) | v0.25.4 | v0.32.0 | +| Removed | [Absolute import for `@cubejs-backend/schema-compiler`](#absolute-import-for-@cubejs-backendschema-compiler) | v0.25.21 | v0.32.0 | +| Deprecated | [`checkAuthMiddleware`](#checkauthmiddleware) | v0.26.0 | v0.36.0 | +| Removed | [Node.js 10](#nodejs-10) | v0.26.0 | v0.29.0 | +| Removed | [Node.js 15](#nodejs-15) | v0.26.0 | v0.32.0 | +| Deprecated | [`USER_CONTEXT`](#user_context) | v0.26.0 | v0.36.0 | +| Deprecated | [`authInfo`](#authinfo) | v0.26.0 | | +| Deprecated | [Prefix Redis environment variables with `CUBEJS_`](#prefix-redis-environment-variables-with-cubejs_) | v0.27.0 | v0.36.0 | +| Removed | [Node.js 12](#nodejs-12) | v0.29.0 | v0.32.0 | +| Deprecated | [`CUBEJS_EXTERNAL_DEFAULT` and `CUBEJS_SCHEDULED_REFRESH_DEFAULT`](#cubejs_external_default-and-cubejs_scheduled_refresh_default) | v0.30.0 | | +| Deprecated | [Using external databases for pre-aggregations](#using-external-databases-for-pre-aggregations) | v0.30.0 | | +| Deprecated | [`dbType`](#dbtype) | v0.30.30 | | +| Removed | [Serverless Deployments](#serverless-deployments) | v0.31.64 | v0.35.0 | +| Removed | [Node.js 14](#nodejs-14) | v0.32.0 | v0.35.0 | +| Removed | [Using Redis for in-memory cache and queue](#using-redis-for-in-memory-cache-and-queue) | v0.32.0 | v0.36.0 | +| Deprecated | [`SECURITY_CONTEXT`](#security_context) | v0.33.0 | | +| Deprecated | [`running_total` measure type](#running_total-measure-type) | v0.33.39 | | +| Deprecated | [Top-level `includes` parameter in views](#top-level-includes-parameter-in-views) | v0.34.34 | | +| Removed | [Node.js 16](#nodejs-16) | v0.35.0 | v0.36.0 | +| Removed | [MySQL-based SQL API](#mysql-based-sql-api) | v0.35.0 | v0.35.0 | +| Removed | [`initApp` hook](#initapp-hook) | v0.35.0 | v0.35.0 | +| Removed | [`/v1/run-scheduled-refresh` REST API endpoint](#v1run-scheduled-refresh-rest-api-endpoint) | v0.35.0 | v0.36.0 | +| Deprecated | [Node.js 18](#nodejs-18) | v0.36.0 | | ### Node.js 8 @@ -179,7 +182,7 @@ const { BaseQuery } = require("@cubejs-backend/schema-compiler"); ### `checkAuthMiddleware` -**Deprecated in Release: v0.26.0** +**Removed in Release: v0.36.0** The `checkAuthMiddleware` option was tightly bound to Express, [which has been deprecated](#embedding-cubejs-within-express). Since Cube.js @@ -187,7 +190,7 @@ supports HTTP **and** WebSockets as transports, we want our authentication API to not rely on transport-specific details. We now recommend using [`checkAuth`][ref-checkauth] as a transport-agnostic method of authentication. This means the same authentication logic can be reused for both HTTP and -Websockets transports. +WebSockets transports. If you are using custom authorization, please take a [look at the documentation][link-custom-auth] @@ -204,7 +207,7 @@ no more updates. Please upgrade to Node.js 12 or higher. ### `USER_CONTEXT` -**Deprecated in Release: v0.26.0** +**Removed in Release: v0.36.0** `USER_CONTEXT` has been renamed to `SECURITY_CONTEXT`. @@ -271,41 +274,16 @@ const server = new CubejsServer({ ### Prefix Redis environment variables with `CUBEJS_` -Redis-related environment variables are now prefixed with `CUBEJS_` for -consistency with other environment variables. - -**Deprecated in Release: v0.27.0** - -Deprecated: - -``` -REDIS_URL=XXXX -REDIS_PASSWORD=XXX -REDIS_TLS=true -``` - -You should use: - -``` -CUBEJS_REDIS_URL=XXXX -CUBEJS_REDIS_PASSWORD=XXX -CUBEJS_REDIS_TLS=true -``` +**Removed in Release: v0.36.0** ### Node.js 15 **Removed in Release: v0.29.0** -Node.js 15 reached [End of Life on June 1, 2021][link-nodejs-eol]. This means no -more updates. Please upgrade to Node.js 14 or higher. - ### Node.js 12 **Removed in Release: v0.32.0** -Node.js 12 reached [End of Life on May 19, 2021][link-nodejs-eol]. This means no -more updates. Please upgrade to Node.js 14 or higher. - ### Using non-Cube Store databases as external database **Deprecated in Release: v0.29.0** @@ -353,17 +331,22 @@ instead. **Removed in Release: v0.35.0** -Node.js 14 reached [End of Life on April 30, 2023][link-nodejs-eol]. This means -no more updates. Please upgrade to Node.js 16 or higher. - ### Using Redis for in-memory cache and queue -**Deprecated in release: v0.32.0** +**Removed in Release: v0.36.0** Cube Store is now the default cache and queue engine, [replacing Redis](https://cube.dev/blog/replacing-redis-with-cube-store). Please migrate to [Cube Store](https://cube.dev/blog/how-you-win-by-using-cube-store-part-1). +### `SECURITY_CONTEXT` + +**Deprecated in Release: v0.33.0** + +The `SECURITY_CONTEXT` context variable is deprecated. Use +[`query_rewrite`](https://cube.dev/docs/reference/configuration/config#query_rewrite) +instead. + ### `running_total` measure type **Deprecated in Release: v0.33.39** @@ -372,12 +355,18 @@ The `running_total` measure type is now deprecated, and we recommend using [`rolling_window`](https://cube.dev/docs/product/data-modeling/reference/measures#rolling_window) to calculate running totals instead. -### Node.js 16 +### Top-level `includes` parameter in views -**Deprecated in Release: v0.35.0** +**Deprecated in Release: v0.34.34** -Node.js 16 reached [End of Life on September 11, 2023][link-nodejs-eol]. This means -no more updates. Please upgrade to Node.js 18 or higher. +The top-level `includes` parameter is now deprecated. Please always use the +`includes` parameter within [`cubes` and `join_path` +parameters](https://cube.dev/docs/reference/data-model/view#cubes) so you can +explicitly control the join path. + +### Node.js 16 + +**Removed in Release: v0.36.0** [link-nodejs-eol]: https://github.com/nodejs/Release#end-of-life-releases @@ -397,9 +386,16 @@ The `initApp` hook is removed as it's not relevant anymore for Docker-based arch ### `/v1/run-scheduled-refresh` REST API endpoint -**Deprecated in release: v0.35.0** +**Removed in release: v0.36.0** The `/v1/run-scheduled-refresh` REST API endpoint is deprecated as it's not relevant anymore for Docker-based architecture. Use the [Orchestration API](https://cube.dev/docs/product/apis-integrations/orchestration-api) and -`/v1/pre-aggregations/jobs` endpoint instead. \ No newline at end of file +`/v1/pre-aggregations/jobs` endpoint instead. + +### Node.js 18 + +**Deprecated in Release: v0.36.0** + +Node.js 18 reaches [End of Life on April 30, 2025][link-nodejs-eol]. This means +no more updates. Please upgrade to Node.js 20 or higher. diff --git a/docs/pages/product/apis-integrations/queries.mdx b/docs/pages/product/apis-integrations/queries.mdx index f08785f61ba80..5b05e3d0ae909 100644 --- a/docs/pages/product/apis-integrations/queries.mdx +++ b/docs/pages/product/apis-integrations/queries.mdx @@ -18,18 +18,18 @@ The following defaults apply to all queries run by Cube. ### Order -By default, Cube will apply ordering to [any query](#query-types) that does not +By default, for [REST API][ref-rest-api] and [GraphQL API][ref-graphql-api] +queries, Cube will apply ordering to [any query](#query-types) that does not set it explicitly. The default heuristics are to sort the result set by a time dimension, if any; otherwise, sort it by the first measure, if any; otherwise, -sort it by the first dimension, if any. This will provide a result set that works -great for most data visualization purposes. - -[SQL API][ref-sql-api] queries do not get a default ordering if they are -[ungrouped](#ungrouped-query). You can opt out from default ordering for all SQL API -queries by setting `CUBESQL_SQL_NO_IMPLICIT_ORDER` to `true`. - -For [REST API][ref-rest-api] and [GraphQL API][ref-graphql-api] queries, you can opt -out from default ordering by passing an empty array (`[]`) object as `order`. +sort it by the first dimension, if any. These heuristics provide a result set +that works great for most data visualization purposes. You can opt out from +default ordering by passing an empty array (`[]`) object as `order`. + +[SQL API][ref-sql-api] queries do not get a default ordering in case there's no +`ORDER BY` clause in the query. You can opt in for default ordering for SQL API +queries (except for [ungrouped](#ungrouped-query) ones) by setting +`CUBESQL_SQL_NO_IMPLICIT_ORDER` to `false`. ### Row limit diff --git a/docs/pages/product/apis-integrations/rest-api.mdx b/docs/pages/product/apis-integrations/rest-api.mdx index d0a1441e69469..f70e2f5e4667f 100644 --- a/docs/pages/product/apis-integrations/rest-api.mdx +++ b/docs/pages/product/apis-integrations/rest-api.mdx @@ -121,7 +121,7 @@ accessible for everyone. | `meta` | [`/v1/meta`][ref-ref-meta] | ✅ Yes | | `data` | [`/v1/load`][ref-ref-load], [`/v1/sql`][ref-ref-sql] | ✅ Yes | | `graphql` | `/graphql` | ✅ Yes | -| `jobs` | [`/v1/run-scheduled-refresh`][ref-ref-rsr]
[`/v1/pre-aggregations/jobs`][ref-ref-paj] | ❌ No | +| `jobs` | [`/v1/pre-aggregations/jobs`][ref-ref-paj] | ❌ No | @@ -277,7 +277,6 @@ example, the following query will retrieve rows 101-200 from the `Orders` cube: [ref-ref-load]: /reference/rest-api#v1load [ref-ref-meta]: /reference/rest-api#v1meta [ref-ref-sql]: /reference/rest-api#v1sql -[ref-ref-rsr]: /reference/rest-api#v1run-scheduled-refresh [ref-ref-paj]: /reference/rest-api#v1pre-aggregationsjobs [ref-security-context]: /product/auth/context [ref-graphql-api]: /product/apis-integrations/graphql-api @@ -288,4 +287,4 @@ example, the following query will retrieve rows 101-200 from the `Orders` cube: [self-api-scopes]: #configuration-api-scopes [self-cors]: #configuration-cors [ref-ref-rest-api]: /reference/rest-api -[link-jq-utility]: https://jqlang.github.io/jq/ \ No newline at end of file +[link-jq-utility]: https://jqlang.github.io/jq/ diff --git a/docs/pages/product/auth.mdx b/docs/pages/product/auth.mdx index a07769af68fd8..3825a1bc4e626 100644 --- a/docs/pages/product/auth.mdx +++ b/docs/pages/product/auth.mdx @@ -233,14 +233,6 @@ Cube also allows you to provide your own JWT verification logic by setting a file. This function is expected to verify a JWT and return its claims as the security context. - - -Previous versions of Cube allowed setting a `checkAuthMiddleware()` parameter, -which is now deprecated. We advise [migrating to a newer version of -Cube][ref-config-migrate-cube]. - - - As an example, if you needed to retrieve user information from an LDAP server, you might do the following: diff --git a/docs/pages/product/configuration.mdx b/docs/pages/product/configuration.mdx index 8b85f941ae40e..40110914a881b 100644 --- a/docs/pages/product/configuration.mdx +++ b/docs/pages/product/configuration.mdx @@ -103,12 +103,6 @@ module.exports = { Both ways are equivalent; when in doubt, use Python. - - -Support for Python and the `cube.py` file was introduced in v0.34. - - - ### Cube Core When using Docker, ensure that the configuration file and your [data model @@ -122,8 +116,10 @@ and navigating to the Data Model page. ## Runtimes and dependencies -As of v0.34, Cube uses Python v3.9 and Node.js v16.20 as runtime environments -for the code of configuration and [dynamic data models][ref-dynamic-data-models]. +Cube uses Python and Node.js as runtime environments for the code of +configuration and [dynamic data models][ref-dynamic-data-models]. You can look +current versions up on GitHub: [Python][link-current-python-version], +[Node.js][link-current-nodejs-version]. It's recommended to use `requirements.txt` and `package.json` files to specify dependencies for your Python and JavaScript code, respectively. @@ -171,7 +167,6 @@ of data model entities. [ref-rest-api]: /product/apis-integrations/rest-api [ref-gql-api]: /product/apis-integrations/graphql-api [ref-sql-api]: /product/apis-integrations/sql-api - [ref-folder-structure]: /product/data-modeling/syntax#folder-structure [link-config]: /reference/configuration/config @@ -181,6 +176,7 @@ of data model entities. /reference/data-model/pre-aggregations#scheduled_refresh [ref-dynamic-data-models]: /product/data-modeling/dynamic [ref-custom-docker-image]: /product/deployment/core#extend-the-docker-image - [link-docker-env-vars]: https://docs.docker.com/compose/environment-variables/set-environment-variables/ -[ref-data-model-publicity]: /product/data-modeling/concepts/publicity \ No newline at end of file +[ref-data-model-publicity]: /product/data-modeling/concepts/publicity +[link-current-python-version]: https://github.com/cube-js/cube/blob/master/packages/cubejs-docker/latest.Dockerfile#L13 +[link-current-nodejs-version]: https://github.com/cube-js/cube/blob/master/packages/cubejs-docker/latest.Dockerfile#L1 \ No newline at end of file diff --git a/docs/pages/product/deployment.mdx b/docs/pages/product/deployment.mdx index 4d0cd6aba44c2..26f6e89b7610f 100644 --- a/docs/pages/product/deployment.mdx +++ b/docs/pages/product/deployment.mdx @@ -244,21 +244,6 @@ services: - cubestore_router ``` -## Redis - -Earlier, [Redis][redis] was used in production deployments as storage for -in-memory cache and query queue. Since version v0.32.0, Cube Store is used for -that purpose. It is still possible to [configure][ref-config-redis] Cube to use -Redis; however, it is strongly not recommended. Please check the [blog -post][blog-details] for details. - - - -Redis support is deprecated and will be removed from Cube in the future. Upgrade -to v0.32.0 or later to use Cube Store instead of Redis. See the [migration -guide][blog-migration-guide]. - - [dh-cubejs]: https://hub.docker.com/r/cubejs/cube [dh-cubestore]: https://hub.docker.com/r/cubejs/cubestore @@ -272,10 +257,4 @@ guide][blog-migration-guide]. [ref-config-env]: /reference/configuration/environment-variables [ref-config-js]: /reference/configuration/config [ref-conf-ref-schemapath]: /reference/configuration/config#schemapath -[redis]: https://redis.io -[ref-config-redis]: - /reference/configuration/environment-variables#cubejs_redis_password -[blog-details]: https://cube.dev/blog/how-you-win-by-using-cube-store-part-1 -[blog-migration-guide]: - https://cube.dev/blog/how-you-win-by-using-cube-store-part-1#how-to-migrate-to-cube-store [gh-pavel]: https://github.com/paveltiunov diff --git a/docs/pages/product/deployment/core.mdx b/docs/pages/product/deployment/core.mdx index 956d4c5c7e28a..b1832562c1264 100644 --- a/docs/pages/product/deployment/core.mdx +++ b/docs/pages/product/deployment/core.mdx @@ -60,7 +60,7 @@ e.g., `cubejs/cubestore:arm64v8`. Note that it's a best practice to use specific locked versions, e.g., -`cubejs/cube:v0.34.56`, instead of `cubejs/cube:latest` in production. +`cubejs/cube:v0.36.0`, instead of `cubejs/cube:latest` in production. @@ -284,7 +284,7 @@ a specific tag instead of `latest`: ```yaml services: cube_api: - image: cubejs/cube:v0.34.56 + image: cubejs/cube:v0.36.0 ports: - 4000:4000 environment: diff --git a/docs/pages/reference/cli.mdx b/docs/pages/reference/cli.mdx index e8ab6feeb3a79..1950069eb773b 100644 --- a/docs/pages/reference/cli.mdx +++ b/docs/pages/reference/cli.mdx @@ -105,7 +105,7 @@ practices._ ### Usage ```bash{promptUser: user} -npx cubejs-cli token -e TOKEN-EXPIRY -s SECRET -p FOO=BAR -u BAZ=QUX +npx cubejs-cli token -e TOKEN-EXPIRY -s SECRET -p FOO=BAR ``` ### Flags @@ -115,7 +115,6 @@ npx cubejs-cli token -e TOKEN-EXPIRY -s SECRET -p FOO=BAR -u BAZ=QUX | -e, --expiry           | Token expiry. Set to 0 for no expiry (default: "30 days") | `1 day`, `30 days`         | | -s, --secret | Cube app secret. Also can be set via environment variable `CUBEJS_API_SECRET` | - | | -p, --payload | Token Payload | `foo=bar`, `userId=2` | -| -u, --user-context | Token USER_CONTEXT Payload | `baz=qux`, `companyId=5` | ### Example diff --git a/docs/pages/reference/configuration/environment-variables.mdx b/docs/pages/reference/configuration/environment-variables.mdx index e83e7f315125a..da0b9c3266a74 100644 --- a/docs/pages/reference/configuration/environment-variables.mdx +++ b/docs/pages/reference/configuration/environment-variables.mdx @@ -875,101 +875,6 @@ to use for storing pre-aggregations. | --------------- | ---------------------- | ----------------------- | | A valid string | `dev_pre_aggregations` | `prod_pre_aggregations` | -## `CUBEJS_REDIS_PASSWORD` - - - -This environment variable is deprecated. Update to v0.32.0 or later to use Cube -Store instead of Redis. - - - -The password used to connect to the Redis server. - -| Possible Values | Default in Development | Default in Production | -| ---------------------- | ---------------------- | --------------------- | -| A valid Redis password | N/A | N/A | - -## `CUBEJS_REDIS_POOL_MAX` - - - -This environment variable is deprecated. Update to v0.32.0 or later to use Cube -Store instead of Redis. - - - -The maximum number of connections to keep active in the Redis connection pool -for a single [`appId`][ref-config-conf-ctx-to-appid] (tenant). Must be higher -than [`CUBEJS_REDIS_POOL_MIN`](#cubejs-redis-pool-min). - -| Possible Values | Default in Development | Default in Production | -| ----------------------------- | ---------------------- | --------------------- | -| A valid number of connections | `1000` | `1000` | - -## `CUBEJS_REDIS_POOL_MIN` - - - -This environment variable is deprecated. Update to v0.32.0 or later to use Cube -Store instead of Redis. - - - -The minimum number of connections to keep active in the Redis connection pool -for a single [`appId`][ref-config-conf-ctx-to-appid] (tenant). Must be lower -than [`CUBEJS_REDIS_POOL_MAX`](#cubejs-redis-pool-max). - -| Possible Values | Default in Development | Default in Production | -| ----------------------------- | ---------------------- | --------------------- | -| A valid number of connections | `2` | `2` | - -## `CUBEJS_REDIS_TLS` - - - -This environment variable is deprecated. Update to v0.32.0 or later to use Cube -Store instead of Redis. - - - -If `true`, then the connection to the Redis server is protected by TLS -authentication. - -| Possible Values | Default in Development | Default in Production | -| --------------- | ---------------------- | --------------------- | -| `true`, `false` | `false` | `false` | - -## `CUBEJS_REDIS_URL` - - - -This environment variable is deprecated. Update to v0.32.0 or later to use Cube -Store instead of Redis. - - - -The host URL for a Redis server. - -| Possible Values | Default in Development | Default in Production | -| ---------------------- | ---------------------- | --------------------- | -| A valid Redis host URL | N/A | N/A | - -## `CUBEJS_REDIS_USE_IOREDIS` - - - -This environment variable is deprecated. Update to v0.32.0 or later to use Cube -Store instead of Redis. - - - -Use [`ioredis`][gh-ioredis] instead of [`redis`][gh-node-redis]. - -| Possible Values | Default in Development | Default in Production | -| --------------- | ---------------------- | --------------------- | -| `true`, `false` | `false` | `false` | - ## `CUBEJS_REFRESH_WORKER` If `true`, this instance of Cube will **only** refresh pre-aggregations. @@ -1088,7 +993,7 @@ clause](/product/apis-integrations/queries#order) for [SQL API][ref-sql-api] que | Possible Values | Default in Development | Default in Production | | --------------- | ---------------------- | --------------------- | -| `true`, `false` | `false` | `false` | +| `true`, `false` | `true` | `true` | ## `CUBESQL_REWRITE_MAX_NODES` @@ -1525,10 +1430,8 @@ The port for a Cube deployment to listen to API connections on. https://cloud.google.com/iam/docs/creating-managing-service-account-keys [gh-docs-pat]: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token -[gh-ioredis]: https://github.com/luin/ioredis [gh-jsonwebtoken-algs]: https://github.com/auth0/node-jsonwebtoken#algorithms-supported -[gh-node-redis]: https://github.com/NodeRedis/node-redis [ietf-jwk-ref]: https://tools.ietf.org/html/rfc7517#section-4 [ietf-jwt-ref-iss]: https://tools.ietf.org/html/rfc7519#section-4.1.1 [ietf-jwt-ref-sub]: https://tools.ietf.org/html/rfc7519#section-4.1.2 diff --git a/docs/pages/reference/data-model/context-variables.mdx b/docs/pages/reference/data-model/context-variables.mdx index 9ae64909c67ae..c150d137beca3 100644 --- a/docs/pages/reference/data-model/context-variables.mdx +++ b/docs/pages/reference/data-model/context-variables.mdx @@ -734,7 +734,7 @@ cube(`users`, { `SECURITY_CONTEXT` is deprecated and may be removed in the upcoming versions. -Use [`queryRewrite`][ref-config-queryrewrite] instead. +Use [`query_rewrite`][ref-config-queryrewrite] instead. @@ -809,7 +809,7 @@ cube(`orders`, { ``` [ref-config-ext-ctx]: /reference/configuration/config#extendcontext -[ref-config-queryrewrite]: /reference/configuration/config#queryrewrite +[ref-config-queryrewrite]: /reference/configuration/config#query_rewrite [ref-config-req-ctx]: /reference/configuration/config#requestcontext [ref-recipe-control-access-cubes-views]: /guides/recipes/access-control/controlling-access-to-cubes-and-views diff --git a/docs/pages/reference/rest-api.mdx b/docs/pages/reference/rest-api.mdx index 49e6181c7618a..829361ba642f9 100644 --- a/docs/pages/reference/rest-api.mdx +++ b/docs/pages/reference/rest-api.mdx @@ -213,45 +213,6 @@ Example response: } ``` -## `/v1/run-scheduled-refresh` - -Trigger a scheduled refresh run to refresh pre-aggregations. - - - -This API endpoint is deprecated and will be removed from Cube in the future. -Use the [`/v1/pre-aggregations/jobs`](#v1pre-aggregationsjobs) endpoint instead. - - - - - -Single call to this API may be not enough to refresh everything is pending. This -call just populates queue with refresh workload and should be continuously -called until refresh jobs have completed; otherwise refresh jobs will be marked -as orphaned, and they will be removed from the queue. - - - -Learn more about -[scheduled refresh here](/product/caching/getting-started-pre-aggregations#keeping-pre-aggregations-up-to-date). - -| Parameter | Description | -| --------------- | ------------------------------------------------------------------------------------------------------------ | -| queryingOptions | Optional URL encoded Cube [Query](/product/apis-integrations/rest-api/query-format) options such as timezone | - -Empty object response if scheduled successfully. - -Example request: - -```bash{outputLines: 2-5} -curl \ - -H "Authorization: EXAMPLE-API-TOKEN" \ - -G \ - --data-urlencode 'queryingOptions={"timezone":"UTC"}' \ - http://localhost:4000/cubejs-api/v1/run-scheduled-refresh -``` - ## `/v1/pre-aggregations/jobs` Trigger pre-aggregation build jobs or retrieve statuses of such jobs. diff --git a/packages/cubejs-api-gateway/src/gateway.ts b/packages/cubejs-api-gateway/src/gateway.ts index 6f2d0fa4e0f26..e690658987550 100644 --- a/packages/cubejs-api-gateway/src/gateway.ts +++ b/packages/cubejs-api-gateway/src/gateway.ts @@ -60,7 +60,6 @@ import { ApiGatewayOptions, } from './types/gateway'; import { - CheckAuthMiddlewareFn, RequestLoggerMiddlewareFn, ContextRejectionMiddlewareFn, ContextAcceptorFn, @@ -146,8 +145,6 @@ class ApiGateway { protected readonly contextToApiScopesDefFn: ContextToApiScopesFn = async () => ['graphql', 'meta', 'data']; - protected readonly checkAuthMiddleware: CheckAuthMiddlewareFn; - protected readonly requestLoggerMiddleware: RequestLoggerMiddlewareFn; protected readonly securityContextExtractor: SecurityContextExtractorFn; @@ -188,9 +185,6 @@ class ApiGateway { this.checkAuthFn = this.createCheckAuthFn(options); this.checkAuthSystemFn = this.createCheckAuthSystemFn(); this.contextToApiScopesFn = this.createContextToApiScopesFn(options); - this.checkAuthMiddleware = options.checkAuthMiddleware - ? this.wrapCheckAuthMiddleware(options.checkAuthMiddleware) - : this.checkAuth; this.securityContextExtractor = this.createSecurityContextExtractor(options.jwt); this.requestLoggerMiddleware = options.requestLoggerMiddleware || this.requestLogger; this.contextRejectionMiddleware = options.contextRejectionMiddleware || (async (req, res, next) => next()); @@ -214,7 +208,7 @@ class ApiGateway { public initApp(app: ExpressApplication) { const userMiddlewares: RequestHandler[] = [ - this.checkAuthMiddleware, + this.checkAuth, this.requestContextMiddleware, this.contextRejectionMiddleware, this.logNetworkUsage, @@ -423,18 +417,6 @@ class ApiGateway { * jobs scope * *************************************************************** */ - app.get( - `${this.basePath}/v1/run-scheduled-refresh`, - userMiddlewares, - userAsyncHandler(async (req, res) => { - await this.runScheduledRefresh({ - queryingOptions: req.query.queryingOptions, - context: req.context, - res: this.resToResultFn(res) - }); - }) - ); - app.post( `${this.basePath}/v1/pre-aggregations/jobs`, userMiddlewares, @@ -541,26 +523,6 @@ class ApiGateway { return requestStarted && (new Date().getTime() - requestStarted.getTime()); } - public async runScheduledRefresh({ context, res, queryingOptions }: { - context: RequestContext, - res: ResponseResultFn, - queryingOptions: any - }) { - const requestStarted = new Date(); - try { - await this.assertApiScope('jobs', context.securityContext); - const refreshScheduler = this.refreshScheduler(); - res(await refreshScheduler.runScheduledRefresh(context, { - ...this.parseQueryParam(queryingOptions || {}), - throwErrors: true - })); - } catch (e: any) { - this.handleError({ - e, context, res, requestStarted - }); - } - } - private filterVisibleItemsInMeta(context: RequestContext, cubes: any[]) { const isDevMode = getEnv('devMode'); function visibilityFilter(item) { @@ -1552,7 +1514,7 @@ class ApiGateway { if (normalizedQuery.total) { const normalizedTotal = structuredClone(normalizedQuery); normalizedTotal.totalQuery = true; - + delete normalizedTotal.order; normalizedTotal.limit = null; @@ -2121,40 +2083,6 @@ class ApiGateway { } } - protected wrapCheckAuthMiddleware(fn: CheckAuthMiddlewareFn): CheckAuthMiddlewareFn { - this.logger('CheckAuthMiddleware Middleware Deprecation', { - warning: ( - 'Option checkAuthMiddleware is now deprecated in favor of checkAuth, please migrate: ' + - 'https://github.com/cube-js/cube.js/blob/master/DEPRECATION.md#checkauthmiddleware' - ) - }); - - let showWarningAboutNotObject = false; - - return (req, res, next) => { - fn(req, res, (e) => { - // We renamed authInfo to securityContext, but users can continue to use both ways - if (req.securityContext && !req.authInfo) { - req.authInfo = req.securityContext; - } else if (req.authInfo) { - req.securityContext = req.authInfo; - } - - if ((typeof req.securityContext !== 'object' || req.securityContext === null) && !showWarningAboutNotObject) { - this.logger('Security Context Should Be Object', { - warning: ( - `Value of securityContext (previously authInfo) expected to be object, actual: ${getRealType(req.securityContext)}` - ) - }); - - showWarningAboutNotObject = true; - } - - next(e); - }); - }; - } - protected wrapCheckAuth(fn: CheckAuthFn): PreparedCheckAuthFn { // We dont need to span all logs with deprecation message let warningShowed = false; diff --git a/packages/cubejs-api-gateway/src/interfaces.ts b/packages/cubejs-api-gateway/src/interfaces.ts index 6c1911a994236..aad8f106e3e85 100644 --- a/packages/cubejs-api-gateway/src/interfaces.ts +++ b/packages/cubejs-api-gateway/src/interfaces.ts @@ -70,17 +70,6 @@ export { ContextToApiScopesFn, }; -/** - * Auth middleware. - * @deprecated - */ -export type CheckAuthMiddlewareFn = - ( - req: Request, - res: ExpressResponse, - next: ExpressNextFunction, - ) => void; - /** * Context rejection middleware. */ diff --git a/packages/cubejs-api-gateway/src/types/gateway.ts b/packages/cubejs-api-gateway/src/types/gateway.ts index f140105f5fa1e..352cc61b4ee3d 100644 --- a/packages/cubejs-api-gateway/src/types/gateway.ts +++ b/packages/cubejs-api-gateway/src/types/gateway.ts @@ -14,7 +14,6 @@ import { CheckAuthFn, } from './auth'; import { - CheckAuthMiddlewareFn, RequestLoggerMiddlewareFn, ContextRejectionMiddlewareFn, ContextAcceptorFn, @@ -66,10 +65,6 @@ interface ApiGatewayOptions { contextRejectionMiddleware?: ContextRejectionMiddlewareFn; wsContextAcceptor?: ContextAcceptorFn; checkAuth?: CheckAuthFn; - /** - * @deprecated Use checkAuth property instead. - */ - checkAuthMiddleware?: CheckAuthMiddlewareFn; contextToApiScopes?: ContextToApiScopesFn; event?: (name: string, props?: object) => void; } diff --git a/packages/cubejs-api-gateway/test/auth.test.ts b/packages/cubejs-api-gateway/test/auth.test.ts index c8eeb1d6ef147..007b28fa4d481 100644 --- a/packages/cubejs-api-gateway/test/auth.test.ts +++ b/packages/cubejs-api-gateway/test/auth.test.ts @@ -21,7 +21,7 @@ function createApiGateway(handler: RequestHandler, logger: () => any, options: P public initApp(app: ExpressApplication) { const userMiddlewares: RequestHandler[] = [ - this.checkAuthMiddleware, + this.checkAuth, this.requestContextMiddleware, ]; @@ -388,110 +388,6 @@ describe('test authorization', () => { expect(handlerMock.mock.calls[0][0].context.authInfo).toEqual(EXPECTED_SECURITY_CONTEXT); }); - test('custom checkAuthMiddleware with deprecated authInfo', async () => { - const loggerMock = jest.fn(() => { - // - }); - - const expectSecurityContext = (securityContext) => { - expect(securityContext.uid).toEqual(5); - expect(securityContext.iat).toBeDefined(); - expect(securityContext.exp).toBeDefined(); - }; - - const handlerMock = jest.fn((req, res) => { - expectSecurityContext(req.context.securityContext); - expectSecurityContext(req.context.authInfo); - - res.status(200).end(); - }); - - const { app } = createApiGateway(handlerMock, loggerMock, { - checkAuthMiddleware: (req: Request, res, next) => { - try { - if (req.headers.authorization) { - req.authInfo = jwt.verify(req.headers.authorization, 'secret'); - } - - next(); - } catch (e) { - next(e); - } - } - }); - - const token = generateAuthToken({ uid: 5, }); - - await request(app) - .get('/test-auth-fake') - .set('Authorization', token) - .expect(200); - - expect(loggerMock.mock.calls.length).toEqual(1); - expect(loggerMock.mock.calls[0]).toEqual([ - 'CheckAuthMiddleware Middleware Deprecation', - { - warning: 'Option checkAuthMiddleware is now deprecated in favor of checkAuth, please migrate: https://github.com/cube-js/cube.js/blob/master/DEPRECATION.md#checkauthmiddleware', - } - ]); - expect(handlerMock.mock.calls.length).toEqual(1); - - expectSecurityContext(handlerMock.mock.calls[0][0].context.securityContext); - // authInfo was deprecated, but should exists as computability - expectSecurityContext(handlerMock.mock.calls[0][0].context.authInfo); - }); - - test('custom checkAuthMiddleware with securityInfo (not object)', async () => { - const loggerMock = jest.fn(); - - const EXPECTED_SECURITY_CONTEXT = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOjUsImlhdCI6MTYxMTg1NzcwNSwiZXhwIjoyNDc1ODU3NzA1fQ.tTieqdIcxDLG8fHv8YWwfvg_rPVe1XpZKUvrCdzVn3g'; - - const handlerMock = jest.fn((req, res) => { - expect(req.context.securityContext).toEqual(EXPECTED_SECURITY_CONTEXT); - expect(req.context.authInfo).toEqual(EXPECTED_SECURITY_CONTEXT); - - res.status(200).end(); - }); - - const { app } = createApiGateway(handlerMock, loggerMock, { - checkAuthMiddleware: (req: Request, res, next) => { - if (req.headers.authorization) { - // It must be object, but some users are using string for securityContext - req.authInfo = req.headers.authorization; - } - - if (next) { - next(); - } - } - }); - - await request(app) - .get('/test-auth-fake') - // console.log(generateAuthToken({ uid: 5, })); - .set('Authorization', 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOjUsImlhdCI6MTYxMTg1NzcwNSwiZXhwIjoyNDc1ODU3NzA1fQ.tTieqdIcxDLG8fHv8YWwfvg_rPVe1XpZKUvrCdzVn3g') - .expect(200); - - expect(loggerMock.mock.calls.length).toEqual(2); - expect(loggerMock.mock.calls[0]).toEqual([ - 'CheckAuthMiddleware Middleware Deprecation', - { - warning: 'Option checkAuthMiddleware is now deprecated in favor of checkAuth, please migrate: https://github.com/cube-js/cube.js/blob/master/DEPRECATION.md#checkauthmiddleware', - } - ]); - expect(loggerMock.mock.calls[1]).toEqual([ - 'Security Context Should Be Object', - { - warning: 'Value of securityContext (previously authInfo) expected to be object, actual: string', - } - ]); - - expect(handlerMock.mock.calls.length).toEqual(1); - expect(handlerMock.mock.calls[0][0].context.securityContext).toEqual(EXPECTED_SECURITY_CONTEXT); - // authInfo was deprecated, but should exists as computability - expect(handlerMock.mock.calls[0][0].context.authInfo).toEqual(EXPECTED_SECURITY_CONTEXT); - }); - test('coerceForSqlQuery multiple', async () => { const loggerMock = jest.fn(() => { // diff --git a/packages/cubejs-api-gateway/test/permissions.test.ts b/packages/cubejs-api-gateway/test/permissions.test.ts index 074c44a83ee3a..c4aa2ad079a56 100644 --- a/packages/cubejs-api-gateway/test/permissions.test.ts +++ b/packages/cubejs-api-gateway/test/permissions.test.ts @@ -225,14 +225,6 @@ describe('Gateway Api Scopes', () => { expect(res1.body && res1.body.error) .toStrictEqual('API scope is missing: jobs'); - const res2 = await request(app) - .get('/cubejs-api/v1/run-scheduled-refresh') - .set('Authorization', AUTH_TOKEN) - .expect(403); - - expect(res2.body && res2.body.error) - .toStrictEqual('API scope is missing: jobs'); - apiGateway.release(); }); }); diff --git a/packages/cubejs-backend-native/test/sql.test.ts b/packages/cubejs-backend-native/test/sql.test.ts index 8de9a16dbe5c5..1d55187483dd7 100644 --- a/packages/cubejs-backend-native/test/sql.test.ts +++ b/packages/cubejs-backend-native/test/sql.test.ts @@ -340,7 +340,7 @@ describe('SQLInterface', () => { await native.execSql( instance, - 'SELECT order_date FROM KibanaSampleDataEcommerce LIMIT 100000;', + 'SELECT order_date FROM KibanaSampleDataEcommerce ORDER BY order_date DESC LIMIT 100000;', cubeSqlStream ); diff --git a/packages/cubejs-backend-shared/src/env.ts b/packages/cubejs-backend-shared/src/env.ts index 24aa0cac5980a..3b5f7d9bba259 100644 --- a/packages/cubejs-backend-shared/src/env.ts +++ b/packages/cubejs-backend-shared/src/env.ts @@ -133,10 +133,6 @@ function asBoolOrTime(input: string, envName: string): number | boolean { ); } -let legacyRedisPasswordAlerted: boolean = false; -let legacyRedisUrlAlerted: boolean = false; -let legacyRedisTlsAlerted: boolean = false; - const variables: Record any> = { devMode: () => get('CUBEJS_DEV_MODE') .default('false') @@ -1571,85 +1567,9 @@ const variables: Record any> = { .default('30') .asInt(), - // Redis - redisPoolMin: () => get('CUBEJS_REDIS_POOL_MIN') - .default('2') - .asInt(), - redisPoolMax: () => get('CUBEJS_REDIS_POOL_MAX') - .default('1000') - .asInt(), - redisUseIORedis: () => get('CUBEJS_REDIS_USE_IOREDIS') - .default('false') - .asBoolStrict(), - redisAcquireTimeout: () => get('CUBEJS_REDIS_ACQUIRE_TIMEOUT') - .default('5000') - .asInt(), allowUngroupedWithoutPrimaryKey: () => get('CUBEJS_ALLOW_UNGROUPED_WITHOUT_PRIMARY_KEY') .default(get('CUBESQL_SQL_PUSH_DOWN').default('false').asString()) .asBoolStrict(), - redisPassword: () => { - const redisPassword = get('CUBEJS_REDIS_PASSWORD') - .asString(); - if (redisPassword) { - return redisPassword; - } - - const legacyRedisPassword = get('REDIS_PASSWORD') - .asString(); - if (legacyRedisPassword) { - if (!legacyRedisPasswordAlerted) { - displayCLIWarning('REDIS_PASSWORD is deprecated and will be removed, please use CUBEJS_REDIS_PASSWORD.'); - - legacyRedisPasswordAlerted = true; - } - - return legacyRedisPassword; - } - - return undefined; - }, - redisUrl: () => { - const redisUrl = get('CUBEJS_REDIS_URL') - .asString(); - if (redisUrl) { - return redisUrl; - } - - const legacyRedisUrl = get('REDIS_URL') - .asString(); - if (legacyRedisUrl) { - if (!legacyRedisUrlAlerted) { - displayCLIWarning('REDIS_URL is deprecated and will be removed, please use CUBEJS_REDIS_URL.'); - - legacyRedisUrlAlerted = true; - } - - return legacyRedisUrl; - } - - return undefined; - }, - redisTls: () => { - const redisTls = get('CUBEJS_REDIS_TLS') - .asBoolStrict(); - if (redisTls) { - return redisTls; - } - - const legacyRedisTls = get('REDIS_TLS') - .asBoolStrict(); - if (legacyRedisTls) { - if (!legacyRedisTlsAlerted) { - displayCLIWarning('REDIS_TLS is deprecated and will be removed, please use CUBEJS_REDIS_TLS.'); - - legacyRedisTlsAlerted = true; - } - - return legacyRedisTls; - } - - return false; - }, nodeEnv: () => get('NODE_ENV') .asString(), cacheAndQueueDriver: () => get('CUBEJS_CACHE_AND_QUEUE_DRIVER') @@ -1766,6 +1686,30 @@ const variables: Record any> = { .default(200000) .asInt(), convertTzForRawTimeDimension: () => get('CUBESQL_SQL_PUSH_DOWN').default('false').asBoolStrict(), + // Deprecated section + + // Support for Redis as queue & cache driver was removed in 0.36 + // This code is used to detect Redis and throw an error + // TODO(ovr): Remove in after 1.0 + LTS + redisUseIORedis: () => get('CUBEJS_REDIS_USE_IOREDIS') + .default('false') + .asBoolStrict(), + // TODO(ovr): Remove in after 1.0 + LTS + redisUrl: () => { + const redisUrl = get('CUBEJS_REDIS_URL') + .asString(); + if (redisUrl) { + return redisUrl; + } + + const legacyRedisUrl = get('REDIS_URL') + .asString(); + if (legacyRedisUrl) { + return legacyRedisUrl; + } + + return undefined; + }, }; type Vars = typeof variables; diff --git a/packages/cubejs-backend-shared/src/node-check.ts b/packages/cubejs-backend-shared/src/node-check.ts index 745a7760ff1c4..5e4d63a6b5081 100644 --- a/packages/cubejs-backend-shared/src/node-check.ts +++ b/packages/cubejs-backend-shared/src/node-check.ts @@ -6,22 +6,31 @@ const semver = currentNodeVersion.split('.'); const major = parseInt( semver[0], 10); // const _minor = parseInt( semver[1], 10); -if (major < 16 || major === 15 || major === 17) { +if (major < 18) { console.error( color.red( `You are running Node.js ${currentNodeVersion}.\n` + - 'Cube.js CLI requires Node.js 18 or higher \n' + + 'Cube.js CLI requires Node.js 20 or higher \n' + 'Please update your Node.js version.' ) ); process.exit(1); } -if (major === 16) { +if (major === 19) { process.emitWarning( color.red( `You are running Node.js ${currentNodeVersion}.\n` + - 'Support for Node.js 16 will be removed soon. Please upgrade to Node.js 18 or higher.' + 'Support for Node.js 19 not guaranty. Please upgrade to Node.js 20 or higher.' + ) + ); +} + +if (major === 18) { + process.emitWarning( + color.red( + `You are running Node.js ${currentNodeVersion}.\n` + + 'Support for Node.js 18 will be removed soon. Please upgrade to Node.js 20 or higher.' ) ); } diff --git a/packages/cubejs-cli/src/command/token.ts b/packages/cubejs-cli/src/command/token.ts index 7525b0ea761d0..bd47189726362 100644 --- a/packages/cubejs-cli/src/command/token.ts +++ b/packages/cubejs-cli/src/command/token.ts @@ -52,20 +52,6 @@ export const token = async (options: TokenOptions) => { ...parsePayload(options.payload), }; - const userContext = parsePayload(options.userContext); - if (userContext) { - displayWarning('Option --user-context was deprecated and payload will be stored inside root instead of u'); - - // eslint-disable-next-line no-restricted-syntax - for (const key of Object.keys(userContext)) { - if (key in payload) { - displayWarning(`Key ${key} already exists inside payload and will be overritten by user-context`); - } - - payload[key] = userContext[key]; - } - } - console.log('Generating Cube JWT token'); console.log(''); console.log(`${chalk.yellow('-----------------------------------------------------------------------------------------')}`); @@ -95,7 +81,6 @@ export function configureTokenCommand(program: CommanderStatic) { .option('-e, --expiry [expiry]', 'Token expiry. Set to 0 for no expiry') .option('-s, --secret [secret]', 'Cube app secret. Also can be set via environment variable CUBEJS_API_SECRET') .option('-p, --payload [values]', 'Payload. Example: -p foo=bar', collect, []) - .option('-u, --user-context [values]', 'USER_CONTEXT. Example: -u baz=qux', collect, []) .description('Create JWT token') .action( (options) => token(options) diff --git a/packages/cubejs-docker/dev.Dockerfile b/packages/cubejs-docker/dev.Dockerfile index d30d67b4e3fdc..592ed23f90640 100644 --- a/packages/cubejs-docker/dev.Dockerfile +++ b/packages/cubejs-docker/dev.Dockerfile @@ -1,4 +1,4 @@ -FROM node:18.20.3-bullseye-slim AS base +FROM node:20.17.0-bookworm-slim AS base ARG IMAGE_VERSION=dev @@ -8,8 +8,8 @@ ENV CI=0 RUN DEBIAN_FRONTEND=noninteractive \ && apt-get update \ - && apt-get install -y --no-install-recommends rxvt-unicode libssl1.1 curl \ - cmake python3 libpython3-dev gcc g++ make cmake openjdk-11-jdk-headless \ + && apt-get install -y --no-install-recommends libssl3 curl \ + cmake python3.11 libpython3.11-dev gcc g++ make cmake openjdk-17-jdk-headless \ && rm -rf /var/lib/apt/lists/* ENV RUSTUP_HOME=/usr/local/rustup @@ -20,8 +20,7 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | \ sh -s -- --profile minimal --default-toolchain nightly-2022-03-08 -y ENV CUBESTORE_SKIP_POST_INSTALL=true -ENV TERM rxvt-unicode -ENV NODE_ENV development +ENV NODE_ENV=development WORKDIR /cubejs @@ -86,7 +85,7 @@ COPY packages/cubejs-client-ngx/package.json packages/cubejs-client-ngx/package. COPY packages/cubejs-client-ws-transport/package.json packages/cubejs-client-ws-transport/package.json COPY packages/cubejs-playground/package.json packages/cubejs-playground/package.json -RUN yarn policies set-version v1.22.19 +RUN yarn policies set-version v1.22.22 # Yarn v1 uses aggressive timeouts with summing time spending on fs, https://github.com/yarnpkg/yarn/issues/4890 RUN yarn config set network-timeout 120000 -g @@ -171,7 +170,7 @@ FROM base AS final ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update \ - && apt-get install -y ca-certificates python3 libpython3-dev \ + && apt-get install -y ca-certificates python3.11 libpython3.11-dev \ && apt-get clean COPY --from=build /cubejs . diff --git a/packages/cubejs-docker/latest-debian-jdk.Dockerfile b/packages/cubejs-docker/latest-debian-jdk.Dockerfile index e907ca0a20e47..67bf6b607cf10 100644 --- a/packages/cubejs-docker/latest-debian-jdk.Dockerfile +++ b/packages/cubejs-docker/latest-debian-jdk.Dockerfile @@ -1,17 +1,17 @@ # syntax=docker/dockerfile-upstream:master-experimental -FROM node:18.20.3-bullseye-slim as builder +FROM node:20.17.0-bookworm-slim as builder WORKDIR /cube COPY . . -RUN yarn policies set-version v1.22.19 +RUN yarn policies set-version v1.22.22 # Yarn v1 uses aggressive timeouts with summing time spending on fs, https://github.com/yarnpkg/yarn/issues/4890 RUN yarn config set network-timeout 120000 -g # Required for node-oracledb to buld on ARM64 RUN apt-get update \ # libpython3-dev is needed to trigger post-installer to download native with python - && apt-get install -y python3 libpython3-dev gcc g++ make cmake openjdk-11-jdk-headless \ + && apt-get install -y python3.11 libpython3.11-dev gcc g++ make cmake openjdk-17-jdk-headless \ && rm -rf /var/lib/apt/lists/* # We are copying root yarn.lock file to the context folder during the Publish GH @@ -21,7 +21,7 @@ RUN yarn install --prod \ && rm -rf /cube/node_modules/duckdb/src \ && yarn cache clean -FROM node:18.20.3-bullseye-slim +FROM node:20.17.0-bookworm-slim ARG IMAGE_VERSION=unknown @@ -31,7 +31,7 @@ ENV CUBEJS_DOCKER_IMAGE_TAG=latest RUN groupadd cube && useradd -ms /bin/bash -g cube cube \ && DEBIAN_FRONTEND=noninteractive \ && apt-get update \ - && apt-get install -y --no-install-recommends rxvt-unicode libssl1.1 openjdk-11-jdk-headless python3 libpython3-dev \ + && apt-get install -y --no-install-recommends libssl3 openjdk-17-jre-headless python3.11 libpython3.11-dev \ && rm -rf /var/lib/apt/lists/* \ && mkdir cube \ && chown -R cube:cube /tmp /cube /usr @@ -39,9 +39,8 @@ RUN groupadd cube && useradd -ms /bin/bash -g cube cube \ USER cube WORKDIR /cube -RUN yarn policies set-version v1.22.19 +RUN yarn policies set-version v1.22.22 -ENV TERM rxvt-unicode ENV NODE_ENV production COPY --chown=cube:cube --from=builder /cube . @@ -56,4 +55,4 @@ WORKDIR /cube/conf EXPOSE 4000 -CMD ["cubejs", "server"] \ No newline at end of file +CMD ["cubejs", "server"] diff --git a/packages/cubejs-docker/latest.Dockerfile b/packages/cubejs-docker/latest.Dockerfile index 6e5d5c812c911..81dda462810a1 100644 --- a/packages/cubejs-docker/latest.Dockerfile +++ b/packages/cubejs-docker/latest.Dockerfile @@ -1,16 +1,16 @@ -FROM node:18.20.3-bullseye-slim as builder +FROM node:20.17.0-bookworm-slim AS builder WORKDIR /cube COPY . . -RUN yarn policies set-version v1.22.19 +RUN yarn policies set-version v1.22.22 # Yarn v1 uses aggressive timeouts with summing time spending on fs, https://github.com/yarnpkg/yarn/issues/4890 RUN yarn config set network-timeout 120000 -g # Required for node-oracledb to buld on ARM64 RUN apt-get update \ # libpython3-dev is needed to trigger post-installer to download native with python - && apt-get install -y python3 libpython3-dev gcc g++ make cmake \ + && apt-get install -y python3.11 libpython3.11-dev gcc g++ make cmake \ && rm -rf /var/lib/apt/lists/* # We are copying root yarn.lock file to the context folder during the Publish GH @@ -20,7 +20,7 @@ RUN yarn install --prod \ && rm -rf /cube/node_modules/duckdb/src \ && yarn cache clean -FROM node:18.20.3-bullseye-slim +FROM node:20.17.0-bookworm-slim ARG IMAGE_VERSION=unknown @@ -29,20 +29,19 @@ ENV CUBEJS_DOCKER_IMAGE_TAG=latest RUN DEBIAN_FRONTEND=noninteractive \ && apt-get update \ - && apt-get install -y --no-install-recommends rxvt-unicode libssl1.1 python3 libpython3-dev \ + && apt-get install -y --no-install-recommends libssl3 python3.11 libpython3.11-dev \ && rm -rf /var/lib/apt/lists/* -RUN yarn policies set-version v1.22.19 +RUN yarn policies set-version v1.22.22 -ENV TERM rxvt-unicode -ENV NODE_ENV production +ENV NODE_ENV=production WORKDIR /cube COPY --from=builder /cube . # By default Node dont search in parent directory from /cube/conf, @todo Reaserch a little bit more -ENV NODE_PATH /cube/conf/node_modules:/cube/node_modules +ENV NODE_PATH=/cube/conf/node_modules:/cube/node_modules ENV PYTHONUNBUFFERED=1 RUN ln -s /cube/node_modules/.bin/cubejs /usr/local/bin/cubejs RUN ln -s /cube/node_modules/.bin/cubestore-dev /usr/local/bin/cubestore-dev diff --git a/packages/cubejs-docker/local.Dockerfile b/packages/cubejs-docker/local.Dockerfile index 9d9e166194660..49f4e755d273c 100644 --- a/packages/cubejs-docker/local.Dockerfile +++ b/packages/cubejs-docker/local.Dockerfile @@ -1,7 +1,7 @@ ARG DEV_BUILD_IMAGE=cubejs/cube:build FROM $DEV_BUILD_IMAGE as build -FROM node:18.20.3-bullseye-slim +FROM node:20.17.0-bookworm-slim ARG IMAGE_VERSION=dev @@ -10,11 +10,10 @@ ENV CUBEJS_DOCKER_IMAGE_TAG=latest RUN DEBIAN_FRONTEND=noninteractive \ && apt-get update \ - && apt-get install -y --no-install-recommends rxvt-unicode libssl1.1 python3 libpython3-dev \ + && apt-get install -y --no-install-recommends libssl3 python3.11 libpython3.11-dev \ && rm -rf /var/lib/apt/lists/* -ENV TERM rxvt-unicode -ENV NODE_ENV production +ENV NODE_ENV=production WORKDIR /cube COPY . . @@ -25,7 +24,7 @@ COPY --from=build /cubejs /cube-build RUN cd /cube-build && yarn run link:dev COPY package.json.local package.json -RUN yarn policies set-version v1.22.19 +RUN yarn policies set-version v1.22.22 # Yarn v1 uses aggressive timeouts with summing time spending on fs, https://github.com/yarnpkg/yarn/issues/4890 RUN yarn config set network-timeout 120000 -g diff --git a/packages/cubejs-docker/testing-drivers.Dockerfile b/packages/cubejs-docker/testing-drivers.Dockerfile index 02f19f678d7db..36773d9e292bc 100644 --- a/packages/cubejs-docker/testing-drivers.Dockerfile +++ b/packages/cubejs-docker/testing-drivers.Dockerfile @@ -1,7 +1,7 @@ ###################################################################### # Base image # ###################################################################### -FROM node:18.20.3-bullseye-slim AS base +FROM node:20.17.0-bookworm-slim AS base ARG IMAGE_VERSION=dev @@ -12,13 +12,12 @@ ENV CI=0 RUN DEBIAN_FRONTEND=noninteractive \ && apt-get update \ - && apt-get install -y --no-install-recommends rxvt-unicode libssl1.1 curl \ - cmake python3 gcc g++ make cmake openjdk-11-jdk-headless unzip mc \ + && apt-get install -y --no-install-recommends libssl3 curl \ + cmake python3 gcc g++ make cmake openjdk-17-jdk-headless unzip \ && rm -rf /var/lib/apt/lists/* ENV CUBESTORE_SKIP_POST_INSTALL=true -ENV TERM rxvt-unicode -ENV NODE_ENV development +ENV NODE_ENV=development WORKDIR /cubejs @@ -78,33 +77,33 @@ COPY packages/cubejs-jdbc-driver/package.json packages/cubejs-jdbc-driver/packag #COPY packages/cubejs-client-ws-transport/package.json packages/cubejs-client-ws-transport/package.json #COPY packages/cubejs-playground/package.json packages/cubejs-playground/package.json -RUN yarn policies set-version v1.22.19 +RUN yarn policies set-version v1.22.22 RUN yarn config set network-timeout 120000 -g ###################################################################### # Databricks driver dependencies # ###################################################################### -FROM base as prod_base_dependencies +FROM base AS prod_base_dependencies COPY packages/cubejs-databricks-jdbc-driver/package.json packages/cubejs-databricks-jdbc-driver/package.json RUN mkdir packages/cubejs-databricks-jdbc-driver/bin RUN echo '#!/usr/bin/env node' > packages/cubejs-databricks-jdbc-driver/bin/post-install RUN yarn install --prod -FROM prod_base_dependencies as prod_dependencies +FROM prod_base_dependencies AS prod_dependencies COPY packages/cubejs-databricks-jdbc-driver/bin packages/cubejs-databricks-jdbc-driver/bin RUN yarn install --prod --ignore-scripts ###################################################################### # Build dependencies # ###################################################################### -FROM base as build_dependencies +FROM base AS build_dependencies RUN yarn install ###################################################################### # Build layer # ###################################################################### -FROM build_dependencies as build +FROM build_dependencies AS build COPY rust/cubestore/ rust/cubestore/ COPY rust/cubesql/ rust/cubesql/ @@ -167,7 +166,7 @@ FROM base AS final ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update \ - && apt-get install -y ca-certificates python3 libpython3-dev \ + && apt-get install -y ca-certificates python3.11 libpython3.11-dev \ && apt-get clean COPY --from=build /cubejs . @@ -176,7 +175,7 @@ COPY --from=prod_dependencies /cubejs . COPY packages/cubejs-docker/bin/cubejs-dev /usr/local/bin/cubejs # By default Node dont search in parent directory from /cube/conf, @todo Reaserch a little bit more -ENV NODE_PATH /cube/conf/node_modules:/cube/node_modules +ENV NODE_PATH=/cube/conf/node_modules:/cube/node_modules RUN ln -s /cubejs/packages/cubejs-docker /cube RUN ln -s /cubejs/rust/cubestore/bin/cubestore-dev /usr/local/bin/cubestore-dev diff --git a/packages/cubejs-druid-driver/package.json b/packages/cubejs-druid-driver/package.json index 68ffad5412b9f..b9ed4f66723b6 100644 --- a/packages/cubejs-druid-driver/package.json +++ b/packages/cubejs-druid-driver/package.json @@ -38,7 +38,7 @@ "@cubejs-backend/linter": "^0.35.0", "@types/generic-pool": "^3.1.9", "@types/jest": "^27", - "@types/node": "^16", + "@types/node": "^18", "jest": "^27", "testcontainers": "^10.10.4", "typescript": "~5.2.2" diff --git a/packages/cubejs-duckdb-driver/package.json b/packages/cubejs-duckdb-driver/package.json index 646f2b336a047..1545f06e5237e 100644 --- a/packages/cubejs-duckdb-driver/package.json +++ b/packages/cubejs-duckdb-driver/package.json @@ -37,7 +37,7 @@ "@cubejs-backend/linter": "^0.35.0", "@cubejs-backend/testing-shared": "^0.35.81", "@types/jest": "^27", - "@types/node": "^16", + "@types/node": "^18", "jest": "^27", "typescript": "~5.2.2" }, diff --git a/packages/cubejs-jdbc-driver/package.json b/packages/cubejs-jdbc-driver/package.json index 641e57929b6fb..65ea4cb4c6a84 100644 --- a/packages/cubejs-jdbc-driver/package.json +++ b/packages/cubejs-jdbc-driver/package.json @@ -26,6 +26,7 @@ ], "dependencies": { "@cubejs-backend/base-driver": "^0.35.81", + "@cubejs-backend/shared": "^0.35.67", "generic-pool": "^3.1.7", "node-java-maven": "^0.1.2", "sqlstring": "^2.3.0" @@ -45,7 +46,7 @@ "@cubejs-backend/linter": "^0.35.0", "@cubejs-backend/shared": "^0.35.67", "@types/generic-pool": "^3.1.9", - "@types/node": "^16", + "@types/node": "^18", "@types/sqlstring": "^2.3.0", "typescript": "~5.2.2" } diff --git a/packages/cubejs-jdbc-driver/src/JDBCDriver.ts b/packages/cubejs-jdbc-driver/src/JDBCDriver.ts index da8f8536afc30..136d21c289e07 100644 --- a/packages/cubejs-jdbc-driver/src/JDBCDriver.ts +++ b/packages/cubejs-jdbc-driver/src/JDBCDriver.ts @@ -4,8 +4,6 @@ * @fileoverview The `JDBCDriver` and related types declaration. */ -/* eslint-disable no-restricted-syntax,import/no-extraneous-dependencies */ -import { Readable } from 'stream'; import { getEnv, assertDataSource, @@ -27,6 +25,7 @@ import { DriverOptionsInterface, SupportedDrivers } from './supported-drivers'; import { JDBCDriverConfiguration } from './types'; import { QueryStream, nextFn, Row, transformRow } from './QueryStream'; +/* eslint-disable no-restricted-syntax,import/no-extraneous-dependencies */ const DriverManager = require('@cubejs-backend/jdbc/lib/drivermanager'); const Connection = require('@cubejs-backend/jdbc/lib/connection'); const DatabaseMetaData = require('@cubejs-backend/jdbc/lib/databasemetadata'); @@ -35,11 +34,6 @@ const mvn = require('node-java-maven'); let mvnPromise: Promise | null = null; -type JdbcStatement = { - setQueryTimeout: (t: number) => any, - execute: (q: string) => any, -}; - const initMvn = (customClassPath: any) => { if (!mvnPromise) { mvnPromise = new Promise((resolve, reject) => { @@ -53,6 +47,11 @@ const initMvn = (customClassPath: any) => { if (!jinst.isJvmCreated()) { jinst.addOption('-Xrs'); jinst.addOption('-Dfile.encoding=UTF8'); + + // Workaround for Databricks JDBC driver + // Issue when deserializing Apache Arrow data with Java JVMs version 11 or higher, due to compatibility issues. + jinst.addOption('--add-opens=java.base/java.nio=ALL-UNNAMED'); + const classPath = (mvnResults && mvnResults.classpath || []).concat(customClassPath || []); jinst.setupClasspath(classPath); } @@ -78,7 +77,7 @@ interface ExtendedPool extends Pool { export class JDBCDriver extends BaseDriver { protected readonly config: JDBCDriverConfiguration; - + protected pool: ExtendedPool; protected jdbcProps: any; @@ -360,7 +359,7 @@ export class JDBCDriver extends BaseDriver { public static getSupportedDrivers(): string[] { return Object.keys(SupportedDrivers); } - + public static dbTypeDescription(dbType: string): DriverOptionsInterface { return SupportedDrivers[dbType]; } diff --git a/packages/cubejs-mongobi-driver/package.json b/packages/cubejs-mongobi-driver/package.json index 84af7bab1d40c..58941d09910d7 100644 --- a/packages/cubejs-mongobi-driver/package.json +++ b/packages/cubejs-mongobi-driver/package.json @@ -29,7 +29,7 @@ "dependencies": { "@cubejs-backend/base-driver": "^0.35.81", "@cubejs-backend/shared": "^0.35.67", - "@types/node": "^16", + "@types/node": "^18", "generic-pool": "^3.6.0", "moment": "^2.29.1", "mysql2": "^2.3.3" diff --git a/packages/cubejs-playground/package.json b/packages/cubejs-playground/package.json index d814816d404bc..165be4d2962f9 100644 --- a/packages/cubejs-playground/package.json +++ b/packages/cubejs-playground/package.json @@ -69,7 +69,7 @@ "@cubejs-client/core": "^0.35.23", "@cubejs-client/react": "^0.35.48", "@types/flexsearch": "^0.7.3", - "@types/node": "^16", + "@types/node": "^18", "@types/react": "^18.3.4", "@types/react-beautiful-dnd": "^13.0.0", "@types/react-dom": "^18.3.0", diff --git a/packages/cubejs-query-orchestrator/package.json b/packages/cubejs-query-orchestrator/package.json index 2fcd4e57eb1f2..2e2923acaf867 100644 --- a/packages/cubejs-query-orchestrator/package.json +++ b/packages/cubejs-query-orchestrator/package.json @@ -19,8 +19,7 @@ "watch": "tsc -w", "test": "npm run unit && npm run integration", "unit": "jest --runInBand --forceExit --coverage --verbose dist/test/unit", - "integration": "npm run integration:redis dist/test/integration", - "integration:redis": "jest --runInBand --verbose dist/test/integration/redis", + "integration": "jest --runInBand --verbose dist/test/integration", "integration:cubestore": "jest --runInBand --verbose dist/test/integration/cubestore", "lint": "eslint src/* test/* --ext .ts,.js", "lint:fix": "eslint --fix src/* test/* --ext .ts,.js" @@ -36,20 +35,16 @@ "csv-write-stream": "^2.0.0", "es5-ext": "0.10.53", "generic-pool": "^3.7.1", - "ioredis": "^4.27.8", "lru-cache": "^6.0.0", "moment-timezone": "^0.5.33", - "ramda": "^0.27.2", - "redis": "^3.0.2" + "ramda": "^0.27.2" }, "devDependencies": { "@cubejs-backend/linter": "^0.35.0", "@types/generic-pool": "^3.1.9", - "@types/ioredis": "^4.19.3", "@types/jest": "^27", - "@types/node": "^16", + "@types/node": "^18", "@types/ramda": "^0.27.32", - "@types/redis": "^2.8.28", "@types/uuid": "^8.3.0", "jest": "^27", "typescript": "~5.2.2" diff --git a/packages/cubejs-query-orchestrator/src/orchestrator/AsyncRedisClient.ts b/packages/cubejs-query-orchestrator/src/orchestrator/AsyncRedisClient.ts deleted file mode 100644 index 12aa2f8735caf..0000000000000 --- a/packages/cubejs-query-orchestrator/src/orchestrator/AsyncRedisClient.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { RedisClient, Commands, Callback } from 'redis'; - -interface Multi extends Commands { - exec(cb?: Callback): boolean; - EXEC(cb?: Callback): boolean; - - // eslint-disable-next-line camelcase - exec_atomic(cb?: Callback): boolean; - EXEC_ATOMIC(cb?: Callback): boolean; - - execAsync: () => Promise, -} - -export interface AsyncRedisClient extends RedisClient { - evalAsync: Commands>['eval'], - brpopAsync: Commands>['brpop'], - delAsync: Commands>['del'], - getAsync: Commands>['get'], - hgetAsync: Commands>['hget'], - rpopAsync: Commands>['rpop'], - setAsync: Commands>['set'], - zaddAsync: Commands>['zadd'], - zrangeAsync: Commands>['zrange'], - zrangebyscoreAsync: Commands>['zrangebyscore'], - keysAsync: Commands>['keys'], - watchAsync: Commands>['watch'], - unwatchAsync: Commands>['unwatch'], - incrAsync: Commands>['incr'], - decrAsync: Commands>['decr'], - lpushAsync: Commands>['lpush'], - // @todo Improve types - multi: () => Multi, - end: (flush?: boolean) => void, -} - -export default AsyncRedisClient; diff --git a/packages/cubejs-query-orchestrator/src/orchestrator/IORedisFactory.ts b/packages/cubejs-query-orchestrator/src/orchestrator/IORedisFactory.ts deleted file mode 100644 index b52c8c95cb41f..0000000000000 --- a/packages/cubejs-query-orchestrator/src/orchestrator/IORedisFactory.ts +++ /dev/null @@ -1,83 +0,0 @@ -import Redis, { Redis as redis, RedisOptions } from 'ioredis'; -import { getEnv } from '@cubejs-backend/shared'; -import AsyncRedisClient from './AsyncRedisClient'; -import { parseRedisUrl } from './utils'; - -export type IORedisOptions = RedisOptions; - -// @ts-ignore -Redis.Pipeline.prototype.execAsync = function execAsync() { - return this.exec() - .then((array) => (array ? array.map((skipFirst) => skipFirst[1]) : array)); -}; - -function decorateRedisClient(client: redis): AsyncRedisClient { - [ - 'brpop', - 'del', - 'get', - 'hget', - 'rpop', - 'set', - 'zadd', - 'zrange', - 'zrangebyscore', - 'keys', - 'watch', - 'unwatch', - 'incr', - 'decr', - 'lpush', - ].forEach( - k => { - client[`${k}Async`] = client[k]; - } - ); - - (client).end = () => client.disconnect(); - - return client; -} - -export async function createIORedisClient(url: string, opts: RedisOptions): Promise { - const options: RedisOptions = { - enableReadyCheck: true, - lazyConnect: true - }; - - const parsedUrl = parseRedisUrl(url); - if (parsedUrl.sentinels) { - options.sentinels = parsedUrl.sentinels; - options.name = parsedUrl.name; - options.db = parsedUrl.db; - options.enableOfflineQueue = false; - } else { - options.username = parsedUrl.username; - options.password = parsedUrl.password; - options.host = parsedUrl.host; - options.port = parsedUrl.port; - options.path = parsedUrl.path; - options.db = parsedUrl.db; - - if (parsedUrl.ssl) { - options.tls = {}; - } - } - - if (getEnv('redisTls')) { - options.tls = {}; - } - - const password = getEnv('redisPassword'); - if (password) { - options.password = password; - } - - const client = new Redis({ - ...options, - ...opts, - }); - await client.connect(); - - return decorateRedisClient(client); -} diff --git a/packages/cubejs-query-orchestrator/src/orchestrator/PreAggregations.ts b/packages/cubejs-query-orchestrator/src/orchestrator/PreAggregations.ts index 82935e33a94a9..4c858c3b7d32e 100644 --- a/packages/cubejs-query-orchestrator/src/orchestrator/PreAggregations.ts +++ b/packages/cubejs-query-orchestrator/src/orchestrator/PreAggregations.ts @@ -37,7 +37,6 @@ import { DriverFactory, DriverFactoryByDataSource } from './DriverFactory'; import { QueryQueue } from './QueryQueue'; import { LargeStreamWarning } from './StreamObjectsCounter'; import { CacheAndQueryDriverType } from './QueryOrchestrator'; -import { RedisPool } from './RedisPool'; /// Name of the inline table containing the lambda rows. export const LAMBDA_TABLE_PREFIX = 'lambda'; @@ -1981,7 +1980,6 @@ type PreAggregationsOptions = { orphanedTimeout?: number; heartBeatInterval?: number; }>; - redisPool?: RedisPool; cubeStoreDriverFactory?: () => Promise; continueWaitTimeout?: number; cacheAndQueueDriver?: CacheAndQueryDriverType; @@ -2392,7 +2390,6 @@ export class PreAggregations { concurrency: 1, logger: this.logger, cacheAndQueueDriver: this.options.cacheAndQueueDriver, - redisPool: this.options.redisPool, cubeStoreDriverFactory: this.options.cubeStoreDriverFactory, // Centralized continueWaitTimeout that can be overridden in queueOptions continueWaitTimeout: this.options.continueWaitTimeout, @@ -2440,7 +2437,6 @@ export class PreAggregations { concurrency: 4, logger: this.logger, cacheAndQueueDriver: this.options.cacheAndQueueDriver, - redisPool: this.options.redisPool, cubeStoreDriverFactory: this.options.cubeStoreDriverFactory, ...this.options.loadCacheQueueOptions } diff --git a/packages/cubejs-query-orchestrator/src/orchestrator/QueryCache.ts b/packages/cubejs-query-orchestrator/src/orchestrator/QueryCache.ts index fd60dd9607bc3..acac7b568a2d0 100644 --- a/packages/cubejs-query-orchestrator/src/orchestrator/QueryCache.ts +++ b/packages/cubejs-query-orchestrator/src/orchestrator/QueryCache.ts @@ -14,7 +14,6 @@ import { import { QueryQueue } from './QueryQueue'; import { ContinueWaitError } from './ContinueWaitError'; -import { RedisCacheDriver } from './RedisCacheDriver'; import { LocalCacheDriver } from './LocalCacheDriver'; import { DriverFactory, DriverFactoryByDataSource } from './DriverFactory'; import { PreAggregationDescription } from './PreAggregations'; @@ -126,7 +125,6 @@ export interface QueryCacheOptions { orphanedTimeout?: number; heartBeatInterval?: number; }>; - redisPool?: any; cubeStoreDriverFactory?: () => Promise, continueWaitTimeout?: number; cacheAndQueueDriver?: CacheAndQueryDriverType; @@ -150,9 +148,6 @@ export class QueryCache { public readonly options: QueryCacheOptions = {} ) { switch (options.cacheAndQueueDriver || 'memory') { - case 'redis': - this.cacheDriver = new RedisCacheDriver({ pool: options.redisPool }); - break; case 'memory': this.cacheDriver = new LocalCacheDriver(); break; @@ -501,7 +496,6 @@ export class QueryCache { { logger: this.logger, cacheAndQueueDriver: this.options.cacheAndQueueDriver, - redisPool: this.options.redisPool, cubeStoreDriverFactory: this.options.cubeStoreDriverFactory, // Centralized continueWaitTimeout that can be overridden in queueOptions continueWaitTimeout: this.options.continueWaitTimeout, @@ -568,7 +562,6 @@ export class QueryCache { { logger: this.logger, cacheAndQueueDriver: this.options.cacheAndQueueDriver, - redisPool: this.options.redisPool, cubeStoreDriverFactory: this.options.cubeStoreDriverFactory, // Centralized continueWaitTimeout that can be overridden in queueOptions continueWaitTimeout: this.options.continueWaitTimeout, @@ -643,11 +636,11 @@ export class QueryCache { source.rowStream.once('end', () => cleanup(undefined)); source.rowStream.once('error', cleanup); source.rowStream.once('close', () => cleanup(undefined)); - + target.once('end', () => cleanup(undefined)); target.once('error', cleanup); target.once('close', () => cleanup(undefined)); - + source.rowStream.pipe(target); }) .catch((reason) => { diff --git a/packages/cubejs-query-orchestrator/src/orchestrator/QueryOrchestrator.ts b/packages/cubejs-query-orchestrator/src/orchestrator/QueryOrchestrator.ts index 357f25a095604..1b54cdff03b16 100644 --- a/packages/cubejs-query-orchestrator/src/orchestrator/QueryOrchestrator.ts +++ b/packages/cubejs-query-orchestrator/src/orchestrator/QueryOrchestrator.ts @@ -5,13 +5,11 @@ import { CubeStoreDriver } from '@cubejs-backend/cubestore-driver'; import { QueryCache, QueryBody, TempTable } from './QueryCache'; import { PreAggregations, PreAggregationDescription, getLastUpdatedAtTimestamp } from './PreAggregations'; -import { RedisPool, RedisPoolOptions } from './RedisPool'; import { DriverFactory, DriverFactoryByDataSource } from './DriverFactory'; -import { RedisQueueEventsBus } from './RedisQueueEventsBus'; import { LocalQueueEventsBus } from './LocalQueueEventsBus'; import { QueryStream } from './QueryStream'; -export type CacheAndQueryDriverType = 'redis' | 'memory' | 'cubestore'; +export type CacheAndQueryDriverType = 'memory' | 'cubestore' | /** removed, used for exception */ 'redis'; export enum DriverType { External = 'external', @@ -22,7 +20,6 @@ export enum DriverType { export interface QueryOrchestratorOptions { externalDriverFactory?: DriverFactory; cacheAndQueueDriver?: CacheAndQueryDriverType; - redisPoolOptions?: RedisPoolOptions; queryCacheOptions?: any; preAggregationsOptions?: any; rollupOnlyMode?: boolean; @@ -30,8 +27,6 @@ export interface QueryOrchestratorOptions { skipExternalCacheAndQueue?: boolean; } -let redisDeprecationShowed = false; - function detectQueueAndCacheDriver(options: QueryOrchestratorOptions): CacheAndQueryDriverType { if (options.cacheAndQueueDriver) { return options.cacheAndQueueDriver; @@ -58,11 +53,9 @@ export class QueryOrchestrator { protected readonly preAggregations: PreAggregations; - protected readonly redisPool: RedisPool | undefined; - protected readonly rollupOnlyMode: boolean; - private queueEventsBus: RedisQueueEventsBus | LocalQueueEventsBus; + private queueEventsBus: LocalQueueEventsBus; protected readonly cacheAndQueueDriver: string; @@ -75,26 +68,14 @@ export class QueryOrchestrator { this.rollupOnlyMode = options.rollupOnlyMode; const cacheAndQueueDriver = detectQueueAndCacheDriver(options); - if (!['redis', 'memory', 'cubestore'].includes(cacheAndQueueDriver)) { + if (!['memory', 'cubestore'].includes(cacheAndQueueDriver)) { throw new Error( - `Only 'cubestore', 'redis' or 'memory' are supported for cacheAndQueueDriver option, passed: ${cacheAndQueueDriver}` + `Only 'cubestore' or 'memory' are supported for cacheAndQueueDriver option, passed: ${cacheAndQueueDriver}` ); } - if (cacheAndQueueDriver === 'redis' && !redisDeprecationShowed) { - this.logger('Redis Deprecation', { - warning: ( - 'Redis queue and cache driver is deprecated and no longer supported. Please consider switching to cubestore option.' - ) - }); - - redisDeprecationShowed = true; - } - const { externalDriverFactory, continueWaitTimeout, skipExternalCacheAndQueue } = options; - const redisPool = cacheAndQueueDriver === 'redis' ? new RedisPool(options.redisPoolOptions) : undefined; - this.redisPool = redisPool; this.cacheAndQueueDriver = cacheAndQueueDriver; const cubeStoreDriverFactory = cacheAndQueueDriver === 'cubestore' ? async () => { @@ -117,7 +98,6 @@ export class QueryOrchestrator { { externalDriverFactory, cacheAndQueueDriver, - redisPool, cubeStoreDriverFactory, continueWaitTimeout, skipExternalCacheAndQueue, @@ -132,7 +112,6 @@ export class QueryOrchestrator { { externalDriverFactory, cacheAndQueueDriver, - redisPool, cubeStoreDriverFactory, continueWaitTimeout, skipExternalCacheAndQueue, @@ -146,11 +125,9 @@ export class QueryOrchestrator { private getQueueEventsBus() { if (!this.queueEventsBus) { - const isRedis = this.cacheAndQueueDriver === 'redis'; - this.queueEventsBus = isRedis ? - new RedisQueueEventsBus({ redisPool: this.redisPool }) : - new LocalQueueEventsBus(); + this.queueEventsBus = new LocalQueueEventsBus(); } + return this.queueEventsBus; } diff --git a/packages/cubejs-query-orchestrator/src/orchestrator/QueryQueue.js b/packages/cubejs-query-orchestrator/src/orchestrator/QueryQueue.js index c8db507957658..5536aa8805884 100644 --- a/packages/cubejs-query-orchestrator/src/orchestrator/QueryQueue.js +++ b/packages/cubejs-query-orchestrator/src/orchestrator/QueryQueue.js @@ -6,7 +6,6 @@ import { CubeStoreQueueDriver } from '@cubejs-backend/cubestore-driver'; import { TimeoutError } from './TimeoutError'; import { ContinueWaitError } from './ContinueWaitError'; -import { RedisQueueDriver } from './RedisQueueDriver'; import { LocalQueueDriver } from './LocalQueueDriver'; import { QueryStream } from './QueryStream'; @@ -17,8 +16,6 @@ import { QueryStream } from './QueryStream'; */ function factoryQueueDriver(cacheAndQueueDriver, queueDriverOptions) { switch (cacheAndQueueDriver || 'memory') { - case 'redis': - return new RedisQueueDriver(queueDriverOptions); case 'memory': return new LocalQueueDriver(queueDriverOptions); case 'cubestore': diff --git a/packages/cubejs-query-orchestrator/src/orchestrator/RedisCacheDriver.ts b/packages/cubejs-query-orchestrator/src/orchestrator/RedisCacheDriver.ts deleted file mode 100644 index c3a460406829f..0000000000000 --- a/packages/cubejs-query-orchestrator/src/orchestrator/RedisCacheDriver.ts +++ /dev/null @@ -1,127 +0,0 @@ -import { createCancelablePromise, MaybeCancelablePromise } from '@cubejs-backend/shared'; -import { CacheDriverInterface } from '@cubejs-backend/base-driver'; - -import { RedisPool } from './RedisPool'; - -interface RedisCacheDriverOptions { - pool: RedisPool, -} - -export class RedisCacheDriver implements CacheDriverInterface { - protected readonly redisPool: RedisPool; - - public constructor({ pool }: RedisCacheDriverOptions) { - this.redisPool = pool; - } - - protected async getClient() { - return this.redisPool.getClient(); - } - - public async get(key: string) { - const client = await this.getClient(); - - try { - const res = await client.getAsync(key); - return res && JSON.parse(res); - } finally { - this.redisPool.release(client); - } - } - - public withLock = ( - key: string, - cb: () => MaybeCancelablePromise, - expiration: number = 60, - freeAfter: boolean = true, - ) => createCancelablePromise(async (tkn) => { - const client = await this.getClient(); - - try { - if (tkn.isCanceled()) { - return false; - } - - const response = await client.setAsync( - key, - '1', - // Only set the key if it does not already exist. - 'NX', - 'EX', - expiration - ); - if (response === 'OK') { - if (tkn.isCanceled()) { - if (freeAfter) { - await client.delAsync(key); - } - - return false; - } - - try { - await tkn.with(cb()); - } finally { - if (freeAfter) { - await client.delAsync(key); - } - } - - return true; - } - - return false; - } finally { - this.redisPool.release(client); - } - }); - - public async set(key: string, value, expiration) { - const client = await this.getClient(); - - try { - const strValue = JSON.stringify(value); - await client.setAsync(key, strValue, 'EX', expiration); - return { - key, - bytes: Buffer.byteLength(strValue), - }; - } finally { - this.redisPool.release(client); - } - } - - public async remove(key: string) { - const client = await this.getClient(); - - try { - return await client.delAsync(key); - } finally { - this.redisPool.release(client); - } - } - - public async keysStartingWith(prefix: string) { - const client = await this.getClient(); - - try { - return await client.keysAsync(`${prefix}*`); - } finally { - this.redisPool.release(client); - } - } - - public async cleanup(): Promise { - return this.redisPool.cleanup(); - } - - public async testConnection(): Promise { - const client = await this.getClient(); - - try { - await client.ping(); - } finally { - this.redisPool.release(client); - } - } -} diff --git a/packages/cubejs-query-orchestrator/src/orchestrator/RedisFactory.ts b/packages/cubejs-query-orchestrator/src/orchestrator/RedisFactory.ts deleted file mode 100644 index ba0fb451e2e99..0000000000000 --- a/packages/cubejs-query-orchestrator/src/orchestrator/RedisFactory.ts +++ /dev/null @@ -1,59 +0,0 @@ -import redis, { ClientOpts, RedisClient } from 'redis'; -import { getEnv } from '@cubejs-backend/shared'; -import { promisify } from 'util'; -import AsyncRedisClient from './AsyncRedisClient'; - -export type RedisOptions = ClientOpts; - -function decorateRedisClient(client: RedisClient): AsyncRedisClient { - [ - 'brpop', - 'del', - 'get', - 'hget', - 'rpop', - 'set', - 'zadd', - 'zrange', - 'zrangebyscore', - 'keys', - 'watch', - 'unwatch', - 'incr', - 'decr', - 'lpush', - ].forEach( - k => { - client[`${k}Async`] = promisify(client[k]); - } - ); - - return client; -} - -redis.Multi.prototype.execAsync = function execAsync() { - return new Promise((resolve, reject) => this.exec((err, res) => ( - err ? reject(err) : resolve(res) - ))); -}; - -export async function createRedisClient(url: string, opts: ClientOpts = {}) { - const options: ClientOpts = { - url, - }; - - if (getEnv('redisTls')) { - options.tls = {}; - } - - if (getEnv('redisPassword')) { - options.password = getEnv('redisPassword'); - } - - return decorateRedisClient( - redis.createClient({ - ...options, - ...opts, - }) - ); -} diff --git a/packages/cubejs-query-orchestrator/src/orchestrator/RedisPool.ts b/packages/cubejs-query-orchestrator/src/orchestrator/RedisPool.ts deleted file mode 100644 index 3ce9c0214d895..0000000000000 --- a/packages/cubejs-query-orchestrator/src/orchestrator/RedisPool.ts +++ /dev/null @@ -1,108 +0,0 @@ -/* eslint-disable global-require */ -import genericPool, { Pool, Options as PoolOptions } from 'generic-pool'; -import { getEnv } from '@cubejs-backend/shared'; -import AsyncRedisClient from './AsyncRedisClient'; -import { createRedisClient as createNodeRedisClient, RedisOptions } from './RedisFactory'; -import { createIORedisClient, IORedisOptions } from './IORedisFactory'; - -function createRedisClient(url: string, opts: RedisOptions | IORedisOptions = {}) { - if (getEnv('redisUseIORedis')) { - return createIORedisClient(url, opts); - } - - return createNodeRedisClient(url, opts); -} - -export type CreateRedisClientFn = () => Promise; - -export interface RedisPoolOptions { - poolMin?: number; - poolMax?: number; - idleTimeoutSeconds?: number; // @deprecated - softIdleTimeoutSeconds?: number; // @deprecated - poolOptions?: Omit; - createClient?: CreateRedisClientFn; - destroyClient?: (client: AsyncRedisClient) => Promise; -} - -const MAX_ALLOWED_POOL_ERRORS = 100; - -export class RedisPool { - protected readonly pool: Pool | null = null; - - protected readonly create: CreateRedisClientFn | null = null; - - protected poolErrors: number = 0; - - public constructor(options: RedisPoolOptions = {}) { - const min = (typeof options.poolMin !== 'undefined') ? options.poolMin : getEnv('redisPoolMin'); - const max = (typeof options.poolMax !== 'undefined') ? options.poolMax : getEnv('redisPoolMax'); - - const opts: PoolOptions = { - min, - max, - acquireTimeoutMillis: getEnv('redisAcquireTimeout') || 5000, - evictionRunIntervalMillis: 5000, - // idleTimeoutSeconds and softIdleTimeoutSeconds should be deprecated in favour of options.poolOptions.idleTimeoutMillis - idleTimeoutMillis: options.idleTimeoutSeconds ? options.idleTimeoutSeconds * 1000 : 5000, - softIdleTimeoutMillis: options.softIdleTimeoutSeconds ? options.softIdleTimeoutSeconds * 1000 : 5000, - ...(options.poolOptions || {}) - }; - - const create = options.createClient || (async () => createRedisClient(getEnv('redisUrl'))); - - if (max > 0) { - const destroy = options.destroyClient || (async (client) => client.end(true)); - - this.pool = genericPool.createPool({ create, destroy }, opts); - - this.pool.on('factoryCreateError', (error) => { - this.poolErrors++; - // prevent the infinite loop when pool creation fails too many times - if (this.poolErrors > MAX_ALLOWED_POOL_ERRORS) { - // @ts-ignore - // eslint-disable-next-line - this.pool._waitingClientsQueue.dequeue().reject(error); - } - }); - } else { - // fallback to un-pooled behavior if pool max is 0 - this.create = create; - } - } - - public async getClient() { - if (this.pool) { - return this.pool.acquire(); - } else { - return this.create(); - } - } - - public release(client: AsyncRedisClient) { - if (this.pool) { - this.pool.release(client).catch(() => { - // nothing to do - }); - } else if (client) { - client.quit(); - } - } - - public async testConnection() { - const client = await this.getClient(); - - try { - await client.ping(); - } finally { - this.release(client); - } - } - - public async cleanup() { - if (this.pool) { - await this.pool.drain(); - this.pool.clear(); - } - } -} diff --git a/packages/cubejs-query-orchestrator/src/orchestrator/RedisQueueDriver.ts b/packages/cubejs-query-orchestrator/src/orchestrator/RedisQueueDriver.ts deleted file mode 100644 index 7e5cf366ec79f..0000000000000 --- a/packages/cubejs-query-orchestrator/src/orchestrator/RedisQueueDriver.ts +++ /dev/null @@ -1,452 +0,0 @@ -/* eslint-disable no-use-before-define */ -import R from 'ramda'; -import { - QueueDriverInterface, - QueueDriverConnectionInterface, - QueueDriverOptions, - GetActiveAndToProcessResponse, - QueryDef, - QueryKeyHash, - QueryStageStateResponse, - QueryKey, - AddToQueueQuery, - AddToQueueOptions, - AddToQueueResponse, - ProcessingId, - RetrieveForProcessingResponse, QueryKeysTuple, -} from '@cubejs-backend/base-driver'; - -import { BaseQueueDriver } from './BaseQueueDriver'; -import { RedisPool } from './RedisPool'; - -// TODO: Use real type -type AsyncRedisClient = any; - -interface RedisQueueDriverConnectionOptions extends QueueDriverOptions { - redisClient: AsyncRedisClient, -} - -export class RedisQueueDriverConnection implements QueueDriverConnectionInterface { - protected readonly redisClient: AsyncRedisClient; - - protected readonly driver: RedisQueueDriver; - - protected readonly redisQueuePrefix: string; - - protected readonly heartBeatTimeout: number; - - protected readonly concurrency: number; - - protected readonly getQueueEventsBus: any; - - protected readonly continueWaitTimeout: number; - - public constructor(driver: RedisQueueDriver, options: RedisQueueDriverConnectionOptions) { - this.driver = driver; - this.redisClient = options.redisClient; - this.redisQueuePrefix = options.redisQueuePrefix; - this.continueWaitTimeout = options.continueWaitTimeout; - this.heartBeatTimeout = options.heartBeatTimeout; - this.concurrency = options.concurrency; - this.getQueueEventsBus = options.getQueueEventsBus; - } - - public getRedisClient() { - return this.redisClient; - } - - public async getResultBlocking(queryKeyHash) { - // Double redisHash apply is being used here - const resultListKey = this.resultListKey(queryKeyHash); - if (!(await this.redisClient.hgetAsync([this.queriesDefKey(), queryKeyHash]))) { - return this.getResult(queryKeyHash); - } - const result = await this.redisClient.brpopAsync([resultListKey, this.continueWaitTimeout]); - if (result) { - await this.redisClient.lpushAsync([resultListKey, result[1]]); - await this.redisClient.rpopAsync(resultListKey); - } - return result && JSON.parse(result[1]); - } - - public async getResult(queryKey) { - const resultListKey = this.resultListKey(queryKey); - const result = await this.redisClient.rpopAsync(resultListKey); - return result && JSON.parse(result); - } - - public async getQueriesToCancel() { - return ( - await this.getStalledQueries() - ).concat( - await this.getOrphanedQueries() - ); - } - - public async getActiveAndToProcess(): Promise { - const active = await this.getActiveQueries(); - const toProcess = await this.getToProcessQueries(); - - return [ - active, - toProcess - ]; - } - - public async addToQueue( - keyScore: number, - queryKey: QueryKey, - orphanedTime: number, - queryHandler: string, - query: AddToQueueQuery, - priority: number, - options: AddToQueueOptions - ): Promise { - const data = { - queryHandler, - query, - queryKey, - stageQueryKey: options.stageQueryKey, - priority, - requestId: options.requestId, - addedToQueueTime: new Date().getTime(), - queueId: options.queueId, - }; - - const tx = this.redisClient.multi() - .zadd([this.toProcessRedisKey(), 'NX', keyScore, this.redisHash(queryKey)]) - .zadd([this.recentRedisKey(), orphanedTime, this.redisHash(queryKey)]) - .hsetnx([ - this.queriesDefKey(), - this.redisHash(queryKey), - JSON.stringify(data) - ]) - .zcard(this.toProcessRedisKey()); - - if (this.getQueueEventsBus) { - tx.publish( - this.getQueueEventsBus().eventsChannel, - JSON.stringify({ - event: 'addedToQueue', - redisQueuePrefix: this.redisQueuePrefix, - queryKey: this.redisHash(queryKey), - payload: data - }) - ); - } - - const [added, _b, _c, queueSize] = await tx.execAsync(); - - return [ - added, - null, - queueSize, - data.addedToQueueTime - ]; - } - - public async getToProcessQueries(): Promise { - const rows = await this.redisClient.zrangeAsync([this.toProcessRedisKey(), 0, -1]); - - return rows.map((queryKeyHash) => [queryKeyHash, null]); - } - - public async getActiveQueries(): Promise { - const rows = await this.redisClient.zrangeAsync([this.activeRedisKey(), 0, -1]); - - return rows.map((queryKeyHash) => [queryKeyHash, null]); - } - - public async getQueryAndRemove(queryKey: QueryKeyHash): Promise<[QueryDef]> { - const [query, ...restResult] = await this.redisClient.multi() - .hget([this.queriesDefKey(), this.redisHash(queryKey)]) - .zrem([this.activeRedisKey(), this.redisHash(queryKey)]) - .zrem([this.heartBeatRedisKey(), this.redisHash(queryKey)]) - .zrem([this.toProcessRedisKey(), this.redisHash(queryKey)]) - .zrem([this.recentRedisKey(), this.redisHash(queryKey)]) - .hdel([this.queriesDefKey(), this.redisHash(queryKey)]) - .del(this.queryProcessingLockKey(queryKey)) - .execAsync(); - - return [JSON.parse(query), ...restResult] as any; - } - - public async cancelQuery(queryKey) { - const [query] = await this.getQueryAndRemove(queryKey); - - if (this.getQueueEventsBus) { - await this.redisClient.publish( - this.getQueueEventsBus().eventsChannel, - JSON.stringify({ - event: 'cancelQuery', - redisQueuePrefix: this.redisQueuePrefix, - queryKey: this.redisHash(queryKey), - payload: query - }) - ); - } - - return query; - } - - public async setResultAndRemoveQuery(queryKey, executionResult, processingId) { - try { - await this.redisClient.watchAsync(this.queryProcessingLockKey(queryKey)); - const currentProcessId = await this.redisClient.getAsync(this.queryProcessingLockKey(queryKey)); - if (processingId !== currentProcessId) { - return false; - } - const tx = this.redisClient.multi() - .lpush([this.resultListKey(queryKey), JSON.stringify(executionResult)]) - .zrem([this.activeRedisKey(), this.redisHash(queryKey)]) - .zrem([this.heartBeatRedisKey(), this.redisHash(queryKey)]) - .zrem([this.toProcessRedisKey(), this.redisHash(queryKey)]) - .zrem([this.recentRedisKey(), this.redisHash(queryKey)]) - .hdel([this.queriesDefKey(), this.redisHash(queryKey)]) - .del(this.queryProcessingLockKey(queryKey)); - - if (this.getQueueEventsBus) { - tx.publish( - this.getQueueEventsBus().eventsChannel, - JSON.stringify({ - event: 'setResultAndRemoveQuery', - redisQueuePrefix: this.redisQueuePrefix, - queryKey: this.redisHash(queryKey), - payload: executionResult - }) - ); - } - return tx.execAsync(); - } finally { - await this.redisClient.unwatchAsync(); - } - } - - public async getOrphanedQueries(): Promise { - const rows = await this.redisClient.zrangebyscoreAsync( - [this.recentRedisKey(), 0, new Date().getTime()] - ); - - return rows.map((queryKeyHash) => [queryKeyHash, null]); - } - - public async getStalledQueries(): Promise { - const rows = await this.redisClient.zrangebyscoreAsync( - [this.heartBeatRedisKey(), 0, (new Date().getTime() - this.heartBeatTimeout * 1000)] - ); - - return rows.map((queryKeyHash) => [queryKeyHash, null]); - } - - public async getQueryStageState(onlyKeys: boolean): Promise { - let request = this.redisClient.multi() - .zrange([this.activeRedisKey(), 0, -1]) - .zrange([this.toProcessRedisKey(), 0, -1]); - - if (!onlyKeys) { - request = request.hgetall(this.queriesDefKey()); - } - - const [active, toProcess, allQueryDefs] = await request.execAsync(); - const defs: Record = R.map(q => JSON.parse(q), allQueryDefs || {}); - - return [active, toProcess, defs]; - } - - public async getQueryDef(queryKey) { - const query = await this.redisClient.hgetAsync([this.queriesDefKey(), queryKey]); - return JSON.parse(query); - } - - /** - * Updates heart beat for the processing query by its `queryKey`. - */ - public async updateHeartBeat(queryKey) { - return this.redisClient.zaddAsync([this.heartBeatRedisKey(), new Date().getTime(), this.redisHash(queryKey)]); - } - - public async getNextProcessingId() { - const id = await this.redisClient.incrAsync(this.processingIdKey()); - return id && id.toString(); - } - - public async retrieveForProcessing(queryKey: QueryKeyHash, processingId: ProcessingId): Promise { - try { - const lockKey = this.queryProcessingLockKey(queryKey); - await this.redisClient.watchAsync(lockKey); - - const currentProcessId = await this.redisClient.getAsync(lockKey); - if (currentProcessId) { - return null; - } - - const result = - await this.redisClient.multi() - .zadd([this.activeRedisKey(), 'NX', processingId, this.redisHash(queryKey)]) - .zremrangebyrank([this.activeRedisKey(), this.concurrency, -1]) - .zrange([this.activeRedisKey(), 0, this.concurrency - 1]) - .zcard(this.toProcessRedisKey()) - .hget(([this.queriesDefKey(), this.redisHash(queryKey)])) - .set(lockKey, processingId, 'NX') - .zadd([this.heartBeatRedisKey(), 'NX', new Date().getTime(), this.redisHash(queryKey)]) - .execAsync(); - - if (result) { - result[4] = JSON.parse(result[4]); - - if (this.getQueueEventsBus) { - await this.redisClient.publish( - this.getQueueEventsBus().eventsChannel, - JSON.stringify({ - event: 'retrievedForProcessing', - redisQueuePrefix: this.redisQueuePrefix, - queryKey: this.redisHash(queryKey), - payload: result[4] - }) - ); - } - } - - const [insertedCount, _b, activeKeys, queueSize, query, processingLockAcquired] = result; - - return [ - insertedCount, - // this driver doesnt support queue id - null, - activeKeys, - queueSize, - query, - processingLockAcquired - ]; - } finally { - await this.redisClient.unwatchAsync(); - } - } - - public async freeProcessingLock(queryKey, processingId, activated) { - try { - const lockKey = this.queryProcessingLockKey(queryKey); - await this.redisClient.watchAsync(lockKey); - const currentProcessId = await this.redisClient.getAsync(lockKey); - if (currentProcessId === processingId) { - let removeCommand = this.redisClient.multi() - .del(lockKey); - if (activated) { - removeCommand = removeCommand.zrem([this.activeRedisKey(), this.redisHash(queryKey)]); - } - await removeCommand - .execAsync(); - return null; - } else { - return currentProcessId; - } - } finally { - await this.redisClient.unwatchAsync(); - } - } - - public async optimisticQueryUpdate(queryKey, toUpdate, processingId) { - try { - let query = await this.getQueryDef(queryKey); - for (let i = 0; i < 10; i++) { - if (query) { - // eslint-disable-next-line no-await-in-loop - await this.redisClient.watchAsync(this.queryProcessingLockKey(queryKey)); - const currentProcessId = await this.redisClient.getAsync(this.queryProcessingLockKey(queryKey)); - if (currentProcessId !== processingId) { - return false; - } - let [beforeUpdate] = await this.redisClient - .multi() - .hget([this.queriesDefKey(), this.redisHash(queryKey)]) - .hset([this.queriesDefKey(), this.redisHash(queryKey), JSON.stringify({ ...query, ...toUpdate })]) - .execAsync(); - beforeUpdate = JSON.parse(beforeUpdate); - if (JSON.stringify(query) === JSON.stringify(beforeUpdate)) { - return true; - } - query = beforeUpdate; - } - } - throw new Error(`Can't update ${queryKey} with ${JSON.stringify(toUpdate)}`); - } finally { - await this.redisClient.unwatchAsync(); - } - } - - public release() { - return this.redisClient.quit(); - } - - protected toProcessRedisKey() { - return this.queueRedisKey('QUEUE'); - } - - protected recentRedisKey() { - return this.queueRedisKey('RECENT'); - } - - protected activeRedisKey() { - return this.queueRedisKey('ACTIVE'); - } - - protected heartBeatRedisKey() { - return this.queueRedisKey('HEART_BEAT'); - } - - protected queryRedisKey(queryKey, suffix) { - return `${this.redisQueuePrefix}_${this.redisHash(queryKey)}_${suffix}`; - } - - protected queueRedisKey(suffix) { - return `${this.redisQueuePrefix}_${suffix}`; - } - - protected queriesDefKey() { - return this.queueRedisKey('QUERIES'); - } - - protected processingIdKey() { - return this.queueRedisKey('PROCESSING_COUNTER'); - } - - protected resultListKey(queryKey) { - return this.queryRedisKey(queryKey, 'RESULT'); - } - - protected queryProcessingLockKey(queryKey) { - return this.queryRedisKey(queryKey, 'LOCK'); - } - - public redisHash(queryKey) { - return this.driver.redisHash(queryKey); - } -} - -interface RedisQueueDriverOptions extends QueueDriverOptions { - redisPool: RedisPool -} - -export class RedisQueueDriver extends BaseQueueDriver implements QueueDriverInterface { - protected readonly redisPool: RedisPool; - - protected readonly options: RedisQueueDriverOptions; - - public constructor(options: RedisQueueDriverOptions) { - super(options.processUid); - this.redisPool = options.redisPool; - this.options = options; - } - - public async createConnection() { - const redisClient = await this.redisPool.getClient(); - return new RedisQueueDriverConnection(this, { - redisClient, - ...this.options - }); - } - - public release(connection: RedisQueueDriverConnection) { - this.redisPool.release(connection.getRedisClient()); - } -} diff --git a/packages/cubejs-query-orchestrator/src/orchestrator/RedisQueueEventsBus.ts b/packages/cubejs-query-orchestrator/src/orchestrator/RedisQueueEventsBus.ts deleted file mode 100644 index fa666e9160e8c..0000000000000 --- a/packages/cubejs-query-orchestrator/src/orchestrator/RedisQueueEventsBus.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { RedisPool } from './RedisPool'; -import { BaseQueueEventsBus } from './BaseQueueEventsBus'; - -export class RedisQueueEventsBus extends BaseQueueEventsBus { - protected readonly redisPool: RedisPool | undefined; - - protected readonly subscribers: Record; - - public eventsChannel: string; - - public constructor(options) { - super(); - this.redisPool = options.redisPool; - this.eventsChannel = 'QUERY_QUEUES:EVENTS'; - this.initSubscriber(); - } - - public async initSubscriber() { - const redisClientSubscriber = await this.redisPool.getClient(); - - redisClientSubscriber.subscribe(this.eventsChannel, (err) => { - if (err) { - console.error('Failed to subscribe: %s', err.message); - } - }); - - redisClientSubscriber.on('message', async (channel, message) => { - try { - message = JSON.parse(message); - await Promise.all(Object.values(this.subscribers).map(subscriber => subscriber.callback(message))); - } catch (error: any) { - console.error(error.stack || error); - } - }); - } -} diff --git a/packages/cubejs-query-orchestrator/src/orchestrator/index.ts b/packages/cubejs-query-orchestrator/src/orchestrator/index.ts index d5e47864bc923..d91d52f587230 100644 --- a/packages/cubejs-query-orchestrator/src/orchestrator/index.ts +++ b/packages/cubejs-query-orchestrator/src/orchestrator/index.ts @@ -1,4 +1,3 @@ -export * from './AsyncRedisClient'; export * from './BaseQueueDriver'; export * from './ContinueWaitError'; export * from './LocalCacheDriver'; @@ -7,10 +6,5 @@ export * from './PreAggregations'; export * from './QueryCache'; export * from './QueryOrchestrator'; export * from './QueryQueue'; -export * from './RedisCacheDriver'; -export * from './RedisFactory'; -export * from './IORedisFactory'; -export * from './RedisPool'; -export * from './RedisQueueDriver'; export * from './TimeoutError'; export * from './DriverFactory'; diff --git a/packages/cubejs-query-orchestrator/test/integration/redis/QueryCacheRedis.test.ts b/packages/cubejs-query-orchestrator/test/integration/redis/QueryCacheRedis.test.ts deleted file mode 100644 index c1822f7dae96f..0000000000000 --- a/packages/cubejs-query-orchestrator/test/integration/redis/QueryCacheRedis.test.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { getEnv } from '@cubejs-backend/shared'; -import { QueryCacheTest } from '../../unit/QueryCache.abstract'; -import { RedisPool } from '../../../src/orchestrator/RedisPool'; - -function doRedisTest(useIORedis: boolean) { - process.env.CUBEJS_REDIS_USE_IOREDIS = useIORedis; - - const title = `RedisPool, Driver: ${useIORedis ? 'plain redis' : 'ioredis'}`; - - QueryCacheTest( - title, - { - cacheAndQueueDriver: 'redis', - redisPool: new RedisPool() - } - ); - QueryCacheTest( - `${title} without pool`, - { - cacheAndQueueDriver: 'redis', - redisPool: new RedisPool({ poolMin: 0, poolMax: 0 }) - } - ); -} - -if (process.env.CUBEJS_REDIS_USE_IOREDIS !== undefined) { - doRedisTest(getEnv('redisUseIORedis')); -} else { - doRedisTest(true); - doRedisTest(false); -} diff --git a/packages/cubejs-query-orchestrator/test/integration/redis/QueryQueueRedis.test.ts b/packages/cubejs-query-orchestrator/test/integration/redis/QueryQueueRedis.test.ts deleted file mode 100644 index e362810e677dc..0000000000000 --- a/packages/cubejs-query-orchestrator/test/integration/redis/QueryQueueRedis.test.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { getEnv } from '@cubejs-backend/shared'; -import { QueryQueueTest } from '../../unit/QueryQueue.abstract'; -import { RedisPool } from '../../../src/orchestrator/RedisPool'; - -function doRedisTest(useIORedis: boolean) { - process.env.CUBEJS_REDIS_USE_IOREDIS = useIORedis; - - const title = `RedisPool, Driver: ${useIORedis ? 'plain redis' : 'ioredis'}`; - - QueryQueueTest( - title, - { - cacheAndQueueDriver: 'redis', - redisPool: new RedisPool() - } - ); - QueryQueueTest( - `${title} without pool`, - { - cacheAndQueueDriver: 'redis', - redisPool: new RedisPool({ poolMin: 0, poolMax: 0 }) - } - ); -} - -if (process.env.CUBEJS_REDIS_USE_IOREDIS !== undefined) { - doRedisTest(getEnv('redisUseIORedis')); -} else { - doRedisTest(true); - doRedisTest(false); -} diff --git a/packages/cubejs-query-orchestrator/test/unit/utils.test.ts b/packages/cubejs-query-orchestrator/test/unit/utils.test.ts deleted file mode 100644 index c1990eefe62fe..0000000000000 --- a/packages/cubejs-query-orchestrator/test/unit/utils.test.ts +++ /dev/null @@ -1,96 +0,0 @@ -import { parseRedisUrl } from '../../src/orchestrator/utils'; - -describe('parseRedisUrl', () => { - test('parse', async () => { - expect(parseRedisUrl('localhost')).toEqual({ - username: undefined, - password: undefined, - host: 'localhost', - port: 6379, - sentinels: undefined, - ssl: false, - db: undefined, - name: undefined, - }); - expect(parseRedisUrl('localhost:6666')).toEqual({ - username: undefined, - password: undefined, - host: 'localhost', - port: 6666, - sentinels: undefined, - ssl: false, - db: undefined, - name: undefined, - }); - expect(parseRedisUrl('redis://localhost/0')).toEqual({ - username: undefined, - password: undefined, - host: 'localhost', - port: 6379, - sentinels: undefined, - ssl: false, - db: 0, - name: undefined, - }); - expect(parseRedisUrl('rediss://localhost/0')).toEqual({ - username: undefined, - password: undefined, - host: 'localhost', - port: 6379, - sentinels: undefined, - ssl: true, - db: 0, - name: undefined, - }); - expect(parseRedisUrl('rediss://user:password@localhost/0')).toEqual({ - username: 'user', - password: 'password', - host: 'localhost', - port: 6379, - sentinels: undefined, - ssl: true, - db: 0, - name: undefined, - }); - expect(parseRedisUrl('rediss://user:password@localhost:6666/6')).toEqual({ - username: 'user', - password: 'password', - host: 'localhost', - port: 6666, - sentinels: undefined, - ssl: true, - db: 6, - name: undefined, - }); - expect(parseRedisUrl('unix:///path/to/socket.sock?db=6')).toEqual({ - username: undefined, - password: undefined, - host: undefined, - port: undefined, - path: '/path/to/socket.sock', - sentinels: undefined, - ssl: false, - db: 6, - name: undefined, - }); - expect(parseRedisUrl('redis+sentinel://localhost:26379,otherhost:26479/mymaster/5')).toEqual({ - username: undefined, - password: undefined, - host: undefined, - port: undefined, - sentinels: [ - { - host: 'localhost', - port: 26379, - }, - { - host: 'otherhost', - port: 26479, - } - ], - ssl: false, - db: 5, - name: 'mymaster', - }); - }); -}); diff --git a/packages/cubejs-schema-compiler/package.json b/packages/cubejs-schema-compiler/package.json index 653f011f65be0..0e55d3c85f1ac 100644 --- a/packages/cubejs-schema-compiler/package.json +++ b/packages/cubejs-schema-compiler/package.json @@ -66,7 +66,7 @@ "@types/inflection": "^1.5.28", "@types/jest": "^27", "@types/lru-cache": "^5.1.0", - "@types/node": "^16", + "@types/node": "^18", "@types/ramda": "^0.27.34", "@types/sqlstring": "^2.3.0", "@types/syntax-error": "^1.4.1", diff --git a/packages/cubejs-server-core/package.json b/packages/cubejs-server-core/package.json index 73addcd740f58..dcce289eecb72 100644 --- a/packages/cubejs-server-core/package.json +++ b/packages/cubejs-server-core/package.json @@ -66,7 +66,7 @@ "@types/jest": "^27", "@types/jsonwebtoken": "^9.0.2", "@types/lru-cache": "^5.1.0", - "@types/node": "^16", + "@types/node": "^18", "@types/node-fetch": "^2.5.7", "@types/ramda": "^0.27.34", "@types/uuid": "^8.3.0", diff --git a/packages/cubejs-server-core/src/core/optionsValidate.ts b/packages/cubejs-server-core/src/core/optionsValidate.ts index 7f370fb2fb51e..576271cdbc4fd 100644 --- a/packages/cubejs-server-core/src/core/optionsValidate.ts +++ b/packages/cubejs-server-core/src/core/optionsValidate.ts @@ -70,14 +70,13 @@ const schemaOptions = Joi.object().keys({ externalDialectFactory: Joi.func(), externalDriverFactory: Joi.func(), // - cacheAndQueueDriver: Joi.string().valid('cubestore', 'redis', 'memory'), + cacheAndQueueDriver: Joi.string().valid('cubestore', 'memory'), contextToAppId: Joi.func(), contextToOrchestratorId: Joi.func(), contextToDataSourceId: Joi.func(), contextToApiScopes: Joi.func(), repositoryFactory: Joi.func(), checkAuth: Joi.func(), - checkAuthMiddleware: Joi.func(), jwt: jwtOptions, queryTransformer: Joi.func(), queryRewrite: Joi.func(), @@ -106,27 +105,6 @@ const schemaOptions = Joi.object().keys({ Joi.func(), Joi.object().strict(true).keys({ redisPrefix: Joi.string().allow(''), - redisPoolOptions: Joi.object().strict(true).keys({ - poolMin: Joi.number().min(0), - poolMax: Joi.number().min(0), - idleTimeoutSeconds: Joi.number().min(0), - softIdleTimeoutSeconds: Joi.number().min(0), - createClient: Joi.func(), - destroyClient: Joi.func(), - poolOptions: Joi.object().keys({ - maxWaitingClients: Joi.number(), - testOnBorrow: Joi.bool(), - testOnReturn: Joi.bool(), - acquireTimeoutMillis: Joi.number(), - fifo: Joi.bool(), - priorityRange: Joi.number(), - autostart: Joi.bool(), - evictionRunIntervalMillis: Joi.number().min(0), - numTestsPerEvictionRun: Joi.number().min(1), - softIdleTimeoutMillis: Joi.number().min(0), - idleTimeoutMillis: Joi.number().min(0), - }) - }), continueWaitTimeout: Joi.number().min(0).max(90).integer(), skipExternalCacheAndQueue: Joi.boolean(), queryCacheOptions: Joi.object().keys({ diff --git a/packages/cubejs-server-core/src/core/server.ts b/packages/cubejs-server-core/src/core/server.ts index 08397e5e833d5..72e6d9130bd9c 100644 --- a/packages/cubejs-server-core/src/core/server.ts +++ b/packages/cubejs-server-core/src/core/server.ts @@ -443,7 +443,6 @@ export class CubejsServerCore { standalone: this.standalone, dataSourceStorage: this.orchestratorStorage, basePath: this.options.basePath, - checkAuthMiddleware: this.options.checkAuthMiddleware, contextRejectionMiddleware: this.contextRejectionMiddleware.bind(this), wsContextAcceptor: this.contextAcceptor.shouldAcceptWs.bind(this.contextAcceptor), checkAuth: this.options.checkAuth, diff --git a/packages/cubejs-server-core/src/core/types.ts b/packages/cubejs-server-core/src/core/types.ts index 09d25c5fc6f4b..763f86b6051cb 100644 --- a/packages/cubejs-server-core/src/core/types.ts +++ b/packages/cubejs-server-core/src/core/types.ts @@ -1,7 +1,6 @@ import { Required, SchemaFileRepository } from '@cubejs-backend/shared'; import { CheckAuthFn, - CheckAuthMiddlewareFn, ExtendContextFn, JWTOptions, UserBackgroundContext, @@ -10,7 +9,7 @@ import { CanSwitchSQLUserFn, ContextToApiScopesFn, } from '@cubejs-backend/api-gateway'; -import { BaseDriver, RedisPoolOptions, CacheAndQueryDriverType } from '@cubejs-backend/query-orchestrator'; +import { BaseDriver, CacheAndQueryDriverType } from '@cubejs-backend/query-orchestrator'; import { BaseQuery } from '@cubejs-backend/schema-compiler'; export interface QueueOptions { @@ -45,7 +44,6 @@ export interface PreAggregationsOptions { export interface OrchestratorOptions { redisPrefix?: string; - redisPoolOptions?: RedisPoolOptions; queryCacheOptions?: QueryCacheOptions; preAggregationsOptions?: PreAggregationsOptions; rollupOnlyMode?: boolean; @@ -76,7 +74,6 @@ export interface OrchestratorInitedOptions { queryCacheOptions: QueryInitedOptions; preAggregationsOptions: AggsInitedOptions; redisPrefix?: string; - redisPoolOptions?: RedisPoolOptions; rollupOnlyMode?: boolean; testConnectionTimeout?: number; } @@ -182,7 +179,6 @@ export interface CreateOptions { contextToOrchestratorId?: ContextToOrchestratorIdFn; contextToApiScopes?: ContextToApiScopesFn; repositoryFactory?: (context: RequestContext) => SchemaFileRepository; - checkAuthMiddleware?: CheckAuthMiddlewareFn; checkAuth?: CheckAuthFn; checkSqlAuth?: CheckSQLAuthFn; canSwitchSqlUser?: CanSwitchSQLUserFn; diff --git a/packages/cubejs-server-core/test/unit/OptsHandler.test.ts b/packages/cubejs-server-core/test/unit/OptsHandler.test.ts index 7fee153ccd0e7..ed956318fa88d 100644 --- a/packages/cubejs-server-core/test/unit/OptsHandler.test.ts +++ b/packages/cubejs-server-core/test/unit/OptsHandler.test.ts @@ -53,11 +53,7 @@ const conf = { externalDriverFactory: async () => ({ testConnection: async () => undefined, }), - orchestratorOptions: () => ({ - redisPoolOptions: { - createClient: async () => undefined - }, - }), + orchestratorOptions: () => ({}), }; describe('OptsHandler class', () => { @@ -789,7 +785,7 @@ describe('OptsHandler class', () => { }); opts = ( await core.getOrchestratorApi({})).options; driver = (await core.resolveDriver({})); - + expect(driver.pool.options.max).toEqual(8); expect(driver.testConnectionTimeout()).toEqual(testConnectionTimeout); @@ -1020,9 +1016,6 @@ describe('OptsHandler class', () => { database: 'database', }), orchestratorOptions: () => ({ - redisPoolOptions: { - createClient: async () => undefined - }, preAggregationsOptions: { externalRefresh: true, }, diff --git a/packages/cubejs-server-core/test/unit/index.test.ts b/packages/cubejs-server-core/test/unit/index.test.ts index 8aced43350322..ec848266b3ac0 100644 --- a/packages/cubejs-server-core/test/unit/index.test.ts +++ b/packages/cubejs-server-core/test/unit/index.test.ts @@ -225,12 +225,11 @@ describe('index.test', () => { release: () => {} }, externalDialectFactory: () => {}, - cacheAndQueueDriver: 'redis', + cacheAndQueueDriver: 'cubestore', contextToAppId: () => 'STANDALONE', contextToOrchestratorId: () => 'EMPTY', repositoryFactory: () => {}, checkAuth: () => {}, - checkAuthMiddleware: () => {}, queryTransformer: () => {}, preAggregationsSchema: () => {}, schemaVersion: () => {}, @@ -313,7 +312,7 @@ describe('index.test', () => { expect(createOrchestratorApiSpy.mock.calls[0]).toEqual([ expect.any(Function), { - cacheAndQueueDriver: 'redis', + cacheAndQueueDriver: 'cubestore', contextToDbType: expect.any(Function), contextToExternalDbType: expect.any(Function), continueWaitTimeout: 10, @@ -424,7 +423,7 @@ describe('index.test', () => { dataSource: 'main', dbType: 'mysql', }]); - + expect(dataSourcesSpy).toHaveBeenCalled(); dataSourcesSpy.mockClear(); }); diff --git a/packages/cubejs-server/package.json b/packages/cubejs-server/package.json index d964f142ba953..c35caf2c702f1 100644 --- a/packages/cubejs-server/package.json +++ b/packages/cubejs-server/package.json @@ -67,7 +67,7 @@ "@types/body-parser": "^1.19.0", "@types/cors": "^2.8.8", "@types/express": "^4.17.11", - "@types/node": "^16", + "@types/node": "^18", "@types/semver": "^7.3.4", "@types/ws": "^7.2.9", "@types/yarnpkg__lockfile": "^1.1.4", diff --git a/packages/cubejs-testing-drivers/package.json b/packages/cubejs-testing-drivers/package.json index 28b4c2ec9be12..f278ae47a5a4d 100644 --- a/packages/cubejs-testing-drivers/package.json +++ b/packages/cubejs-testing-drivers/package.json @@ -66,7 +66,7 @@ "@cubejs-client/ws-transport": "^0.35.23", "@jest/globals": "^27", "@types/jest": "^27", - "@types/node": "^16", + "@types/node": "^18", "dotenv": "^16.0.3", "fs-extra": "^11.1.1", "jest": "^27", diff --git a/packages/cubejs-testing-drivers/src/tests/testQueries.ts b/packages/cubejs-testing-drivers/src/tests/testQueries.ts index 66ce846b6d5df..edf8ca70d6643 100644 --- a/packages/cubejs-testing-drivers/src/tests/testQueries.ts +++ b/packages/cubejs-testing-drivers/src/tests/testQueries.ts @@ -1816,7 +1816,7 @@ from ROLLUP(row, order) ORDER BY "rowId" ASC NULLS FIRST, "orderId" ASC NULLS FIRST OFFSET 0 ROWS FETCH FIRST 100 ROWS ONLY ) q1 - ) q2 limit 100 + ) q2 ORDER BY q2.order, q2.row DESC limit 100 `); expect(res.rows).toMatchSnapshot('extended_nested_rollup_over_asterisk'); diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/clickhouse-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/clickhouse-full.test.ts.snap index 85a71cf629f60..806b0c7a4ff32 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/clickhouse-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/clickhouse-full.test.ts.snap @@ -1,1783 +1,5047 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Queries with the @cubejs-backend/clickhouse-driver SQL API: post-aggregate percentage of total: post_aggregate_percentage_of_total 1`] = ` -Array [ - Object { - "SUM(BigECommerce.percentageOfTotalForStatus)": 100, - }, -] -`; - -exports[`Queries with the @cubejs-backend/clickhouse-driver SQL API: powerbi min max push down: powerbi_min_max_push_down 1`] = ` +exports[`Queries with the @cubejs-backend/clickhouse-driver SQL API: Complex Rollup: complex_rollup 1`] = ` Array [ Object { - "a0": 2020-12-25T00:00:00.000Z, - "a1": 2020-01-01T00:00:00.000Z, + "SUM(ECommerce.count)": "1", + "city": "Detroit", + "orderDate": 2020-01-23T00:00:00.000Z, + "orderId": "CA-2017-145142", + "rowId": 523, }, -] -`; - -exports[`Queries with the @cubejs-backend/clickhouse-driver SQL API: powerbi min max ungrouped flag: powerbi_min_max_ungrouped_flag 1`] = ` -Array [ Object { - "a0": "39", - "a1": 3.76, - "a2": 2399.96, + "SUM(ECommerce.count)": "1", + "city": "Lorain", + "orderDate": 2020-01-01T00:00:00.000Z, + "orderId": "CA-2017-107503", + "rowId": 849, }, -] -`; - -exports[`Queries with the @cubejs-backend/clickhouse-driver SQL API: reuse params: reuse_params 1`] = ` -Array [ Object { - "c0": 2020-01-01T00:00:00.000Z, - "m0": 17372, + "SUM(ECommerce.count)": "1", + "city": "Olympia", + "orderDate": 2020-06-17T00:00:00.000Z, + "orderId": "CA-2017-118437", + "rowId": 1013, }, -] -`; - -exports[`Queries with the @cubejs-backend/clickhouse-driver SQL API: ungrouped pre-agg: ungrouped_pre_agg 1`] = ` -Array [ Object { - "productName": "Canon PC1080F Personal Copier", - "totalSales": 2399.96, + "SUM(ECommerce.count)": "1", + "city": "Vancouver", + "orderDate": 2020-10-30T00:00:00.000Z, + "orderId": "CA-2017-139661", + "rowId": 1494, }, Object { - "productName": "Logitech di_Novo Edge Keyboard", - "totalSales": 2249.91, + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-06-25T00:00:00.000Z, + "orderId": "CA-2017-133648", + "rowId": 1995, }, Object { - "productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", - "totalSales": 2154.9, + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-09-23T00:00:00.000Z, + "orderId": "CA-2017-138422", + "rowId": 2329, }, Object { - "productName": "Google Nexus 5", - "totalSales": 1979.89, + "SUM(ECommerce.count)": "1", + "city": "New York City", + "orderDate": 2020-03-17T00:00:00.000Z, + "orderId": "CA-2017-140949", + "rowId": 2455, }, Object { - "productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", - "totalSales": 1292.94, + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-05-13T00:00:00.000Z, + "orderId": "CA-2017-149048", + "rowId": 2595, }, Object { - "productName": "Canon PC1080F Personal Copier", - "totalSales": 1199.98, + "SUM(ECommerce.count)": "1", + "city": "Provo", + "orderDate": 2020-09-17T00:00:00.000Z, + "orderId": "CA-2017-112515", + "rowId": 2655, }, Object { - "productName": "Hewlett Packard 610 Color Digital Copier / Printer", - "totalSales": 899.982, + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-11-28T00:00:00.000Z, + "orderId": "CA-2017-123372", + "rowId": 2661, }, Object { - "productName": "Okidata C610n Printer", - "totalSales": 649, + "SUM(ECommerce.count)": "1", + "city": "Glendale", + "orderDate": 2020-11-12T00:00:00.000Z, + "orderId": "CA-2017-134915", + "rowId": 2952, }, Object { - "productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", - "totalSales": 600, + "SUM(ECommerce.count)": "1", + "city": "San Francisco", + "orderDate": 2020-10-19T00:00:00.000Z, + "orderId": "CA-2017-131492", + "rowId": 3059, }, Object { - "productName": "Google Nexus 6", - "totalSales": 539.97, + "SUM(ECommerce.count)": "1", + "city": "San Francisco", + "orderDate": 2020-10-19T00:00:00.000Z, + "orderId": "CA-2017-131492", + "rowId": 3060, }, Object { - "productName": "Google Nexus 7", - "totalSales": 539.97, + "SUM(ECommerce.count)": "1", + "city": "Louisville", + "orderDate": 2020-05-27T00:00:00.000Z, + "orderId": "US-2017-132297", + "rowId": 3083, }, Object { - "productName": "Harbour Creations 67200 Series Stacking Chairs", - "totalSales": 498.26, + "SUM(ECommerce.count)": "1", + "city": "Auburn", + "orderDate": 2020-06-11T00:00:00.000Z, + "orderId": "CA-2017-102554", + "rowId": 3448, }, Object { - "productName": "DMI Eclipse Executive Suite Bookcases", - "totalSales": 400.784, + "SUM(ECommerce.count)": "1", + "city": "Omaha", + "orderDate": 2020-05-29T00:00:00.000Z, + "orderId": "CA-2017-144568", + "rowId": 3717, }, Object { - "productName": "HTC One", - "totalSales": 239.976, + "SUM(ECommerce.count)": "1", + "city": "Bakersfield", + "orderDate": 2020-09-02T00:00:00.000Z, + "orderId": "CA-2017-123001", + "rowId": 3934, }, Object { - "productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", - "totalSales": 232.88, + "SUM(ECommerce.count)": "1", + "city": "Philadelphia", + "orderDate": 2020-11-21T00:00:00.000Z, + "orderId": "CA-2017-100811", + "rowId": 4012, }, Object { - "productName": "Balt Solid Wood Rectangular Table", - "totalSales": 210.98, + "SUM(ECommerce.count)": "1", + "city": "Lafayette", + "orderDate": 2020-12-24T00:00:00.000Z, + "orderId": "CA-2017-124296", + "rowId": 4031, }, Object { - "productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", - "totalSales": 180.96, + "SUM(ECommerce.count)": "1", + "city": "New York City", + "orderDate": 2020-05-14T00:00:00.000Z, + "orderId": "CA-2017-115546", + "rowId": 4161, }, Object { - "productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", - "totalSales": 179.9, + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-11-11T00:00:00.000Z, + "orderId": "CA-2017-120327", + "rowId": 4227, }, Object { - "productName": "Harbour Creations 67200 Series Stacking Chairs", - "totalSales": 128.124, + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-11-02T00:00:00.000Z, + "orderId": "CA-2017-143567", + "rowId": 4882, }, Object { - "productName": "Harbour Creations 67200 Series Stacking Chairs", - "totalSales": 113.888, + "SUM(ECommerce.count)": "1", + "city": "Detroit", + "orderDate": 2020-09-01T00:00:00.000Z, + "orderId": "CA-2017-145653", + "rowId": 5220, }, Object { - "productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", - "totalSales": 86.352, + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-12-14T00:00:00.000Z, + "orderId": "CA-2017-147333", + "rowId": 5277, }, Object { - "productName": "Kingston Digital DataTraveler 16GB USB 2.2", - "totalSales": 71.6, + "SUM(ECommerce.count)": "1", + "city": "Los Angeles", + "orderDate": 2020-06-03T00:00:00.000Z, + "orderId": "CA-2017-145772", + "rowId": 6125, }, Object { - "productName": "Linden 10 Round Wall Clock, Black", - "totalSales": 48.896, + "SUM(ECommerce.count)": "1", + "city": "Marion", + "orderDate": 2020-12-01T00:00:00.000Z, + "orderId": "CA-2017-145660", + "rowId": 6205, }, Object { - "productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", - "totalSales": 45.92, + "SUM(ECommerce.count)": "1", + "city": "Oakland", + "orderDate": 2020-12-02T00:00:00.000Z, + "orderId": "CA-2017-102379", + "rowId": 6272, }, Object { - "productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", - "totalSales": 45.92, + "SUM(ECommerce.count)": "1", + "city": "Baltimore", + "orderDate": 2020-05-14T00:00:00.000Z, + "orderId": "US-2017-133361", + "rowId": 6459, }, Object { - "productName": "Kingston Digital DataTraveler 16GB USB 2.0", - "totalSales": 44.75, + "SUM(ECommerce.count)": "1", + "city": "Arlington", + "orderDate": 2020-09-08T00:00:00.000Z, + "orderId": "US-2017-124779", + "rowId": 6651, }, Object { - "productName": "Kingston Digital DataTraveler 16GB USB 2.1", - "totalSales": 44.75, + "SUM(ECommerce.count)": "1", + "city": "Houston", + "orderDate": 2020-03-26T00:00:00.000Z, + "orderId": "US-2017-141677", + "rowId": 7174, }, Object { - "productName": "Recycled Eldon Regeneration Jumbo File", - "totalSales": 39.296, + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-12-04T00:00:00.000Z, + "orderId": "CA-2017-109183", + "rowId": 7293, }, Object { - "productName": "Linden 10 Round Wall Clock, Black", - "totalSales": 36.672, + "SUM(ECommerce.count)": "1", + "city": "New York City", + "orderDate": 2020-06-10T00:00:00.000Z, + "orderId": "CA-2017-112172", + "rowId": 7310, }, Object { - "productName": "Linden 10 Round Wall Clock, Black", - "totalSales": 30.56, + "SUM(ECommerce.count)": "1", + "city": "Philadelphia", + "orderDate": 2020-04-10T00:00:00.000Z, + "orderId": "CA-2017-135069", + "rowId": 7425, }, Object { - "productName": "Linden 10 Round Wall Clock, Black", - "totalSales": 30.56, + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-12-14T00:00:00.000Z, + "orderId": "CA-2017-151799", + "rowId": 7698, }, Object { - "productName": "Anderson Hickey Conga Table Tops & Accessories", - "totalSales": 24.368, + "SUM(ECommerce.count)": "1", + "city": "Lakewood", + "orderDate": 2020-10-12T00:00:00.000Z, + "orderId": "CA-2017-150091", + "rowId": 8425, }, Object { - "productName": "Plymouth Boxed Rubber Bands by Plymouth", - "totalSales": 23.55, + "SUM(ECommerce.count)": "1", + "city": "Dallas", + "orderDate": 2020-11-06T00:00:00.000Z, + "orderId": "US-2017-119319", + "rowId": 8621, }, Object { - "productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", - "totalSales": 18.368, + "SUM(ECommerce.count)": "1", + "city": "Decatur", + "orderDate": 2020-02-16T00:00:00.000Z, + "orderId": "CA-2017-163265", + "rowId": 8673, }, Object { - "productName": "Wausau Papers Astrobrights Colored Envelopes", - "totalSales": 14.352, + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-06-15T00:00:00.000Z, + "orderId": "CA-2017-119284", + "rowId": 8697, }, Object { - "productName": "Plymouth Boxed Rubber Bands by Plymouth", - "totalSales": 14.13, + "SUM(ECommerce.count)": "1", + "city": "Morristown", + "orderDate": 2020-09-17T00:00:00.000Z, + "orderId": "CA-2017-126928", + "rowId": 8878, }, Object { - "productName": "Project Tote Personal File", - "totalSales": 14.03, + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-12-25T00:00:00.000Z, + "orderId": "CA-2017-105620", + "rowId": 8958, }, Object { - "productName": "Plymouth Boxed Rubber Bands by Plymouth", - "totalSales": 11.304, + "SUM(ECommerce.count)": "1", + "city": "New York City", + "orderDate": 2020-11-05T00:00:00.000Z, + "orderId": "CA-2017-102925", + "rowId": 9473, }, Object { - "productName": "Magna Visual Magnetic Picture Hangers", - "totalSales": 9.64, + "SUM(ECommerce.count)": "1", + "city": "New York City", + "orderDate": 2020-06-25T00:00:00.000Z, + "orderId": "CA-2017-116127", + "rowId": 9584, }, Object { - "productName": "OIC #2 Pencils, Medium Soft", - "totalSales": 9.4, + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "orderDate": 2020-11-16T00:00:00.000Z, + "orderId": "CA-2017-160633", + "rowId": 9618, }, Object { - "productName": "Magna Visual Magnetic Picture Hangers", - "totalSales": 7.712, + "SUM(ECommerce.count)": "1", + "city": "Bowling", + "orderDate": 2020-11-16T00:00:00.000Z, + "orderId": "CA-2017-160633", + "rowId": 9619, }, +] +`; + +exports[`Queries with the @cubejs-backend/clickhouse-driver SQL API: Extended nested Rollup over asterisk: extended_nested_rollup_over_asterisk 1`] = ` +Array [ Object { - "productName": "OIC #2 Pencils, Medium Soft", - "totalSales": 3.76, + "SUM(a.count)": "1", + "order": "CA-2017-100811", + "row": 4012, }, Object { - "productName": "OIC #2 Pencils, Medium Soft", - "totalSales": 3.76, + "SUM(a.count)": "1", + "order": "CA-2017-102379", + "row": 6272, }, Object { - "productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", - "totalSales": null, + "SUM(a.count)": "1", + "order": "CA-2017-102554", + "row": 3448, }, -] -`; - -exports[`Queries with the @cubejs-backend/clickhouse-driver filtering Customers: contains + dimensions, first 1`] = ` -Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "SUM(a.count)": "1", + "order": "CA-2017-102925", + "row": 9473, }, Object { - "Customers.customerId": "AJ-10780", - "Customers.customerName": "Customer 2", + "SUM(a.count)": "1", + "order": "CA-2017-105620", + "row": 8958, }, Object { - "Customers.customerId": "AS-10225", - "Customers.customerName": "Customer 3", + "SUM(a.count)": "1", + "order": "CA-2017-107503", + "row": 849, }, Object { - "Customers.customerId": "AW-10840", - "Customers.customerName": "Customer 4", + "SUM(a.count)": "1", + "order": "CA-2017-109183", + "row": 7293, }, Object { - "Customers.customerId": "BB-11545", - "Customers.customerName": "Customer 5", + "SUM(a.count)": "1", + "order": "CA-2017-112172", + "row": 7310, }, Object { - "Customers.customerId": "BF-11020", - "Customers.customerName": "Customer 6", + "SUM(a.count)": "1", + "order": "CA-2017-112515", + "row": 2655, }, Object { - "Customers.customerId": "BF-11170", - "Customers.customerName": "Customer 7", + "SUM(a.count)": "1", + "order": "CA-2017-115546", + "row": 4161, }, Object { - "Customers.customerId": "BM-11650", - "Customers.customerName": "Customer 8", + "SUM(a.count)": "1", + "order": "CA-2017-116127", + "row": 9584, }, Object { - "Customers.customerId": "BS-11380", - "Customers.customerName": "Customer 9", + "SUM(a.count)": "1", + "order": "CA-2017-118437", + "row": 1013, }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "SUM(a.count)": "1", + "order": "CA-2017-119284", + "row": 8697, }, Object { - "Customers.customerId": "CA-12775", - "Customers.customerName": "Customer 11", + "SUM(a.count)": "1", + "order": "CA-2017-120327", + "row": 4227, }, Object { - "Customers.customerId": "CC-12475", - "Customers.customerName": "Customer 12", + "SUM(a.count)": "1", + "order": "CA-2017-123001", + "row": 3934, }, Object { - "Customers.customerId": "CD-12280", - "Customers.customerName": "Customer 13", + "SUM(a.count)": "1", + "order": "CA-2017-123372", + "row": 2661, }, Object { - "Customers.customerId": "CS-12355", - "Customers.customerName": "Customer 14", + "SUM(a.count)": "1", + "order": "CA-2017-124296", + "row": 4031, }, Object { - "Customers.customerId": "DB-13405", - "Customers.customerName": "Customer 15", + "SUM(a.count)": "1", + "order": "CA-2017-126928", + "row": 8878, }, Object { - "Customers.customerId": "DG-13300", - "Customers.customerName": "Customer 16", + "SUM(a.count)": "1", + "order": "CA-2017-131492", + "row": 3060, }, Object { - "Customers.customerId": "DW-13480", - "Customers.customerName": "Customer 17", + "SUM(a.count)": "1", + "order": "CA-2017-131492", + "row": 3059, }, Object { - "Customers.customerId": "EM-14140", - "Customers.customerName": "Customer 18", + "SUM(a.count)": "1", + "order": "CA-2017-133648", + "row": 1995, }, Object { - "Customers.customerId": "GA-14725", - "Customers.customerName": "Customer 19", + "SUM(a.count)": "1", + "order": "CA-2017-134915", + "row": 2952, }, Object { - "Customers.customerId": "GZ-14470", - "Customers.customerName": "Customer 20", + "SUM(a.count)": "1", + "order": "CA-2017-135069", + "row": 7425, }, Object { - "Customers.customerId": "HH-15010", - "Customers.customerName": "Customer 21", + "SUM(a.count)": "1", + "order": "CA-2017-138422", + "row": 2329, }, Object { - "Customers.customerId": "HK-14890", - "Customers.customerName": "Customer 22", + "SUM(a.count)": "1", + "order": "CA-2017-139661", + "row": 1494, }, Object { - "Customers.customerId": "JH-15430", - "Customers.customerName": "Customer 23", + "SUM(a.count)": "1", + "order": "CA-2017-140949", + "row": 2455, }, Object { - "Customers.customerId": "JO-15550", - "Customers.customerName": "Customer 24", + "SUM(a.count)": "1", + "order": "CA-2017-143567", + "row": 4882, }, Object { - "Customers.customerId": "JS-16030", - "Customers.customerName": "Customer 25", + "SUM(a.count)": "1", + "order": "CA-2017-144568", + "row": 3717, }, Object { - "Customers.customerId": "JW-15220", - "Customers.customerName": "Customer 26", + "SUM(a.count)": "1", + "order": "CA-2017-145142", + "row": 523, }, Object { - "Customers.customerId": "KL-16555", - "Customers.customerName": "Customer 27", + "SUM(a.count)": "1", + "order": "CA-2017-145653", + "row": 5220, }, Object { - "Customers.customerId": "KN-16705", - "Customers.customerName": "Customer 28", + "SUM(a.count)": "1", + "order": "CA-2017-145660", + "row": 6205, }, Object { - "Customers.customerId": "LC-17050", - "Customers.customerName": "Customer 29", + "SUM(a.count)": "1", + "order": "CA-2017-145772", + "row": 6125, }, Object { - "Customers.customerId": "LR-16915", - "Customers.customerName": "Customer 30", + "SUM(a.count)": "1", + "order": "CA-2017-147333", + "row": 5277, }, Object { - "Customers.customerId": "MC-17605", - "Customers.customerName": "Customer 31", + "SUM(a.count)": "1", + "order": "CA-2017-149048", + "row": 2595, }, Object { - "Customers.customerId": "MG-17650", - "Customers.customerName": "Customer 32", + "SUM(a.count)": "1", + "order": "CA-2017-150091", + "row": 8425, }, Object { - "Customers.customerId": "ML-17755", - "Customers.customerName": "Customer 33", + "SUM(a.count)": "1", + "order": "CA-2017-151799", + "row": 7698, }, Object { - "Customers.customerId": "MM-18280", - "Customers.customerName": "Customer 34", + "SUM(a.count)": "1", + "order": "CA-2017-160633", + "row": 9619, }, Object { - "Customers.customerId": "NP-18670", - "Customers.customerName": "Customer 35", + "SUM(a.count)": "1", + "order": "CA-2017-160633", + "row": 9618, }, Object { - "Customers.customerId": "PF-19165", - "Customers.customerName": "Customer 36", + "SUM(a.count)": "1", + "order": "CA-2017-163265", + "row": 8673, }, Object { - "Customers.customerId": "SB-20185", - "Customers.customerName": "Customer 37", + "SUM(a.count)": "1", + "order": "US-2017-119319", + "row": 8621, }, Object { - "Customers.customerId": "SS-20140", - "Customers.customerName": "Customer 38", + "SUM(a.count)": "1", + "order": "US-2017-124779", + "row": 6651, }, Object { - "Customers.customerId": "TB-21175", - "Customers.customerName": "Customer 39", + "SUM(a.count)": "1", + "order": "US-2017-132297", + "row": 3083, }, Object { - "Customers.customerId": "TS-21205", - "Customers.customerName": "Customer 40", + "SUM(a.count)": "1", + "order": "US-2017-133361", + "row": 6459, }, Object { - "Customers.customerId": "WB-21850", - "Customers.customerName": "Customer 41", + "SUM(a.count)": "1", + "order": "US-2017-141677", + "row": 7174, }, ] `; -exports[`Queries with the @cubejs-backend/clickhouse-driver filtering Customers: contains + dimensions, second 1`] = ` +exports[`Queries with the @cubejs-backend/clickhouse-driver SQL API: Nested Rollup over asterisk: nested_rollup_over_asterisk 1`] = ` Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "SUM(a.count)": "1", + "date": 2020-06-10T00:00:00.000Z, + "order": "CA-2017-112172", + "row": 7310, }, Object { - "Customers.customerId": "AJ-10780", - "Customers.customerName": "Customer 2", + "SUM(a.count)": "1", + "date": 2020-11-12T00:00:00.000Z, + "order": "CA-2017-134915", + "row": 2952, }, Object { - "Customers.customerId": "AS-10225", - "Customers.customerName": "Customer 3", + "SUM(a.count)": "1", + "date": 2020-06-15T00:00:00.000Z, + "order": "CA-2017-119284", + "row": 8697, }, Object { - "Customers.customerId": "AW-10840", - "Customers.customerName": "Customer 4", + "SUM(a.count)": "1", + "date": 2020-12-14T00:00:00.000Z, + "order": "CA-2017-147333", + "row": 5277, }, Object { - "Customers.customerId": "BB-11545", - "Customers.customerName": "Customer 5", + "SUM(a.count)": "1", + "date": 2020-12-24T00:00:00.000Z, + "order": "CA-2017-124296", + "row": 4031, }, Object { - "Customers.customerId": "BF-11020", - "Customers.customerName": "Customer 6", + "SUM(a.count)": "1", + "date": 2020-09-01T00:00:00.000Z, + "order": "CA-2017-145653", + "row": 5220, }, Object { - "Customers.customerId": "BF-11170", - "Customers.customerName": "Customer 7", + "SUM(a.count)": "1", + "date": 2020-05-13T00:00:00.000Z, + "order": "CA-2017-149048", + "row": 2595, }, Object { - "Customers.customerId": "BM-11650", - "Customers.customerName": "Customer 8", + "SUM(a.count)": "1", + "date": 2020-03-26T00:00:00.000Z, + "order": "US-2017-141677", + "row": 7174, }, Object { - "Customers.customerId": "BS-11380", - "Customers.customerName": "Customer 9", + "SUM(a.count)": "1", + "date": 2020-09-02T00:00:00.000Z, + "order": "CA-2017-123001", + "row": 3934, }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "SUM(a.count)": "1", + "date": 2020-11-16T00:00:00.000Z, + "order": "CA-2017-160633", + "row": 9618, }, Object { - "Customers.customerId": "CA-12775", - "Customers.customerName": "Customer 11", + "SUM(a.count)": "1", + "date": 2020-06-03T00:00:00.000Z, + "order": "CA-2017-145772", + "row": 6125, }, Object { - "Customers.customerId": "CC-12475", - "Customers.customerName": "Customer 12", + "SUM(a.count)": "1", + "date": 2020-01-01T00:00:00.000Z, + "order": "CA-2017-107503", + "row": 849, }, Object { - "Customers.customerId": "CD-12280", - "Customers.customerName": "Customer 13", + "SUM(a.count)": "1", + "date": 2020-06-11T00:00:00.000Z, + "order": "CA-2017-102554", + "row": 3448, }, Object { - "Customers.customerId": "CS-12355", - "Customers.customerName": "Customer 14", + "SUM(a.count)": "1", + "date": 2020-11-05T00:00:00.000Z, + "order": "CA-2017-102925", + "row": 9473, }, Object { - "Customers.customerId": "DB-13405", - "Customers.customerName": "Customer 15", + "SUM(a.count)": "1", + "date": 2020-12-01T00:00:00.000Z, + "order": "CA-2017-145660", + "row": 6205, }, Object { - "Customers.customerId": "DG-13300", - "Customers.customerName": "Customer 16", + "SUM(a.count)": "1", + "date": 2020-05-14T00:00:00.000Z, + "order": "US-2017-133361", + "row": 6459, }, Object { - "Customers.customerId": "DW-13480", - "Customers.customerName": "Customer 17", + "SUM(a.count)": "1", + "date": 2020-11-16T00:00:00.000Z, + "order": "CA-2017-160633", + "row": 9619, }, Object { - "Customers.customerId": "EM-14140", - "Customers.customerName": "Customer 18", + "SUM(a.count)": "1", + "date": 2020-03-17T00:00:00.000Z, + "order": "CA-2017-140949", + "row": 2455, }, Object { - "Customers.customerId": "GA-14725", - "Customers.customerName": "Customer 19", + "SUM(a.count)": "1", + "date": 2020-12-04T00:00:00.000Z, + "order": "CA-2017-109183", + "row": 7293, }, Object { - "Customers.customerId": "GZ-14470", - "Customers.customerName": "Customer 20", + "SUM(a.count)": "1", + "date": 2020-01-23T00:00:00.000Z, + "order": "CA-2017-145142", + "row": 523, }, Object { - "Customers.customerId": "HH-15010", - "Customers.customerName": "Customer 21", + "SUM(a.count)": "1", + "date": 2020-10-30T00:00:00.000Z, + "order": "CA-2017-139661", + "row": 1494, }, Object { - "Customers.customerId": "HK-14890", - "Customers.customerName": "Customer 22", + "SUM(a.count)": "1", + "date": 2020-05-27T00:00:00.000Z, + "order": "US-2017-132297", + "row": 3083, }, Object { - "Customers.customerId": "JH-15430", - "Customers.customerName": "Customer 23", + "SUM(a.count)": "1", + "date": 2020-06-25T00:00:00.000Z, + "order": "CA-2017-116127", + "row": 9584, }, Object { - "Customers.customerId": "JO-15550", - "Customers.customerName": "Customer 24", + "SUM(a.count)": "1", + "date": 2020-05-29T00:00:00.000Z, + "order": "CA-2017-144568", + "row": 3717, }, Object { - "Customers.customerId": "JS-16030", - "Customers.customerName": "Customer 25", + "SUM(a.count)": "1", + "date": 2020-12-25T00:00:00.000Z, + "order": "CA-2017-105620", + "row": 8958, }, Object { - "Customers.customerId": "JW-15220", - "Customers.customerName": "Customer 26", + "SUM(a.count)": "1", + "date": 2020-06-25T00:00:00.000Z, + "order": "CA-2017-133648", + "row": 1995, }, Object { - "Customers.customerId": "KL-16555", - "Customers.customerName": "Customer 27", + "SUM(a.count)": "1", + "date": 2020-12-14T00:00:00.000Z, + "order": "CA-2017-151799", + "row": 7698, }, Object { - "Customers.customerId": "KN-16705", - "Customers.customerName": "Customer 28", + "SUM(a.count)": "1", + "date": 2020-10-12T00:00:00.000Z, + "order": "CA-2017-150091", + "row": 8425, }, Object { - "Customers.customerId": "LC-17050", - "Customers.customerName": "Customer 29", + "SUM(a.count)": "1", + "date": 2020-09-17T00:00:00.000Z, + "order": "CA-2017-126928", + "row": 8878, }, Object { - "Customers.customerId": "LR-16915", - "Customers.customerName": "Customer 30", + "SUM(a.count)": "1", + "date": 2020-11-02T00:00:00.000Z, + "order": "CA-2017-143567", + "row": 4882, }, Object { - "Customers.customerId": "MC-17605", - "Customers.customerName": "Customer 31", + "SUM(a.count)": "1", + "date": 2020-12-02T00:00:00.000Z, + "order": "CA-2017-102379", + "row": 6272, }, Object { - "Customers.customerId": "MG-17650", - "Customers.customerName": "Customer 32", + "SUM(a.count)": "1", + "date": 2020-09-08T00:00:00.000Z, + "order": "US-2017-124779", + "row": 6651, }, Object { - "Customers.customerId": "ML-17755", - "Customers.customerName": "Customer 33", + "SUM(a.count)": "1", + "date": 2020-06-17T00:00:00.000Z, + "order": "CA-2017-118437", + "row": 1013, }, Object { - "Customers.customerId": "MM-18280", - "Customers.customerName": "Customer 34", + "SUM(a.count)": "1", + "date": 2020-09-23T00:00:00.000Z, + "order": "CA-2017-138422", + "row": 2329, }, Object { - "Customers.customerId": "NP-18670", - "Customers.customerName": "Customer 35", + "SUM(a.count)": "1", + "date": 2020-09-17T00:00:00.000Z, + "order": "CA-2017-112515", + "row": 2655, }, Object { - "Customers.customerId": "PF-19165", - "Customers.customerName": "Customer 36", + "SUM(a.count)": "1", + "date": 2020-05-14T00:00:00.000Z, + "order": "CA-2017-115546", + "row": 4161, }, Object { - "Customers.customerId": "SB-20185", - "Customers.customerName": "Customer 37", + "SUM(a.count)": "1", + "date": 2020-11-21T00:00:00.000Z, + "order": "CA-2017-100811", + "row": 4012, }, Object { - "Customers.customerId": "SS-20140", - "Customers.customerName": "Customer 38", + "SUM(a.count)": "1", + "date": 2020-11-28T00:00:00.000Z, + "order": "CA-2017-123372", + "row": 2661, }, Object { - "Customers.customerId": "TB-21175", - "Customers.customerName": "Customer 39", + "SUM(a.count)": "1", + "date": 2020-10-19T00:00:00.000Z, + "order": "CA-2017-131492", + "row": 3059, }, Object { - "Customers.customerId": "TS-21205", - "Customers.customerName": "Customer 40", + "SUM(a.count)": "1", + "date": 2020-04-10T00:00:00.000Z, + "order": "CA-2017-135069", + "row": 7425, }, Object { - "Customers.customerId": "WB-21850", - "Customers.customerName": "Customer 41", + "SUM(a.count)": "1", + "date": 2020-10-19T00:00:00.000Z, + "order": "CA-2017-131492", + "row": 3060, }, -] -`; - -exports[`Queries with the @cubejs-backend/clickhouse-driver filtering Customers: contains + dimensions, third 1`] = `Array []`; - -exports[`Queries with the @cubejs-backend/clickhouse-driver filtering Products: contains with special chars + dimensions 1`] = ` -Array [ Object { - "Products.productName": "Logitech di_Novo Edge Keyboard", + "SUM(a.count)": "1", + "date": 2020-11-06T00:00:00.000Z, + "order": "US-2017-119319", + "row": 8621, + }, + Object { + "SUM(a.count)": "1", + "date": 2020-11-11T00:00:00.000Z, + "order": "CA-2017-120327", + "row": 4227, + }, + Object { + "SUM(a.count)": "1", + "date": 2020-02-16T00:00:00.000Z, + "order": "CA-2017-163265", + "row": 8673, }, ] `; -exports[`Queries with the @cubejs-backend/clickhouse-driver filtering Customers: endsWith filter + dimensions, first 1`] = ` +exports[`Queries with the @cubejs-backend/clickhouse-driver SQL API: Nested Rollup with aliases: nested_rollup_with_aliases 1`] = ` Array [ Object { - "Customers.customerId": "AJ-10780", - "Customers.customerName": "Customer 2", + "SUM(a.cnt)": "44", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 0, }, Object { - "Customers.customerId": "AW-10840", - "Customers.customerName": "Customer 4", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 523, }, Object { - "Customers.customerId": "BF-11020", - "Customers.customerName": "Customer 6", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-145142", + "row": 523, }, Object { - "Customers.customerId": "BF-11170", - "Customers.customerName": "Customer 7", + "SUM(a.cnt)": "1", + "date": 2020-01-23T00:00:00.000Z, + "order": "CA-2017-145142", + "row": 523, }, Object { - "Customers.customerId": "BM-11650", - "Customers.customerName": "Customer 8", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 849, }, Object { - "Customers.customerId": "BS-11380", - "Customers.customerName": "Customer 9", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-107503", + "row": 849, }, Object { - "Customers.customerId": "CD-12280", - "Customers.customerName": "Customer 13", + "SUM(a.cnt)": "1", + "date": 2020-01-01T00:00:00.000Z, + "order": "CA-2017-107503", + "row": 849, }, Object { - "Customers.customerId": "DG-13300", - "Customers.customerName": "Customer 16", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 1013, }, Object { - "Customers.customerId": "DW-13480", - "Customers.customerName": "Customer 17", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-118437", + "row": 1013, }, Object { - "Customers.customerId": "EM-14140", - "Customers.customerName": "Customer 18", + "SUM(a.cnt)": "1", + "date": 2020-06-17T00:00:00.000Z, + "order": "CA-2017-118437", + "row": 1013, }, Object { - "Customers.customerId": "GZ-14470", - "Customers.customerName": "Customer 20", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 1494, }, Object { - "Customers.customerId": "HH-15010", - "Customers.customerName": "Customer 21", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-139661", + "row": 1494, }, Object { - "Customers.customerId": "HK-14890", - "Customers.customerName": "Customer 22", + "SUM(a.cnt)": "1", + "date": 2020-10-30T00:00:00.000Z, + "order": "CA-2017-139661", + "row": 1494, }, Object { - "Customers.customerId": "JH-15430", - "Customers.customerName": "Customer 23", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 1995, }, Object { - "Customers.customerId": "JO-15550", - "Customers.customerName": "Customer 24", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-133648", + "row": 1995, }, Object { - "Customers.customerId": "JS-16030", - "Customers.customerName": "Customer 25", + "SUM(a.cnt)": "1", + "date": 2020-06-25T00:00:00.000Z, + "order": "CA-2017-133648", + "row": 1995, }, Object { - "Customers.customerId": "JW-15220", - "Customers.customerName": "Customer 26", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 2329, }, Object { - "Customers.customerId": "LC-17050", - "Customers.customerName": "Customer 29", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-138422", + "row": 2329, }, Object { - "Customers.customerId": "MG-17650", - "Customers.customerName": "Customer 32", + "SUM(a.cnt)": "1", + "date": 2020-09-23T00:00:00.000Z, + "order": "CA-2017-138422", + "row": 2329, }, Object { - "Customers.customerId": "MM-18280", - "Customers.customerName": "Customer 34", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 2455, }, Object { - "Customers.customerId": "NP-18670", - "Customers.customerName": "Customer 35", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-140949", + "row": 2455, }, Object { - "Customers.customerId": "SS-20140", - "Customers.customerName": "Customer 38", + "SUM(a.cnt)": "1", + "date": 2020-03-17T00:00:00.000Z, + "order": "CA-2017-140949", + "row": 2455, }, Object { - "Customers.customerId": "WB-21850", - "Customers.customerName": "Customer 41", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 2595, }, -] -`; - -exports[`Queries with the @cubejs-backend/clickhouse-driver filtering Customers: endsWith filter + dimensions, second 1`] = ` -Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-149048", + "row": 2595, }, Object { - "Customers.customerId": "AJ-10780", - "Customers.customerName": "Customer 2", + "SUM(a.cnt)": "1", + "date": 2020-05-13T00:00:00.000Z, + "order": "CA-2017-149048", + "row": 2595, }, Object { - "Customers.customerId": "AS-10225", - "Customers.customerName": "Customer 3", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 2655, }, Object { - "Customers.customerId": "AW-10840", - "Customers.customerName": "Customer 4", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-112515", + "row": 2655, }, Object { - "Customers.customerId": "BB-11545", - "Customers.customerName": "Customer 5", + "SUM(a.cnt)": "1", + "date": 2020-09-17T00:00:00.000Z, + "order": "CA-2017-112515", + "row": 2655, }, Object { - "Customers.customerId": "BF-11020", - "Customers.customerName": "Customer 6", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 2661, }, Object { - "Customers.customerId": "BF-11170", - "Customers.customerName": "Customer 7", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-123372", + "row": 2661, }, Object { - "Customers.customerId": "BM-11650", - "Customers.customerName": "Customer 8", + "SUM(a.cnt)": "1", + "date": 2020-11-28T00:00:00.000Z, + "order": "CA-2017-123372", + "row": 2661, }, Object { - "Customers.customerId": "BS-11380", - "Customers.customerName": "Customer 9", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 2952, }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-134915", + "row": 2952, }, Object { - "Customers.customerId": "CA-12775", - "Customers.customerName": "Customer 11", + "SUM(a.cnt)": "1", + "date": 2020-11-12T00:00:00.000Z, + "order": "CA-2017-134915", + "row": 2952, }, Object { - "Customers.customerId": "CC-12475", - "Customers.customerName": "Customer 12", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 3059, }, Object { - "Customers.customerId": "CD-12280", - "Customers.customerName": "Customer 13", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-131492", + "row": 3059, }, Object { - "Customers.customerId": "CS-12355", - "Customers.customerName": "Customer 14", + "SUM(a.cnt)": "1", + "date": 2020-10-19T00:00:00.000Z, + "order": "CA-2017-131492", + "row": 3059, }, Object { - "Customers.customerId": "DB-13405", - "Customers.customerName": "Customer 15", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 3060, }, Object { - "Customers.customerId": "DG-13300", - "Customers.customerName": "Customer 16", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-131492", + "row": 3060, }, Object { - "Customers.customerId": "DW-13480", - "Customers.customerName": "Customer 17", + "SUM(a.cnt)": "1", + "date": 2020-10-19T00:00:00.000Z, + "order": "CA-2017-131492", + "row": 3060, }, Object { - "Customers.customerId": "EM-14140", - "Customers.customerName": "Customer 18", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 3083, }, Object { - "Customers.customerId": "GA-14725", - "Customers.customerName": "Customer 19", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "US-2017-132297", + "row": 3083, }, Object { - "Customers.customerId": "GZ-14470", - "Customers.customerName": "Customer 20", + "SUM(a.cnt)": "1", + "date": 2020-05-27T00:00:00.000Z, + "order": "US-2017-132297", + "row": 3083, }, Object { - "Customers.customerId": "HH-15010", - "Customers.customerName": "Customer 21", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 3448, }, Object { - "Customers.customerId": "HK-14890", - "Customers.customerName": "Customer 22", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-102554", + "row": 3448, }, Object { - "Customers.customerId": "JH-15430", - "Customers.customerName": "Customer 23", + "SUM(a.cnt)": "1", + "date": 2020-06-11T00:00:00.000Z, + "order": "CA-2017-102554", + "row": 3448, }, Object { - "Customers.customerId": "JO-15550", - "Customers.customerName": "Customer 24", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 3717, }, Object { - "Customers.customerId": "JS-16030", - "Customers.customerName": "Customer 25", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-144568", + "row": 3717, }, Object { - "Customers.customerId": "JW-15220", - "Customers.customerName": "Customer 26", + "SUM(a.cnt)": "1", + "date": 2020-05-29T00:00:00.000Z, + "order": "CA-2017-144568", + "row": 3717, }, Object { - "Customers.customerId": "KL-16555", - "Customers.customerName": "Customer 27", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 3934, }, Object { - "Customers.customerId": "KN-16705", - "Customers.customerName": "Customer 28", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-123001", + "row": 3934, }, Object { - "Customers.customerId": "LC-17050", - "Customers.customerName": "Customer 29", + "SUM(a.cnt)": "1", + "date": 2020-09-02T00:00:00.000Z, + "order": "CA-2017-123001", + "row": 3934, }, Object { - "Customers.customerId": "LR-16915", - "Customers.customerName": "Customer 30", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 4012, }, Object { - "Customers.customerId": "MC-17605", - "Customers.customerName": "Customer 31", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-100811", + "row": 4012, }, Object { - "Customers.customerId": "MG-17650", - "Customers.customerName": "Customer 32", + "SUM(a.cnt)": "1", + "date": 2020-11-21T00:00:00.000Z, + "order": "CA-2017-100811", + "row": 4012, }, Object { - "Customers.customerId": "ML-17755", - "Customers.customerName": "Customer 33", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 4031, }, Object { - "Customers.customerId": "MM-18280", - "Customers.customerName": "Customer 34", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-124296", + "row": 4031, }, Object { - "Customers.customerId": "NP-18670", - "Customers.customerName": "Customer 35", + "SUM(a.cnt)": "1", + "date": 2020-12-24T00:00:00.000Z, + "order": "CA-2017-124296", + "row": 4031, }, Object { - "Customers.customerId": "PF-19165", - "Customers.customerName": "Customer 36", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 4161, }, Object { - "Customers.customerId": "SB-20185", - "Customers.customerName": "Customer 37", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-115546", + "row": 4161, }, Object { - "Customers.customerId": "SS-20140", - "Customers.customerName": "Customer 38", + "SUM(a.cnt)": "1", + "date": 2020-05-14T00:00:00.000Z, + "order": "CA-2017-115546", + "row": 4161, }, Object { - "Customers.customerId": "TB-21175", - "Customers.customerName": "Customer 39", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 4227, }, Object { - "Customers.customerId": "TS-21205", - "Customers.customerName": "Customer 40", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-120327", + "row": 4227, }, Object { - "Customers.customerId": "WB-21850", - "Customers.customerName": "Customer 41", + "SUM(a.cnt)": "1", + "date": 2020-11-11T00:00:00.000Z, + "order": "CA-2017-120327", + "row": 4227, }, -] -`; - -exports[`Queries with the @cubejs-backend/clickhouse-driver filtering Customers: endsWith filter + dimensions, third 1`] = `Array []`; - -exports[`Queries with the @cubejs-backend/clickhouse-driver filtering Customers: notEndsWith filter + dimensions, first 1`] = ` -Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 4882, }, Object { - "Customers.customerId": "AS-10225", - "Customers.customerName": "Customer 3", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-143567", + "row": 4882, }, Object { - "Customers.customerId": "BB-11545", - "Customers.customerName": "Customer 5", + "SUM(a.cnt)": "1", + "date": 2020-11-02T00:00:00.000Z, + "order": "CA-2017-143567", + "row": 4882, }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 5220, }, Object { - "Customers.customerId": "CA-12775", - "Customers.customerName": "Customer 11", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-145653", + "row": 5220, }, Object { - "Customers.customerId": "CC-12475", - "Customers.customerName": "Customer 12", + "SUM(a.cnt)": "1", + "date": 2020-09-01T00:00:00.000Z, + "order": "CA-2017-145653", + "row": 5220, }, Object { - "Customers.customerId": "CS-12355", - "Customers.customerName": "Customer 14", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 5277, }, Object { - "Customers.customerId": "DB-13405", - "Customers.customerName": "Customer 15", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-147333", + "row": 5277, }, Object { - "Customers.customerId": "GA-14725", - "Customers.customerName": "Customer 19", + "SUM(a.cnt)": "1", + "date": 2020-12-14T00:00:00.000Z, + "order": "CA-2017-147333", + "row": 5277, }, Object { - "Customers.customerId": "KL-16555", - "Customers.customerName": "Customer 27", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 6125, }, Object { - "Customers.customerId": "KN-16705", - "Customers.customerName": "Customer 28", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-145772", + "row": 6125, }, Object { - "Customers.customerId": "LR-16915", - "Customers.customerName": "Customer 30", + "SUM(a.cnt)": "1", + "date": 2020-06-03T00:00:00.000Z, + "order": "CA-2017-145772", + "row": 6125, }, Object { - "Customers.customerId": "MC-17605", - "Customers.customerName": "Customer 31", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 6205, }, Object { - "Customers.customerId": "ML-17755", - "Customers.customerName": "Customer 33", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-145660", + "row": 6205, }, Object { - "Customers.customerId": "PF-19165", - "Customers.customerName": "Customer 36", + "SUM(a.cnt)": "1", + "date": 2020-12-01T00:00:00.000Z, + "order": "CA-2017-145660", + "row": 6205, }, Object { - "Customers.customerId": "SB-20185", - "Customers.customerName": "Customer 37", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 6272, }, Object { - "Customers.customerId": "TB-21175", - "Customers.customerName": "Customer 39", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-102379", + "row": 6272, }, Object { - "Customers.customerId": "TS-21205", - "Customers.customerName": "Customer 40", + "SUM(a.cnt)": "1", + "date": 2020-12-02T00:00:00.000Z, + "order": "CA-2017-102379", + "row": 6272, }, -] -`; - -exports[`Queries with the @cubejs-backend/clickhouse-driver filtering Customers: notEndsWith filter + dimensions, second 1`] = `Array []`; - -exports[`Queries with the @cubejs-backend/clickhouse-driver filtering Customers: notEndsWith filter + dimensions, third 1`] = ` -Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 6459, }, Object { - "Customers.customerId": "AJ-10780", - "Customers.customerName": "Customer 2", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "US-2017-133361", + "row": 6459, }, Object { - "Customers.customerId": "AS-10225", - "Customers.customerName": "Customer 3", + "SUM(a.cnt)": "1", + "date": 2020-05-14T00:00:00.000Z, + "order": "US-2017-133361", + "row": 6459, }, Object { - "Customers.customerId": "AW-10840", - "Customers.customerName": "Customer 4", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 6651, }, Object { - "Customers.customerId": "BB-11545", - "Customers.customerName": "Customer 5", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "US-2017-124779", + "row": 6651, }, Object { - "Customers.customerId": "BF-11020", - "Customers.customerName": "Customer 6", + "SUM(a.cnt)": "1", + "date": 2020-09-08T00:00:00.000Z, + "order": "US-2017-124779", + "row": 6651, }, Object { - "Customers.customerId": "BF-11170", - "Customers.customerName": "Customer 7", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 7174, }, Object { - "Customers.customerId": "BM-11650", - "Customers.customerName": "Customer 8", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "US-2017-141677", + "row": 7174, }, Object { - "Customers.customerId": "BS-11380", - "Customers.customerName": "Customer 9", + "SUM(a.cnt)": "1", + "date": 2020-03-26T00:00:00.000Z, + "order": "US-2017-141677", + "row": 7174, }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 7293, }, Object { - "Customers.customerId": "CA-12775", - "Customers.customerName": "Customer 11", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-109183", + "row": 7293, }, Object { - "Customers.customerId": "CC-12475", - "Customers.customerName": "Customer 12", + "SUM(a.cnt)": "1", + "date": 2020-12-04T00:00:00.000Z, + "order": "CA-2017-109183", + "row": 7293, }, Object { - "Customers.customerId": "CD-12280", - "Customers.customerName": "Customer 13", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 7310, }, Object { - "Customers.customerId": "CS-12355", - "Customers.customerName": "Customer 14", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-112172", + "row": 7310, }, Object { - "Customers.customerId": "DB-13405", - "Customers.customerName": "Customer 15", + "SUM(a.cnt)": "1", + "date": 2020-06-10T00:00:00.000Z, + "order": "CA-2017-112172", + "row": 7310, }, Object { - "Customers.customerId": "DG-13300", - "Customers.customerName": "Customer 16", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 7425, }, Object { - "Customers.customerId": "DW-13480", - "Customers.customerName": "Customer 17", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-135069", + "row": 7425, }, Object { - "Customers.customerId": "EM-14140", - "Customers.customerName": "Customer 18", + "SUM(a.cnt)": "1", + "date": 2020-04-10T00:00:00.000Z, + "order": "CA-2017-135069", + "row": 7425, }, Object { - "Customers.customerId": "GA-14725", - "Customers.customerName": "Customer 19", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 7698, }, Object { - "Customers.customerId": "GZ-14470", - "Customers.customerName": "Customer 20", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-151799", + "row": 7698, }, Object { - "Customers.customerId": "HH-15010", - "Customers.customerName": "Customer 21", + "SUM(a.cnt)": "1", + "date": 2020-12-14T00:00:00.000Z, + "order": "CA-2017-151799", + "row": 7698, }, Object { - "Customers.customerId": "HK-14890", - "Customers.customerName": "Customer 22", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 8425, }, Object { - "Customers.customerId": "JH-15430", - "Customers.customerName": "Customer 23", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-150091", + "row": 8425, }, Object { - "Customers.customerId": "JO-15550", - "Customers.customerName": "Customer 24", + "SUM(a.cnt)": "1", + "date": 2020-10-12T00:00:00.000Z, + "order": "CA-2017-150091", + "row": 8425, }, Object { - "Customers.customerId": "JS-16030", - "Customers.customerName": "Customer 25", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 8621, }, Object { - "Customers.customerId": "JW-15220", - "Customers.customerName": "Customer 26", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "US-2017-119319", + "row": 8621, }, Object { - "Customers.customerId": "KL-16555", - "Customers.customerName": "Customer 27", + "SUM(a.cnt)": "1", + "date": 2020-11-06T00:00:00.000Z, + "order": "US-2017-119319", + "row": 8621, }, Object { - "Customers.customerId": "KN-16705", - "Customers.customerName": "Customer 28", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 8673, }, Object { - "Customers.customerId": "LC-17050", - "Customers.customerName": "Customer 29", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-163265", + "row": 8673, }, Object { - "Customers.customerId": "LR-16915", - "Customers.customerName": "Customer 30", + "SUM(a.cnt)": "1", + "date": 2020-02-16T00:00:00.000Z, + "order": "CA-2017-163265", + "row": 8673, }, Object { - "Customers.customerId": "MC-17605", - "Customers.customerName": "Customer 31", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 8697, }, Object { - "Customers.customerId": "MG-17650", - "Customers.customerName": "Customer 32", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-119284", + "row": 8697, }, Object { - "Customers.customerId": "ML-17755", - "Customers.customerName": "Customer 33", + "SUM(a.cnt)": "1", + "date": 2020-06-15T00:00:00.000Z, + "order": "CA-2017-119284", + "row": 8697, }, Object { - "Customers.customerId": "MM-18280", - "Customers.customerName": "Customer 34", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 8878, }, Object { - "Customers.customerId": "NP-18670", - "Customers.customerName": "Customer 35", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-126928", + "row": 8878, }, Object { - "Customers.customerId": "PF-19165", - "Customers.customerName": "Customer 36", + "SUM(a.cnt)": "1", + "date": 2020-09-17T00:00:00.000Z, + "order": "CA-2017-126928", + "row": 8878, }, Object { - "Customers.customerId": "SB-20185", - "Customers.customerName": "Customer 37", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 8958, }, Object { - "Customers.customerId": "SS-20140", - "Customers.customerName": "Customer 38", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-105620", + "row": 8958, }, Object { - "Customers.customerId": "TB-21175", - "Customers.customerName": "Customer 39", + "SUM(a.cnt)": "1", + "date": 2020-12-25T00:00:00.000Z, + "order": "CA-2017-105620", + "row": 8958, }, Object { - "Customers.customerId": "TS-21205", - "Customers.customerName": "Customer 40", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 9473, }, Object { - "Customers.customerId": "WB-21850", - "Customers.customerName": "Customer 41", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-102925", + "row": 9473, }, -] -`; - -exports[`Queries with the @cubejs-backend/clickhouse-driver filtering Customers: notStartsWith + dimensions, first 1`] = ` -Array [ Object { - "Customers.customerId": "BB-11545", - "Customers.customerName": "Customer 5", + "SUM(a.cnt)": "1", + "date": 2020-11-05T00:00:00.000Z, + "order": "CA-2017-102925", + "row": 9473, }, Object { - "Customers.customerId": "BF-11020", - "Customers.customerName": "Customer 6", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 9584, }, Object { - "Customers.customerId": "BF-11170", - "Customers.customerName": "Customer 7", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-116127", + "row": 9584, }, Object { - "Customers.customerId": "BM-11650", - "Customers.customerName": "Customer 8", + "SUM(a.cnt)": "1", + "date": 2020-06-25T00:00:00.000Z, + "order": "CA-2017-116127", + "row": 9584, }, Object { - "Customers.customerId": "BS-11380", - "Customers.customerName": "Customer 9", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 9618, }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-160633", + "row": 9618, }, Object { - "Customers.customerId": "CA-12775", - "Customers.customerName": "Customer 11", + "SUM(a.cnt)": "1", + "date": 2020-11-16T00:00:00.000Z, + "order": "CA-2017-160633", + "row": 9618, }, Object { - "Customers.customerId": "CC-12475", - "Customers.customerName": "Customer 12", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "", + "row": 9619, }, Object { - "Customers.customerId": "CD-12280", - "Customers.customerName": "Customer 13", + "SUM(a.cnt)": "1", + "date": 1970-01-01T00:00:00.000Z, + "order": "CA-2017-160633", + "row": 9619, }, Object { - "Customers.customerId": "CS-12355", - "Customers.customerName": "Customer 14", + "SUM(a.cnt)": "1", + "date": 2020-11-16T00:00:00.000Z, + "order": "CA-2017-160633", + "row": 9619, }, +] +`; + +exports[`Queries with the @cubejs-backend/clickhouse-driver SQL API: Nested Rollup: nested_rollup 1`] = ` +Array [ Object { - "Customers.customerId": "DB-13405", - "Customers.customerName": "Customer 15", + "SUM(a.cnt)": "44", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 0, }, Object { - "Customers.customerId": "DG-13300", - "Customers.customerName": "Customer 16", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 523, }, Object { - "Customers.customerId": "DW-13480", - "Customers.customerName": "Customer 17", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-145142", + "rowId": 523, }, Object { - "Customers.customerId": "EM-14140", - "Customers.customerName": "Customer 18", + "SUM(a.cnt)": "1", + "orderDate": 2020-01-23T00:00:00.000Z, + "orderId": "CA-2017-145142", + "rowId": 523, }, Object { - "Customers.customerId": "GA-14725", - "Customers.customerName": "Customer 19", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 849, }, Object { - "Customers.customerId": "GZ-14470", - "Customers.customerName": "Customer 20", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-107503", + "rowId": 849, }, Object { - "Customers.customerId": "HH-15010", - "Customers.customerName": "Customer 21", + "SUM(a.cnt)": "1", + "orderDate": 2020-01-01T00:00:00.000Z, + "orderId": "CA-2017-107503", + "rowId": 849, }, Object { - "Customers.customerId": "HK-14890", - "Customers.customerName": "Customer 22", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 1013, }, Object { - "Customers.customerId": "JH-15430", - "Customers.customerName": "Customer 23", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-118437", + "rowId": 1013, }, Object { - "Customers.customerId": "JO-15550", - "Customers.customerName": "Customer 24", + "SUM(a.cnt)": "1", + "orderDate": 2020-06-17T00:00:00.000Z, + "orderId": "CA-2017-118437", + "rowId": 1013, }, Object { - "Customers.customerId": "JS-16030", - "Customers.customerName": "Customer 25", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 1494, }, Object { - "Customers.customerId": "JW-15220", - "Customers.customerName": "Customer 26", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-139661", + "rowId": 1494, }, Object { - "Customers.customerId": "KL-16555", - "Customers.customerName": "Customer 27", + "SUM(a.cnt)": "1", + "orderDate": 2020-10-30T00:00:00.000Z, + "orderId": "CA-2017-139661", + "rowId": 1494, }, Object { - "Customers.customerId": "KN-16705", - "Customers.customerName": "Customer 28", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 1995, }, Object { - "Customers.customerId": "LC-17050", - "Customers.customerName": "Customer 29", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-133648", + "rowId": 1995, }, Object { - "Customers.customerId": "LR-16915", - "Customers.customerName": "Customer 30", + "SUM(a.cnt)": "1", + "orderDate": 2020-06-25T00:00:00.000Z, + "orderId": "CA-2017-133648", + "rowId": 1995, }, Object { - "Customers.customerId": "MC-17605", - "Customers.customerName": "Customer 31", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 2329, }, Object { - "Customers.customerId": "MG-17650", - "Customers.customerName": "Customer 32", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-138422", + "rowId": 2329, }, Object { - "Customers.customerId": "ML-17755", - "Customers.customerName": "Customer 33", + "SUM(a.cnt)": "1", + "orderDate": 2020-09-23T00:00:00.000Z, + "orderId": "CA-2017-138422", + "rowId": 2329, }, Object { - "Customers.customerId": "MM-18280", - "Customers.customerName": "Customer 34", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 2455, }, Object { - "Customers.customerId": "NP-18670", - "Customers.customerName": "Customer 35", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-140949", + "rowId": 2455, }, Object { - "Customers.customerId": "PF-19165", - "Customers.customerName": "Customer 36", + "SUM(a.cnt)": "1", + "orderDate": 2020-03-17T00:00:00.000Z, + "orderId": "CA-2017-140949", + "rowId": 2455, }, Object { - "Customers.customerId": "SB-20185", - "Customers.customerName": "Customer 37", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 2595, }, Object { - "Customers.customerId": "SS-20140", - "Customers.customerName": "Customer 38", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-149048", + "rowId": 2595, }, Object { - "Customers.customerId": "TB-21175", - "Customers.customerName": "Customer 39", + "SUM(a.cnt)": "1", + "orderDate": 2020-05-13T00:00:00.000Z, + "orderId": "CA-2017-149048", + "rowId": 2595, }, Object { - "Customers.customerId": "TS-21205", - "Customers.customerName": "Customer 40", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 2655, }, Object { - "Customers.customerId": "WB-21850", - "Customers.customerName": "Customer 41", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-112515", + "rowId": 2655, }, -] -`; - -exports[`Queries with the @cubejs-backend/clickhouse-driver filtering Customers: notStartsWith + dimensions, second 1`] = ` -Array [ Object { - "Customers.customerId": "CA-12775", - "Customers.customerName": "Customer 11", + "SUM(a.cnt)": "1", + "orderDate": 2020-09-17T00:00:00.000Z, + "orderId": "CA-2017-112515", + "rowId": 2655, }, Object { - "Customers.customerId": "CC-12475", - "Customers.customerName": "Customer 12", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 2661, }, Object { - "Customers.customerId": "CD-12280", - "Customers.customerName": "Customer 13", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-123372", + "rowId": 2661, }, Object { - "Customers.customerId": "CS-12355", - "Customers.customerName": "Customer 14", + "SUM(a.cnt)": "1", + "orderDate": 2020-11-28T00:00:00.000Z, + "orderId": "CA-2017-123372", + "rowId": 2661, }, Object { - "Customers.customerId": "DB-13405", - "Customers.customerName": "Customer 15", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 2952, }, Object { - "Customers.customerId": "DG-13300", - "Customers.customerName": "Customer 16", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-134915", + "rowId": 2952, }, Object { - "Customers.customerId": "DW-13480", - "Customers.customerName": "Customer 17", + "SUM(a.cnt)": "1", + "orderDate": 2020-11-12T00:00:00.000Z, + "orderId": "CA-2017-134915", + "rowId": 2952, }, Object { - "Customers.customerId": "EM-14140", - "Customers.customerName": "Customer 18", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 3059, }, Object { - "Customers.customerId": "GA-14725", - "Customers.customerName": "Customer 19", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-131492", + "rowId": 3059, }, Object { - "Customers.customerId": "GZ-14470", - "Customers.customerName": "Customer 20", + "SUM(a.cnt)": "1", + "orderDate": 2020-10-19T00:00:00.000Z, + "orderId": "CA-2017-131492", + "rowId": 3059, }, Object { - "Customers.customerId": "HH-15010", - "Customers.customerName": "Customer 21", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 3060, }, Object { - "Customers.customerId": "HK-14890", - "Customers.customerName": "Customer 22", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-131492", + "rowId": 3060, }, Object { - "Customers.customerId": "JH-15430", - "Customers.customerName": "Customer 23", + "SUM(a.cnt)": "1", + "orderDate": 2020-10-19T00:00:00.000Z, + "orderId": "CA-2017-131492", + "rowId": 3060, }, Object { - "Customers.customerId": "JO-15550", - "Customers.customerName": "Customer 24", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 3083, }, Object { - "Customers.customerId": "JS-16030", - "Customers.customerName": "Customer 25", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "US-2017-132297", + "rowId": 3083, }, Object { - "Customers.customerId": "JW-15220", - "Customers.customerName": "Customer 26", + "SUM(a.cnt)": "1", + "orderDate": 2020-05-27T00:00:00.000Z, + "orderId": "US-2017-132297", + "rowId": 3083, }, Object { - "Customers.customerId": "KL-16555", - "Customers.customerName": "Customer 27", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 3448, }, Object { - "Customers.customerId": "KN-16705", - "Customers.customerName": "Customer 28", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-102554", + "rowId": 3448, }, Object { - "Customers.customerId": "LC-17050", - "Customers.customerName": "Customer 29", + "SUM(a.cnt)": "1", + "orderDate": 2020-06-11T00:00:00.000Z, + "orderId": "CA-2017-102554", + "rowId": 3448, }, Object { - "Customers.customerId": "LR-16915", - "Customers.customerName": "Customer 30", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 3717, }, Object { - "Customers.customerId": "MC-17605", - "Customers.customerName": "Customer 31", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-144568", + "rowId": 3717, }, Object { - "Customers.customerId": "MG-17650", - "Customers.customerName": "Customer 32", + "SUM(a.cnt)": "1", + "orderDate": 2020-05-29T00:00:00.000Z, + "orderId": "CA-2017-144568", + "rowId": 3717, }, Object { - "Customers.customerId": "ML-17755", - "Customers.customerName": "Customer 33", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 3934, }, Object { - "Customers.customerId": "MM-18280", - "Customers.customerName": "Customer 34", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-123001", + "rowId": 3934, }, Object { - "Customers.customerId": "NP-18670", - "Customers.customerName": "Customer 35", + "SUM(a.cnt)": "1", + "orderDate": 2020-09-02T00:00:00.000Z, + "orderId": "CA-2017-123001", + "rowId": 3934, }, Object { - "Customers.customerId": "PF-19165", - "Customers.customerName": "Customer 36", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 4012, }, Object { - "Customers.customerId": "SB-20185", - "Customers.customerName": "Customer 37", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-100811", + "rowId": 4012, }, Object { - "Customers.customerId": "SS-20140", - "Customers.customerName": "Customer 38", + "SUM(a.cnt)": "1", + "orderDate": 2020-11-21T00:00:00.000Z, + "orderId": "CA-2017-100811", + "rowId": 4012, }, Object { - "Customers.customerId": "TB-21175", - "Customers.customerName": "Customer 39", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 4031, }, Object { - "Customers.customerId": "TS-21205", - "Customers.customerName": "Customer 40", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-124296", + "rowId": 4031, }, Object { - "Customers.customerId": "WB-21850", - "Customers.customerName": "Customer 41", + "SUM(a.cnt)": "1", + "orderDate": 2020-12-24T00:00:00.000Z, + "orderId": "CA-2017-124296", + "rowId": 4031, }, -] -`; - -exports[`Queries with the @cubejs-backend/clickhouse-driver filtering Customers: notStartsWith + dimensions, third 1`] = ` -Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 4161, }, Object { - "Customers.customerId": "AJ-10780", - "Customers.customerName": "Customer 2", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-115546", + "rowId": 4161, }, Object { - "Customers.customerId": "AS-10225", - "Customers.customerName": "Customer 3", + "SUM(a.cnt)": "1", + "orderDate": 2020-05-14T00:00:00.000Z, + "orderId": "CA-2017-115546", + "rowId": 4161, }, Object { - "Customers.customerId": "AW-10840", - "Customers.customerName": "Customer 4", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 4227, }, Object { - "Customers.customerId": "BB-11545", - "Customers.customerName": "Customer 5", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-120327", + "rowId": 4227, }, Object { - "Customers.customerId": "BF-11020", - "Customers.customerName": "Customer 6", + "SUM(a.cnt)": "1", + "orderDate": 2020-11-11T00:00:00.000Z, + "orderId": "CA-2017-120327", + "rowId": 4227, }, Object { - "Customers.customerId": "BF-11170", - "Customers.customerName": "Customer 7", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 4882, }, Object { - "Customers.customerId": "BM-11650", - "Customers.customerName": "Customer 8", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-143567", + "rowId": 4882, }, Object { - "Customers.customerId": "BS-11380", - "Customers.customerName": "Customer 9", + "SUM(a.cnt)": "1", + "orderDate": 2020-11-02T00:00:00.000Z, + "orderId": "CA-2017-143567", + "rowId": 4882, }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 5220, }, Object { - "Customers.customerId": "CA-12775", - "Customers.customerName": "Customer 11", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-145653", + "rowId": 5220, }, Object { - "Customers.customerId": "CC-12475", - "Customers.customerName": "Customer 12", + "SUM(a.cnt)": "1", + "orderDate": 2020-09-01T00:00:00.000Z, + "orderId": "CA-2017-145653", + "rowId": 5220, }, Object { - "Customers.customerId": "CD-12280", - "Customers.customerName": "Customer 13", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 5277, }, Object { - "Customers.customerId": "CS-12355", - "Customers.customerName": "Customer 14", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-147333", + "rowId": 5277, }, Object { - "Customers.customerId": "DB-13405", - "Customers.customerName": "Customer 15", + "SUM(a.cnt)": "1", + "orderDate": 2020-12-14T00:00:00.000Z, + "orderId": "CA-2017-147333", + "rowId": 5277, }, Object { - "Customers.customerId": "DG-13300", - "Customers.customerName": "Customer 16", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 6125, }, Object { - "Customers.customerId": "DW-13480", - "Customers.customerName": "Customer 17", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-145772", + "rowId": 6125, }, Object { - "Customers.customerId": "EM-14140", - "Customers.customerName": "Customer 18", + "SUM(a.cnt)": "1", + "orderDate": 2020-06-03T00:00:00.000Z, + "orderId": "CA-2017-145772", + "rowId": 6125, }, Object { - "Customers.customerId": "GA-14725", - "Customers.customerName": "Customer 19", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 6205, }, Object { - "Customers.customerId": "GZ-14470", - "Customers.customerName": "Customer 20", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-145660", + "rowId": 6205, }, Object { - "Customers.customerId": "HH-15010", - "Customers.customerName": "Customer 21", + "SUM(a.cnt)": "1", + "orderDate": 2020-12-01T00:00:00.000Z, + "orderId": "CA-2017-145660", + "rowId": 6205, }, Object { - "Customers.customerId": "HK-14890", - "Customers.customerName": "Customer 22", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 6272, }, Object { - "Customers.customerId": "JH-15430", - "Customers.customerName": "Customer 23", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-102379", + "rowId": 6272, }, Object { - "Customers.customerId": "JO-15550", - "Customers.customerName": "Customer 24", + "SUM(a.cnt)": "1", + "orderDate": 2020-12-02T00:00:00.000Z, + "orderId": "CA-2017-102379", + "rowId": 6272, }, Object { - "Customers.customerId": "JS-16030", - "Customers.customerName": "Customer 25", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 6459, }, Object { - "Customers.customerId": "JW-15220", - "Customers.customerName": "Customer 26", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "US-2017-133361", + "rowId": 6459, }, Object { - "Customers.customerId": "KL-16555", - "Customers.customerName": "Customer 27", + "SUM(a.cnt)": "1", + "orderDate": 2020-05-14T00:00:00.000Z, + "orderId": "US-2017-133361", + "rowId": 6459, }, Object { - "Customers.customerId": "KN-16705", - "Customers.customerName": "Customer 28", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 6651, }, Object { - "Customers.customerId": "LC-17050", - "Customers.customerName": "Customer 29", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "US-2017-124779", + "rowId": 6651, }, Object { - "Customers.customerId": "LR-16915", - "Customers.customerName": "Customer 30", + "SUM(a.cnt)": "1", + "orderDate": 2020-09-08T00:00:00.000Z, + "orderId": "US-2017-124779", + "rowId": 6651, }, Object { - "Customers.customerId": "MC-17605", - "Customers.customerName": "Customer 31", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 7174, }, Object { - "Customers.customerId": "MG-17650", - "Customers.customerName": "Customer 32", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "US-2017-141677", + "rowId": 7174, }, Object { - "Customers.customerId": "ML-17755", - "Customers.customerName": "Customer 33", + "SUM(a.cnt)": "1", + "orderDate": 2020-03-26T00:00:00.000Z, + "orderId": "US-2017-141677", + "rowId": 7174, }, Object { - "Customers.customerId": "MM-18280", - "Customers.customerName": "Customer 34", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 7293, }, Object { - "Customers.customerId": "NP-18670", - "Customers.customerName": "Customer 35", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-109183", + "rowId": 7293, }, Object { - "Customers.customerId": "PF-19165", - "Customers.customerName": "Customer 36", + "SUM(a.cnt)": "1", + "orderDate": 2020-12-04T00:00:00.000Z, + "orderId": "CA-2017-109183", + "rowId": 7293, }, Object { - "Customers.customerId": "SB-20185", - "Customers.customerName": "Customer 37", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 7310, }, Object { - "Customers.customerId": "SS-20140", - "Customers.customerName": "Customer 38", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-112172", + "rowId": 7310, }, Object { - "Customers.customerId": "TB-21175", - "Customers.customerName": "Customer 39", + "SUM(a.cnt)": "1", + "orderDate": 2020-06-10T00:00:00.000Z, + "orderId": "CA-2017-112172", + "rowId": 7310, }, Object { - "Customers.customerId": "TS-21205", - "Customers.customerName": "Customer 40", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 7425, }, Object { - "Customers.customerId": "WB-21850", - "Customers.customerName": "Customer 41", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-135069", + "rowId": 7425, }, -] -`; - -exports[`Queries with the @cubejs-backend/clickhouse-driver filtering Customers: startsWith + dimensions, first 1`] = ` -Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "SUM(a.cnt)": "1", + "orderDate": 2020-04-10T00:00:00.000Z, + "orderId": "CA-2017-135069", + "rowId": 7425, }, Object { - "Customers.customerId": "AJ-10780", - "Customers.customerName": "Customer 2", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 7698, }, Object { - "Customers.customerId": "AS-10225", - "Customers.customerName": "Customer 3", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-151799", + "rowId": 7698, }, Object { - "Customers.customerId": "AW-10840", - "Customers.customerName": "Customer 4", + "SUM(a.cnt)": "1", + "orderDate": 2020-12-14T00:00:00.000Z, + "orderId": "CA-2017-151799", + "rowId": 7698, }, -] -`; - -exports[`Queries with the @cubejs-backend/clickhouse-driver filtering Customers: startsWith + dimensions, second 1`] = ` -Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 8425, }, Object { - "Customers.customerId": "AJ-10780", - "Customers.customerName": "Customer 2", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-150091", + "rowId": 8425, }, Object { - "Customers.customerId": "AS-10225", - "Customers.customerName": "Customer 3", + "SUM(a.cnt)": "1", + "orderDate": 2020-10-12T00:00:00.000Z, + "orderId": "CA-2017-150091", + "rowId": 8425, }, Object { - "Customers.customerId": "AW-10840", - "Customers.customerName": "Customer 4", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 8621, }, Object { - "Customers.customerId": "BB-11545", - "Customers.customerName": "Customer 5", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "US-2017-119319", + "rowId": 8621, }, Object { - "Customers.customerId": "BF-11020", - "Customers.customerName": "Customer 6", + "SUM(a.cnt)": "1", + "orderDate": 2020-11-06T00:00:00.000Z, + "orderId": "US-2017-119319", + "rowId": 8621, }, Object { - "Customers.customerId": "BF-11170", - "Customers.customerName": "Customer 7", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 8673, }, Object { - "Customers.customerId": "BM-11650", - "Customers.customerName": "Customer 8", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-163265", + "rowId": 8673, }, Object { - "Customers.customerId": "BS-11380", - "Customers.customerName": "Customer 9", + "SUM(a.cnt)": "1", + "orderDate": 2020-02-16T00:00:00.000Z, + "orderId": "CA-2017-163265", + "rowId": 8673, }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 8697, }, -] -`; - -exports[`Queries with the @cubejs-backend/clickhouse-driver filtering Customers: startsWith + dimensions, third 1`] = `Array []`; - -exports[`Queries with the @cubejs-backend/clickhouse-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", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-119284", + "rowId": 8697, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "San Francisco", - "ECommerce.customerId": "HH-15010", - "ECommerce.customerName": "Customer 21", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-10-19T00:00:00.000", - "ECommerce.orderId": "CA-2017-131492", - "ECommerce.productName": "Anderson Hickey Conga Table Tops & Accessories", - "ECommerce.profit": "-3.3506", - "ECommerce.quantity": "2", - "ECommerce.rowId": "3060", - "ECommerce.sales": "24.368", - "ECommerce.subCategory": "Tables", + "SUM(a.cnt)": "1", + "orderDate": 2020-06-15T00:00:00.000Z, + "orderId": "CA-2017-119284", + "rowId": 8697, }, -] -`; - -exports[`Queries with the @cubejs-backend/clickhouse-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", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 8878, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Lorain", - "ECommerce.customerId": "GA-14725", - "ECommerce.customerName": "Customer 19", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderId": "CA-2017-107503", - "ECommerce.productName": "Linden 10 Round Wall Clock, Black", - "ECommerce.profit": "8.5568", - "ECommerce.quantity": "4", - "ECommerce.rowId": "849", - "ECommerce.sales": "48.896", - "ECommerce.subCategory": "Furnishings", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-126928", + "rowId": 8878, }, 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", + "SUM(a.cnt)": "1", + "orderDate": 2020-09-17T00:00:00.000Z, + "orderId": "CA-2017-126928", + "rowId": 8878, }, 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", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 8958, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "San Francisco", - "ECommerce.customerId": "HH-15010", - "ECommerce.customerName": "Customer 21", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-10-19T00:00:00.000", - "ECommerce.orderId": "CA-2017-131492", - "ECommerce.productName": "Anderson Hickey Conga Table Tops & Accessories", - "ECommerce.profit": "-3.3506", - "ECommerce.quantity": "2", - "ECommerce.rowId": "3060", - "ECommerce.sales": "24.368", - "ECommerce.subCategory": "Tables", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-105620", + "rowId": 8958, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Marion", - "ECommerce.customerId": "MG-17650", - "ECommerce.customerName": "Customer 32", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-12-01T00:00:00.000", - "ECommerce.orderId": "CA-2017-145660", - "ECommerce.productName": "Magna Visual Magnetic Picture Hangers", - "ECommerce.profit": "1.7352", - "ECommerce.quantity": "2", - "ECommerce.rowId": "6205", - "ECommerce.sales": "7.712", - "ECommerce.subCategory": "Furnishings", + "SUM(a.cnt)": "1", + "orderDate": 2020-12-25T00:00:00.000Z, + "orderId": "CA-2017-105620", + "rowId": 8958, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Philadelphia", - "ECommerce.customerId": "BS-11755", - "ECommerce.customerName": "Customer 10", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-04-10T00:00:00.000", - "ECommerce.orderId": "CA-2017-135069", - "ECommerce.productName": "Linden 10 Round Wall Clock, Black", - "ECommerce.profit": "6.4176", - "ECommerce.quantity": "3", - "ECommerce.rowId": "7425", - "ECommerce.sales": "36.672", - "ECommerce.subCategory": "Furnishings", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 9473, }, 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", + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-102925", + "rowId": 9473, + }, + Object { + "SUM(a.cnt)": "1", + "orderDate": 2020-11-05T00:00:00.000Z, + "orderId": "CA-2017-102925", + "rowId": 9473, + }, + Object { + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 9584, + }, + Object { + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-116127", + "rowId": 9584, + }, + Object { + "SUM(a.cnt)": "1", + "orderDate": 2020-06-25T00:00:00.000Z, + "orderId": "CA-2017-116127", + "rowId": 9584, + }, + Object { + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 9618, + }, + Object { + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-160633", + "rowId": 9618, + }, + Object { + "SUM(a.cnt)": "1", + "orderDate": 2020-11-16T00:00:00.000Z, + "orderId": "CA-2017-160633", + "rowId": 9618, + }, + Object { + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "", + "rowId": 9619, + }, + Object { + "SUM(a.cnt)": "1", + "orderDate": 1970-01-01T00:00:00.000Z, + "orderId": "CA-2017-160633", + "rowId": 9619, + }, + Object { + "SUM(a.cnt)": "1", + "orderDate": 2020-11-16T00:00:00.000Z, + "orderId": "CA-2017-160633", + "rowId": 9619, }, ] `; -exports[`Queries with the @cubejs-backend/clickhouse-driver filtering ECommerce: contains dimensions, third 1`] = `Array []`; - -exports[`Queries with the @cubejs-backend/clickhouse-driver filtering ECommerce: endsWith + dimensions, first 1`] = ` +exports[`Queries with the @cubejs-backend/clickhouse-driver SQL API: Rollup over exprs: rollup_over_exprs 1`] = ` Array [ Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Marion", - "ECommerce.customerId": "MG-17650", - "ECommerce.customerName": "Customer 32", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-12-01T00:00:00.000", - "ECommerce.orderId": "CA-2017-145660", - "ECommerce.productName": "Magna Visual Magnetic Picture Hangers", - "ECommerce.profit": "1.7352", - "ECommerce.quantity": "2", - "ECommerce.rowId": "6205", - "ECommerce.sales": "7.712", - "ECommerce.subCategory": "Furnishings", + "SUM(ECommerce.count)": "1", + "city": "Detroit", + "order": 944.96, + "orderData": 2020-01-23T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Lorain", + "order": 946.792, + "orderData": 2020-01-01T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Olympia", + "order": 1041.06, + "orderData": 2020-06-17T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Vancouver", + "order": 1513.28, + "orderData": 2020-10-30T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 2017.608, + "orderData": 2020-06-25T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 2357.704, + "orderData": 2020-09-23T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": 2598.2, + "orderData": 2020-03-17T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 2956.92, + "orderData": 2020-05-13T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "San Francisco", + "order": 3108.736, + "orderData": 2020-10-19T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "San Francisco", + "order": 3120.12, + "orderData": 2020-10-19T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Glendale", + "order": 3179.776, + "orderData": 2020-11-12T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Auburn", + "order": 3455.52, + "orderData": 2020-06-11T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Omaha", + "order": 3764.1, + "orderData": 2020-05-29T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Bakersfield", + "order": 3952.8, + "orderData": 2020-09-02T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Philadelphia", + "order": 4090.592, + "orderData": 2020-11-21T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Louisville", + "order": 4162.9400000000005, + "orderData": 2020-05-27T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 4318.84, + "orderData": 2020-11-11T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Lafayette", + "order": 4496.76, + "orderData": 2020-12-24T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Provo", + "order": 5240.88, + "orderData": 2020-09-17T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": 5240.9400000000005, + "orderData": 2020-05-14T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 5366.5, + "orderData": 2020-12-14T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Los Angeles", + "order": 6214.5, + "orderData": 2020-06-03T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Detroit", + "order": 6216.52, + "orderData": 2020-09-01T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Marion", + "order": 6220.424, + "orderData": 2020-12-01T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Baltimore", + "order": 6466.52, + "orderData": 2020-05-14T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 6620.780000000001, + "orderData": 2020-11-28T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Oakland", + "order": 6631.8, + "orderData": 2020-12-02T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Arlington", + "order": 6742.84, + "orderData": 2020-09-08T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": 7338.26, + "orderData": 2020-06-10T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Philadelphia", + "order": 7498.344, + "orderData": 2020-04-10T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 8591, + "orderData": 2020-12-04T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Dallas", + "order": 8682.12, + "orderData": 2020-11-06T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Decatur", + "order": 8709.736, + "orderData": 2020-02-16T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 9176.952, + "orderData": 2020-06-15T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 9198, + "orderData": 2020-12-25T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 9381.82, + "orderData": 2020-11-02T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": 9729.248, + "orderData": 2020-11-05T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Bowling", + "order": 9791.704, + "orderData": 2020-11-16T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Morristown", + "order": 9838, + "orderData": 2020-09-17T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 10097.96, + "orderData": 2020-12-14T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": 10385.568, + "orderData": 2020-06-25T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 11417.964, + "orderData": 2020-11-16T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Houston", + "order": 11973.92, + "orderData": 2020-03-26T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Lakewood", + "order": 12734.8, + "orderData": 2020-10-12T00:00:00.000Z, + }, +] +`; + +exports[`Queries with the @cubejs-backend/clickhouse-driver SQL API: Rollup with aliases: rollup_with_aliases 1`] = ` +Array [ + Object { + "SUM(ECommerce.count)": "1", + "city": "Detroit", + "order": "CA-2017-145142", + "orderData": 2020-01-23T00:00:00.000Z, + "row": 523, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Lorain", + "order": "CA-2017-107503", + "orderData": 2020-01-01T00:00:00.000Z, + "row": 849, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Olympia", + "order": "CA-2017-118437", + "orderData": 2020-06-17T00:00:00.000Z, + "row": 1013, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Vancouver", + "order": "CA-2017-139661", + "orderData": 2020-10-30T00:00:00.000Z, + "row": 1494, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-133648", + "orderData": 2020-06-25T00:00:00.000Z, + "row": 1995, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-138422", + "orderData": 2020-09-23T00:00:00.000Z, + "row": 2329, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": "CA-2017-140949", + "orderData": 2020-03-17T00:00:00.000Z, + "row": 2455, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-149048", + "orderData": 2020-05-13T00:00:00.000Z, + "row": 2595, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Provo", + "order": "CA-2017-112515", + "orderData": 2020-09-17T00:00:00.000Z, + "row": 2655, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-123372", + "orderData": 2020-11-28T00:00:00.000Z, + "row": 2661, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Glendale", + "order": "CA-2017-134915", + "orderData": 2020-11-12T00:00:00.000Z, + "row": 2952, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "San Francisco", + "order": "CA-2017-131492", + "orderData": 2020-10-19T00:00:00.000Z, + "row": 3059, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "San Francisco", + "order": "CA-2017-131492", + "orderData": 2020-10-19T00:00:00.000Z, + "row": 3060, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Louisville", + "order": "US-2017-132297", + "orderData": 2020-05-27T00:00:00.000Z, + "row": 3083, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Auburn", + "order": "CA-2017-102554", + "orderData": 2020-06-11T00:00:00.000Z, + "row": 3448, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Omaha", + "order": "CA-2017-144568", + "orderData": 2020-05-29T00:00:00.000Z, + "row": 3717, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Bakersfield", + "order": "CA-2017-123001", + "orderData": 2020-09-02T00:00:00.000Z, + "row": 3934, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Philadelphia", + "order": "CA-2017-100811", + "orderData": 2020-11-21T00:00:00.000Z, + "row": 4012, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Lafayette", + "order": "CA-2017-124296", + "orderData": 2020-12-24T00:00:00.000Z, + "row": 4031, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": "CA-2017-115546", + "orderData": 2020-05-14T00:00:00.000Z, + "row": 4161, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-120327", + "orderData": 2020-11-11T00:00:00.000Z, + "row": 4227, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-143567", + "orderData": 2020-11-02T00:00:00.000Z, + "row": 4882, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Detroit", + "order": "CA-2017-145653", + "orderData": 2020-09-01T00:00:00.000Z, + "row": 5220, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-147333", + "orderData": 2020-12-14T00:00:00.000Z, + "row": 5277, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Los Angeles", + "order": "CA-2017-145772", + "orderData": 2020-06-03T00:00:00.000Z, + "row": 6125, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Marion", + "order": "CA-2017-145660", + "orderData": 2020-12-01T00:00:00.000Z, + "row": 6205, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Oakland", + "order": "CA-2017-102379", + "orderData": 2020-12-02T00:00:00.000Z, + "row": 6272, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Baltimore", + "order": "US-2017-133361", + "orderData": 2020-05-14T00:00:00.000Z, + "row": 6459, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Arlington", + "order": "US-2017-124779", + "orderData": 2020-09-08T00:00:00.000Z, + "row": 6651, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Houston", + "order": "US-2017-141677", + "orderData": 2020-03-26T00:00:00.000Z, + "row": 7174, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-109183", + "orderData": 2020-12-04T00:00:00.000Z, + "row": 7293, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": "CA-2017-112172", + "orderData": 2020-06-10T00:00:00.000Z, + "row": 7310, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Philadelphia", + "order": "CA-2017-135069", + "orderData": 2020-04-10T00:00:00.000Z, + "row": 7425, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-151799", + "orderData": 2020-12-14T00:00:00.000Z, + "row": 7698, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Lakewood", + "order": "CA-2017-150091", + "orderData": 2020-10-12T00:00:00.000Z, + "row": 8425, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Dallas", + "order": "US-2017-119319", + "orderData": 2020-11-06T00:00:00.000Z, + "row": 8621, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Decatur", + "order": "CA-2017-163265", + "orderData": 2020-02-16T00:00:00.000Z, + "row": 8673, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-119284", + "orderData": 2020-06-15T00:00:00.000Z, + "row": 8697, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Morristown", + "order": "CA-2017-126928", + "orderData": 2020-09-17T00:00:00.000Z, + "row": 8878, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-105620", + "orderData": 2020-12-25T00:00:00.000Z, + "row": 8958, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": "CA-2017-102925", + "orderData": 2020-11-05T00:00:00.000Z, + "row": 9473, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": "CA-2017-116127", + "orderData": 2020-06-25T00:00:00.000Z, + "row": 9584, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-160633", + "orderData": 2020-11-16T00:00:00.000Z, + "row": 9618, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Bowling", + "order": "CA-2017-160633", + "orderData": 2020-11-16T00:00:00.000Z, + "row": 9619, + }, +] +`; + +exports[`Queries with the @cubejs-backend/clickhouse-driver SQL API: Simple Rollup: simple_rollup 1`] = ` +Array [ + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-01-23T00:00:00.000Z, + "orderId": "CA-2017-145142", + "rowId": 523, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-01-01T00:00:00.000Z, + "orderId": "CA-2017-107503", + "rowId": 849, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-06-17T00:00:00.000Z, + "orderId": "CA-2017-118437", + "rowId": 1013, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-10-30T00:00:00.000Z, + "orderId": "CA-2017-139661", + "rowId": 1494, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-06-25T00:00:00.000Z, + "orderId": "CA-2017-133648", + "rowId": 1995, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-09-23T00:00:00.000Z, + "orderId": "CA-2017-138422", + "rowId": 2329, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-03-17T00:00:00.000Z, + "orderId": "CA-2017-140949", + "rowId": 2455, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-05-13T00:00:00.000Z, + "orderId": "CA-2017-149048", + "rowId": 2595, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-09-17T00:00:00.000Z, + "orderId": "CA-2017-112515", + "rowId": 2655, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-11-28T00:00:00.000Z, + "orderId": "CA-2017-123372", + "rowId": 2661, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-11-12T00:00:00.000Z, + "orderId": "CA-2017-134915", + "rowId": 2952, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-10-19T00:00:00.000Z, + "orderId": "CA-2017-131492", + "rowId": 3059, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-10-19T00:00:00.000Z, + "orderId": "CA-2017-131492", + "rowId": 3060, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-05-27T00:00:00.000Z, + "orderId": "US-2017-132297", + "rowId": 3083, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-06-11T00:00:00.000Z, + "orderId": "CA-2017-102554", + "rowId": 3448, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-05-29T00:00:00.000Z, + "orderId": "CA-2017-144568", + "rowId": 3717, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-09-02T00:00:00.000Z, + "orderId": "CA-2017-123001", + "rowId": 3934, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-11-21T00:00:00.000Z, + "orderId": "CA-2017-100811", + "rowId": 4012, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-12-24T00:00:00.000Z, + "orderId": "CA-2017-124296", + "rowId": 4031, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-05-14T00:00:00.000Z, + "orderId": "CA-2017-115546", + "rowId": 4161, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-11-11T00:00:00.000Z, + "orderId": "CA-2017-120327", + "rowId": 4227, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-11-02T00:00:00.000Z, + "orderId": "CA-2017-143567", + "rowId": 4882, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-09-01T00:00:00.000Z, + "orderId": "CA-2017-145653", + "rowId": 5220, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-12-14T00:00:00.000Z, + "orderId": "CA-2017-147333", + "rowId": 5277, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-06-03T00:00:00.000Z, + "orderId": "CA-2017-145772", + "rowId": 6125, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-12-01T00:00:00.000Z, + "orderId": "CA-2017-145660", + "rowId": 6205, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-12-02T00:00:00.000Z, + "orderId": "CA-2017-102379", + "rowId": 6272, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-05-14T00:00:00.000Z, + "orderId": "US-2017-133361", + "rowId": 6459, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-09-08T00:00:00.000Z, + "orderId": "US-2017-124779", + "rowId": 6651, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-03-26T00:00:00.000Z, + "orderId": "US-2017-141677", + "rowId": 7174, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-12-04T00:00:00.000Z, + "orderId": "CA-2017-109183", + "rowId": 7293, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-06-10T00:00:00.000Z, + "orderId": "CA-2017-112172", + "rowId": 7310, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-04-10T00:00:00.000Z, + "orderId": "CA-2017-135069", + "rowId": 7425, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-12-14T00:00:00.000Z, + "orderId": "CA-2017-151799", + "rowId": 7698, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-10-12T00:00:00.000Z, + "orderId": "CA-2017-150091", + "rowId": 8425, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-11-06T00:00:00.000Z, + "orderId": "US-2017-119319", + "rowId": 8621, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-02-16T00:00:00.000Z, + "orderId": "CA-2017-163265", + "rowId": 8673, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-06-15T00:00:00.000Z, + "orderId": "CA-2017-119284", + "rowId": 8697, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-09-17T00:00:00.000Z, + "orderId": "CA-2017-126928", + "rowId": 8878, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-12-25T00:00:00.000Z, + "orderId": "CA-2017-105620", + "rowId": 8958, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-11-05T00:00:00.000Z, + "orderId": "CA-2017-102925", + "rowId": 9473, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-06-25T00:00:00.000Z, + "orderId": "CA-2017-116127", + "rowId": 9584, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-11-16T00:00:00.000Z, + "orderId": "CA-2017-160633", + "rowId": 9618, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-11-16T00:00:00.000Z, + "orderId": "CA-2017-160633", + "rowId": 9619, + }, +] +`; + +exports[`Queries with the @cubejs-backend/clickhouse-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/clickhouse-driver SQL API: post-aggregate percentage of total: post_aggregate_percentage_of_total 1`] = ` +Array [ + Object { + "SUM(BigECommerce.percentageOfTotalForStatus)": 100, + }, +] +`; + +exports[`Queries with the @cubejs-backend/clickhouse-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/clickhouse-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/clickhouse-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/clickhouse-driver SQL API: ungrouped pre-agg: ungrouped_pre_agg 1`] = ` +Array [ + Object { + "productName": "Canon PC1080F Personal Copier", + "totalSales": 2399.96, + }, + Object { + "productName": "Logitech di_Novo Edge Keyboard", + "totalSales": 2249.91, + }, + Object { + "productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", + "totalSales": 2154.9, + }, + Object { + "productName": "Google Nexus 5", + "totalSales": 1979.89, + }, + Object { + "productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", + "totalSales": 1292.94, + }, + Object { + "productName": "Canon PC1080F Personal Copier", + "totalSales": 1199.98, + }, + Object { + "productName": "Hewlett Packard 610 Color Digital Copier / Printer", + "totalSales": 899.982, + }, + Object { + "productName": "Okidata C610n Printer", + "totalSales": 649, + }, + Object { + "productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", + "totalSales": 600, + }, + Object { + "productName": "Google Nexus 6", + "totalSales": 539.97, + }, + Object { + "productName": "Google Nexus 7", + "totalSales": 539.97, + }, + Object { + "productName": "Harbour Creations 67200 Series Stacking Chairs", + "totalSales": 498.26, + }, + Object { + "productName": "DMI Eclipse Executive Suite Bookcases", + "totalSales": 400.784, + }, + Object { + "productName": "HTC One", + "totalSales": 239.976, + }, + Object { + "productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", + "totalSales": 232.88, + }, + Object { + "productName": "Balt Solid Wood Rectangular Table", + "totalSales": 210.98, + }, + Object { + "productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", + "totalSales": 180.96, + }, + Object { + "productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", + "totalSales": 179.9, + }, + Object { + "productName": "Harbour Creations 67200 Series Stacking Chairs", + "totalSales": 128.124, + }, + Object { + "productName": "Harbour Creations 67200 Series Stacking Chairs", + "totalSales": 113.888, + }, + Object { + "productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", + "totalSales": 86.352, + }, + Object { + "productName": "Kingston Digital DataTraveler 16GB USB 2.2", + "totalSales": 71.6, + }, + Object { + "productName": "Linden 10 Round Wall Clock, Black", + "totalSales": 48.896, + }, + Object { + "productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", + "totalSales": 45.92, + }, + Object { + "productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", + "totalSales": 45.92, + }, + Object { + "productName": "Kingston Digital DataTraveler 16GB USB 2.0", + "totalSales": 44.75, + }, + Object { + "productName": "Kingston Digital DataTraveler 16GB USB 2.1", + "totalSales": 44.75, + }, + Object { + "productName": "Recycled Eldon Regeneration Jumbo File", + "totalSales": 39.296, + }, + Object { + "productName": "Linden 10 Round Wall Clock, Black", + "totalSales": 36.672, + }, + Object { + "productName": "Linden 10 Round Wall Clock, Black", + "totalSales": 30.56, + }, + Object { + "productName": "Linden 10 Round Wall Clock, Black", + "totalSales": 30.56, + }, + Object { + "productName": "Anderson Hickey Conga Table Tops & Accessories", + "totalSales": 24.368, + }, + Object { + "productName": "Plymouth Boxed Rubber Bands by Plymouth", + "totalSales": 23.55, + }, + Object { + "productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", + "totalSales": 18.368, + }, + Object { + "productName": "Wausau Papers Astrobrights Colored Envelopes", + "totalSales": 14.352, + }, + Object { + "productName": "Plymouth Boxed Rubber Bands by Plymouth", + "totalSales": 14.13, + }, + Object { + "productName": "Project Tote Personal File", + "totalSales": 14.03, + }, + Object { + "productName": "Plymouth Boxed Rubber Bands by Plymouth", + "totalSales": 11.304, + }, + Object { + "productName": "Magna Visual Magnetic Picture Hangers", + "totalSales": 9.64, + }, + Object { + "productName": "OIC #2 Pencils, Medium Soft", + "totalSales": 9.4, + }, + Object { + "productName": "Magna Visual Magnetic Picture Hangers", + "totalSales": 7.712, + }, + Object { + "productName": "OIC #2 Pencils, Medium Soft", + "totalSales": 3.76, + }, + Object { + "productName": "OIC #2 Pencils, Medium Soft", + "totalSales": 3.76, + }, + Object { + "productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", + "totalSales": null, + }, +] +`; + +exports[`Queries with the @cubejs-backend/clickhouse-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/clickhouse-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/clickhouse-driver filtering Customers: contains + dimensions, third 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/clickhouse-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/clickhouse-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/clickhouse-driver filtering Customers: endsWith filter + dimensions, third 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/clickhouse-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/clickhouse-driver filtering Customers: notEndsWith filter + dimensions, second 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/clickhouse-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/clickhouse-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/clickhouse-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/clickhouse-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/clickhouse-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/clickhouse-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/clickhouse-driver filtering Customers: startsWith + dimensions, third 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/clickhouse-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/clickhouse-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/clickhouse-driver filtering ECommerce: contains dimensions, third 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/clickhouse-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", @@ -2263,6 +5527,14 @@ Array [ exports[`Queries with the @cubejs-backend/clickhouse-driver filtering Products: contains + dimensions + order, third 1`] = `Array []`; +exports[`Queries with the @cubejs-backend/clickhouse-driver filtering Products: contains with special chars + dimensions 1`] = ` +Array [ + Object { + "Products.productName": "Logitech di_Novo Edge Keyboard", + }, +] +`; + exports[`Queries with the @cubejs-backend/clickhouse-driver filtering Products: endsWith filter + dimensions + order, first 1`] = ` Array [ Object { @@ -2773,7 +6045,7 @@ Array [ exports[`Queries with the @cubejs-backend/clickhouse-driver querying BigECommerce: totalProfitYearAgo 1`] = `Array []`; -exports[`Queries with the @cubejs-backend/clickhouse-driver querying Customers: dimensions 1`] = ` +exports[`Queries with the @cubejs-backend/clickhouse-driver querying Customers: dimensions + limit 1`] = ` Array [ Object { "Customers.customerId": "AH-10465", @@ -2815,42 +6087,19 @@ Array [ "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/clickhouse-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", @@ -2883,66 +6132,64 @@ Array [ "Customers.customerId": "KL-16555", "Customers.customerName": "Customer 27", }, +] +`; + +exports[`Queries with the @cubejs-backend/clickhouse-driver querying Customers: dimensions + order + limit + total 1`] = ` +Array [ 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", + "Customers.customerId": "AH-10465", + "Customers.customerName": "Customer 1", }, Object { - "Customers.customerId": "MG-17650", - "Customers.customerName": "Customer 32", + "Customers.customerId": "BS-11755", + "Customers.customerName": "Customer 10", }, Object { - "Customers.customerId": "ML-17755", - "Customers.customerName": "Customer 33", + "Customers.customerId": "CA-12775", + "Customers.customerName": "Customer 11", }, Object { - "Customers.customerId": "MM-18280", - "Customers.customerName": "Customer 34", + "Customers.customerId": "CC-12475", + "Customers.customerName": "Customer 12", }, Object { - "Customers.customerId": "NP-18670", - "Customers.customerName": "Customer 35", + "Customers.customerId": "CD-12280", + "Customers.customerName": "Customer 13", }, Object { - "Customers.customerId": "PF-19165", - "Customers.customerName": "Customer 36", + "Customers.customerId": "CS-12355", + "Customers.customerName": "Customer 14", }, Object { - "Customers.customerId": "SB-20185", - "Customers.customerName": "Customer 37", + "Customers.customerId": "DB-13405", + "Customers.customerName": "Customer 15", }, Object { - "Customers.customerId": "SS-20140", - "Customers.customerName": "Customer 38", + "Customers.customerId": "DG-13300", + "Customers.customerName": "Customer 16", }, Object { - "Customers.customerId": "TB-21175", - "Customers.customerName": "Customer 39", + "Customers.customerId": "DW-13480", + "Customers.customerName": "Customer 17", }, Object { - "Customers.customerId": "TS-21205", - "Customers.customerName": "Customer 40", + "Customers.customerId": "EM-14140", + "Customers.customerName": "Customer 18", }, +] +`; + +exports[`Queries with the @cubejs-backend/clickhouse-driver querying Customers: dimensions + order + total + offset 1`] = ` +Array [ Object { - "Customers.customerId": "WB-21850", - "Customers.customerName": "Customer 41", + "Customers.customerId": "BS-11380", + "Customers.customerName": "Customer 9", }, ] `; -exports[`Queries with the @cubejs-backend/clickhouse-driver querying Customers: dimensions + limit 1`] = ` +exports[`Queries with the @cubejs-backend/clickhouse-driver querying Customers: dimensions + order 1`] = ` Array [ Object { "Customers.customerId": "AH-10465", @@ -2981,22 +6228,45 @@ Array [ "Customers.customerName": "Customer 9", }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "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/clickhouse-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", @@ -3029,64 +6299,66 @@ Array [ "Customers.customerId": "KL-16555", "Customers.customerName": "Customer 27", }, -] -`; - -exports[`Queries with the @cubejs-backend/clickhouse-driver querying Customers: dimensions + order + limit + total 1`] = ` -Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "Customers.customerId": "KN-16705", + "Customers.customerName": "Customer 28", }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "Customers.customerId": "LC-17050", + "Customers.customerName": "Customer 29", }, Object { - "Customers.customerId": "CA-12775", - "Customers.customerName": "Customer 11", + "Customers.customerId": "LR-16915", + "Customers.customerName": "Customer 30", }, Object { - "Customers.customerId": "CC-12475", - "Customers.customerName": "Customer 12", + "Customers.customerId": "MC-17605", + "Customers.customerName": "Customer 31", }, Object { - "Customers.customerId": "CD-12280", - "Customers.customerName": "Customer 13", + "Customers.customerId": "MG-17650", + "Customers.customerName": "Customer 32", }, Object { - "Customers.customerId": "CS-12355", - "Customers.customerName": "Customer 14", + "Customers.customerId": "ML-17755", + "Customers.customerName": "Customer 33", }, Object { - "Customers.customerId": "DB-13405", - "Customers.customerName": "Customer 15", + "Customers.customerId": "MM-18280", + "Customers.customerName": "Customer 34", }, Object { - "Customers.customerId": "DG-13300", - "Customers.customerName": "Customer 16", + "Customers.customerId": "NP-18670", + "Customers.customerName": "Customer 35", }, Object { - "Customers.customerId": "DW-13480", - "Customers.customerName": "Customer 17", + "Customers.customerId": "PF-19165", + "Customers.customerName": "Customer 36", }, Object { - "Customers.customerId": "EM-14140", - "Customers.customerName": "Customer 18", + "Customers.customerId": "SB-20185", + "Customers.customerName": "Customer 37", }, -] -`; - -exports[`Queries with the @cubejs-backend/clickhouse-driver querying Customers: dimensions + order + total + offset 1`] = ` -Array [ Object { - "Customers.customerId": "BS-11380", - "Customers.customerName": "Customer 9", + "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/clickhouse-driver querying Customers: dimensions + order 1`] = ` +exports[`Queries with the @cubejs-backend/clickhouse-driver querying Customers: dimensions + total 1`] = ` Array [ Object { "Customers.customerId": "AH-10465", @@ -3255,7 +6527,7 @@ Array [ ] `; -exports[`Queries with the @cubejs-backend/clickhouse-driver querying Customers: dimensions + total 1`] = ` +exports[`Queries with the @cubejs-backend/clickhouse-driver querying Customers: dimensions 1`] = ` Array [ Object { "Customers.customerId": "AH-10465", @@ -3533,7 +6805,7 @@ Array [ ] `; -exports[`Queries with the @cubejs-backend/clickhouse-driver querying ECommerce: dimensions 1`] = ` +exports[`Queries with the @cubejs-backend/clickhouse-driver querying ECommerce: dimensions + limit 1`] = ` Array [ Object { "ECommerce.category": "Furniture", @@ -3685,6 +6957,11 @@ Array [ "ECommerce.sales": "1979.89", "ECommerce.subCategory": "Phones", }, +] +`; + +exports[`Queries with the @cubejs-backend/clickhouse-driver querying ECommerce: dimensions + order + limit + total + offset 1`] = ` +Array [ Object { "ECommerce.category": "Furniture", "ECommerce.city": "Glendale", @@ -3784,402 +7061,217 @@ Array [ "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.profit": "2.726", + "ECommerce.quantity": "5", + "ECommerce.rowId": "3934", + "ECommerce.sales": "9.4", "ECommerce.subCategory": "Art", }, Object { "ECommerce.category": "Office Supplies", - "ECommerce.city": "Arlington", - "ECommerce.customerId": "BF-11020", - "ECommerce.customerName": "Customer 6", + "ECommerce.city": "Philadelphia", + "ECommerce.customerId": "CC-12475", + "ECommerce.customerName": "Customer 12", "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-09-08T00:00:00.000", - "ECommerce.orderId": "US-2017-124779", - "ECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", - "ECommerce.profit": "15.498", - "ECommerce.quantity": "5", - "ECommerce.rowId": "6651", - "ECommerce.sales": "45.92", - "ECommerce.subCategory": "Fasteners", + "ECommerce.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": "Houston", - "ECommerce.customerId": "HK-14890", - "ECommerce.customerName": "Customer 22", - "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-03-26T00:00:00.000", - "ECommerce.orderId": "US-2017-141677", - "ECommerce.productName": "Canon PC1080F Personal Copier", - "ECommerce.profit": "569.9905", - "ECommerce.quantity": "5", - "ECommerce.rowId": "7174", - "ECommerce.sales": "2399.96", - "ECommerce.subCategory": "Copiers", + "ECommerce.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": "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.customerId": "AH-10465", + "ECommerce.customerName": "Customer 1", "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.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": "7310", - "ECommerce.sales": "14.13", - "ECommerce.subCategory": "Fasteners", + "ECommerce.rowId": "4161", + "ECommerce.sales": "539.97", + "ECommerce.subCategory": "Phones", }, +] +`; + +exports[`Queries with the @cubejs-backend/clickhouse-driver querying ECommerce: dimensions + order + limit + total 1`] = ` +Array [ Object { "ECommerce.category": "Furniture", - "ECommerce.city": "Philadelphia", - "ECommerce.customerId": "BS-11755", - "ECommerce.customerName": "Customer 10", + "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-04-10T00:00:00.000", - "ECommerce.orderId": "CA-2017-135069", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderId": "CA-2017-107503", "ECommerce.productName": "Linden 10 Round Wall Clock, Black", - "ECommerce.profit": "6.4176", - "ECommerce.quantity": "3", - "ECommerce.rowId": "7425", - "ECommerce.sales": "36.672", + "ECommerce.profit": "8.5568", + "ECommerce.quantity": "4", + "ECommerce.rowId": "849", + "ECommerce.sales": "48.896", "ECommerce.subCategory": "Furnishings", }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "BF-11170", - "ECommerce.customerName": "Customer 7", + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Olympia", + "ECommerce.customerId": "PF-19165", + "ECommerce.customerName": "Customer 36", "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", + "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": "Lakewood", - "ECommerce.customerId": "NP-18670", - "ECommerce.customerName": "Customer 35", + "ECommerce.city": "Vancouver", + "ECommerce.customerId": "JW-15220", + "ECommerce.customerName": "Customer 26", "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.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": "Decatur", - "ECommerce.customerId": "JS-16030", - "ECommerce.customerName": "Customer 25", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "ML-17755", + "ECommerce.customerName": "Customer 33", "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.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": "Technology", + "ECommerce.category": "Office Supplies", "ECommerce.city": "Columbus", - "ECommerce.customerId": "TS-21205", - "ECommerce.customerName": "Customer 40", + "ECommerce.customerId": "KN-16705", + "ECommerce.customerName": "Customer 28", "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.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": "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", + "ECommerce.rowId": "2329", + "ECommerce.sales": "14.352", + "ECommerce.subCategory": "Envelopes", }, 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", + "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": "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.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": "9473", - "ECommerce.sales": "128.124", - "ECommerce.subCategory": "Chairs", + "ECommerce.rowId": "2595", + "ECommerce.sales": "180.96", + "ECommerce.subCategory": "Envelopes", }, 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.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": "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", + "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/clickhouse-driver querying ECommerce: dimensions + order + total + offset 1`] = ` +Array [ Object { "ECommerce.category": "Office Supplies", "ECommerce.city": "Bowling", @@ -4198,7 +7290,7 @@ Array [ ] `; -exports[`Queries with the @cubejs-backend/clickhouse-driver querying ECommerce: dimensions + limit 1`] = ` +exports[`Queries with the @cubejs-backend/clickhouse-driver querying ECommerce: dimensions + order 1`] = ` Array [ Object { "ECommerce.category": "Furniture", @@ -4350,11 +7442,6 @@ Array [ "ECommerce.sales": "1979.89", "ECommerce.subCategory": "Phones", }, -] -`; - -exports[`Queries with the @cubejs-backend/clickhouse-driver querying ECommerce: dimensions + order + limit + total + offset 1`] = ` -Array [ Object { "ECommerce.category": "Furniture", "ECommerce.city": "Glendale", @@ -4505,166 +7592,351 @@ Array [ "ECommerce.sales": "539.97", "ECommerce.subCategory": "Phones", }, -] -`; - -exports[`Queries with the @cubejs-backend/clickhouse-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.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-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", + "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": "Lorain", - "ECommerce.customerId": "GA-14725", - "ECommerce.customerName": "Customer 19", + "ECommerce.city": "Philadelphia", + "ECommerce.customerId": "BS-11755", + "ECommerce.customerName": "Customer 10", "ECommerce.discount": "0.2", - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderId": "CA-2017-107503", + "ECommerce.orderDate": "2020-04-10T00:00:00.000", + "ECommerce.orderId": "CA-2017-135069", "ECommerce.productName": "Linden 10 Round Wall Clock, Black", - "ECommerce.profit": "8.5568", - "ECommerce.quantity": "4", - "ECommerce.rowId": "849", - "ECommerce.sales": "48.896", + "ECommerce.profit": "6.4176", + "ECommerce.quantity": "3", + "ECommerce.rowId": "7425", + "ECommerce.sales": "36.672", "ECommerce.subCategory": "Furnishings", }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Olympia", - "ECommerce.customerId": "PF-19165", - "ECommerce.customerName": "Customer 36", + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "BF-11170", + "ECommerce.customerName": "Customer 7", "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", + "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": "Vancouver", - "ECommerce.customerId": "JW-15220", - "ECommerce.customerName": "Customer 26", + "ECommerce.city": "Lakewood", + "ECommerce.customerId": "NP-18670", + "ECommerce.customerName": "Customer 35", "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.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": "Columbus", - "ECommerce.customerId": "ML-17755", - "ECommerce.customerName": "Customer 33", + "ECommerce.city": "Decatur", + "ECommerce.customerId": "JS-16030", + "ECommerce.customerName": "Customer 25", "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.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": "Office Supplies", + "ECommerce.category": "Technology", "ECommerce.city": "Columbus", - "ECommerce.customerId": "KN-16705", - "ECommerce.customerName": "Customer 28", + "ECommerce.customerId": "TS-21205", + "ECommerce.customerName": "Customer 40", "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.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": "2329", - "ECommerce.sales": "14.352", - "ECommerce.subCategory": "Envelopes", + "ECommerce.rowId": "8697", + "ECommerce.sales": "239.976", + "ECommerce.subCategory": "Phones", }, Object { "ECommerce.category": "Technology", - "ECommerce.city": "New York City", - "ECommerce.customerId": "DB-13405", - "ECommerce.customerName": "Customer 15", + "ECommerce.city": "Morristown", + "ECommerce.customerId": "GZ-14470", + "ECommerce.customerName": "Customer 20", "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", + "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": "Office Supplies", + "ECommerce.category": "Technology", "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.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": "2595", - "ECommerce.sales": "180.96", - "ECommerce.subCategory": "Envelopes", + "ECommerce.rowId": "8958", + "ECommerce.sales": "120", + "ECommerce.subCategory": "Machines", }, 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.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": "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", + "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", }, -] -`; - -exports[`Queries with the @cubejs-backend/clickhouse-driver querying ECommerce: dimensions + order + total + offset 1`] = ` -Array [ Object { "ECommerce.category": "Office Supplies", "ECommerce.city": "Bowling", @@ -4683,7 +7955,7 @@ Array [ ] `; -exports[`Queries with the @cubejs-backend/clickhouse-driver querying ECommerce: dimensions + order 1`] = ` +exports[`Queries with the @cubejs-backend/clickhouse-driver querying ECommerce: dimensions + total 1`] = ` Array [ Object { "ECommerce.category": "Furniture", @@ -5348,7 +8620,7 @@ Array [ ] `; -exports[`Queries with the @cubejs-backend/clickhouse-driver querying ECommerce: dimensions + total 1`] = ` +exports[`Queries with the @cubejs-backend/clickhouse-driver querying ECommerce: dimensions 1`] = ` Array [ Object { "ECommerce.category": "Furniture", diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-full.test.ts.snap index bcf2034df98ea..030446384b593 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/databricks-jdbc-full.test.ts.snap @@ -1797,2579 +1797,5982 @@ Array [ ] `; -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver SQL API: Simple Rollup: simple_rollup 1`] = ` +exports[`Queries with the @cubejs-backend/databricks-jdbc-driver SQL API: Nested Rollup over asterisk: nested_rollup_over_asterisk 1`] = ` Array [ Object { - "SUM(ECommerce.count)": "44", - "orderDate": null, - "orderId": null, - "rowId": null, + "SUM(a.count)": "44", + "date": null, + "order": null, + "row": null, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 523, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 523, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-145142", - "rowId": 523, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-145142", + "row": 523, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-01-23T00:00:00.000Z, - "orderId": "CA-2017-145142", - "rowId": 523, + "SUM(a.count)": "1", + "date": 2020-01-23T00:00:00.000Z, + "order": "CA-2017-145142", + "row": 523, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 849, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 849, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-107503", - "rowId": 849, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-107503", + "row": 849, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-01-01T00:00:00.000Z, - "orderId": "CA-2017-107503", - "rowId": 849, + "SUM(a.count)": "1", + "date": 2020-01-01T00:00:00.000Z, + "order": "CA-2017-107503", + "row": 849, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 1013, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 1013, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-118437", - "rowId": 1013, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-118437", + "row": 1013, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-06-17T00:00:00.000Z, - "orderId": "CA-2017-118437", - "rowId": 1013, + "SUM(a.count)": "1", + "date": 2020-06-17T00:00:00.000Z, + "order": "CA-2017-118437", + "row": 1013, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 1494, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 1494, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-139661", - "rowId": 1494, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-139661", + "row": 1494, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-10-30T00:00:00.000Z, - "orderId": "CA-2017-139661", - "rowId": 1494, + "SUM(a.count)": "1", + "date": 2020-10-30T00:00:00.000Z, + "order": "CA-2017-139661", + "row": 1494, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 1995, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 1995, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-133648", - "rowId": 1995, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-133648", + "row": 1995, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-06-25T00:00:00.000Z, - "orderId": "CA-2017-133648", - "rowId": 1995, + "SUM(a.count)": "1", + "date": 2020-06-25T00:00:00.000Z, + "order": "CA-2017-133648", + "row": 1995, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2329, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 2329, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-138422", - "rowId": 2329, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-138422", + "row": 2329, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-09-23T00:00:00.000Z, - "orderId": "CA-2017-138422", - "rowId": 2329, + "SUM(a.count)": "1", + "date": 2020-09-23T00:00:00.000Z, + "order": "CA-2017-138422", + "row": 2329, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2455, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 2455, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-140949", - "rowId": 2455, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-140949", + "row": 2455, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-03-17T00:00:00.000Z, - "orderId": "CA-2017-140949", - "rowId": 2455, + "SUM(a.count)": "1", + "date": 2020-03-17T00:00:00.000Z, + "order": "CA-2017-140949", + "row": 2455, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2595, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 2595, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-149048", - "rowId": 2595, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-149048", + "row": 2595, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-05-13T00:00:00.000Z, - "orderId": "CA-2017-149048", - "rowId": 2595, + "SUM(a.count)": "1", + "date": 2020-05-13T00:00:00.000Z, + "order": "CA-2017-149048", + "row": 2595, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2655, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 2655, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-112515", - "rowId": 2655, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-112515", + "row": 2655, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-09-17T00:00:00.000Z, - "orderId": "CA-2017-112515", - "rowId": 2655, + "SUM(a.count)": "1", + "date": 2020-09-17T00:00:00.000Z, + "order": "CA-2017-112515", + "row": 2655, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2661, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 2661, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-123372", - "rowId": 2661, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-123372", + "row": 2661, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-11-28T00:00:00.000Z, - "orderId": "CA-2017-123372", - "rowId": 2661, + "SUM(a.count)": "1", + "date": 2020-11-28T00:00:00.000Z, + "order": "CA-2017-123372", + "row": 2661, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 2952, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 2952, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-134915", - "rowId": 2952, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-134915", + "row": 2952, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-11-12T00:00:00.000Z, - "orderId": "CA-2017-134915", - "rowId": 2952, + "SUM(a.count)": "1", + "date": 2020-11-12T00:00:00.000Z, + "order": "CA-2017-134915", + "row": 2952, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3059, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 3059, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-131492", - "rowId": 3059, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-131492", + "row": 3059, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-10-19T00:00:00.000Z, - "orderId": "CA-2017-131492", - "rowId": 3059, + "SUM(a.count)": "1", + "date": 2020-10-19T00:00:00.000Z, + "order": "CA-2017-131492", + "row": 3059, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3060, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 3060, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-131492", - "rowId": 3060, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-131492", + "row": 3060, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-10-19T00:00:00.000Z, - "orderId": "CA-2017-131492", - "rowId": 3060, + "SUM(a.count)": "1", + "date": 2020-10-19T00:00:00.000Z, + "order": "CA-2017-131492", + "row": 3060, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3083, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 3083, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "US-2017-132297", - "rowId": 3083, + "SUM(a.count)": "1", + "date": null, + "order": "US-2017-132297", + "row": 3083, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-05-27T00:00:00.000Z, - "orderId": "US-2017-132297", - "rowId": 3083, + "SUM(a.count)": "1", + "date": 2020-05-27T00:00:00.000Z, + "order": "US-2017-132297", + "row": 3083, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3448, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 3448, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-102554", - "rowId": 3448, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-102554", + "row": 3448, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-06-11T00:00:00.000Z, - "orderId": "CA-2017-102554", - "rowId": 3448, + "SUM(a.count)": "1", + "date": 2020-06-11T00:00:00.000Z, + "order": "CA-2017-102554", + "row": 3448, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3717, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 3717, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-144568", - "rowId": 3717, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-144568", + "row": 3717, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-05-29T00:00:00.000Z, - "orderId": "CA-2017-144568", - "rowId": 3717, + "SUM(a.count)": "1", + "date": 2020-05-29T00:00:00.000Z, + "order": "CA-2017-144568", + "row": 3717, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 3934, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 3934, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-123001", - "rowId": 3934, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-123001", + "row": 3934, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-09-02T00:00:00.000Z, - "orderId": "CA-2017-123001", - "rowId": 3934, + "SUM(a.count)": "1", + "date": 2020-09-02T00:00:00.000Z, + "order": "CA-2017-123001", + "row": 3934, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 4012, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 4012, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-100811", - "rowId": 4012, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-100811", + "row": 4012, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-11-21T00:00:00.000Z, - "orderId": "CA-2017-100811", - "rowId": 4012, + "SUM(a.count)": "1", + "date": 2020-11-21T00:00:00.000Z, + "order": "CA-2017-100811", + "row": 4012, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 4031, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 4031, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-124296", - "rowId": 4031, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-124296", + "row": 4031, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-12-24T00:00:00.000Z, - "orderId": "CA-2017-124296", - "rowId": 4031, + "SUM(a.count)": "1", + "date": 2020-12-24T00:00:00.000Z, + "order": "CA-2017-124296", + "row": 4031, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 4161, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 4161, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-115546", - "rowId": 4161, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-115546", + "row": 4161, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-05-14T00:00:00.000Z, - "orderId": "CA-2017-115546", - "rowId": 4161, + "SUM(a.count)": "1", + "date": 2020-05-14T00:00:00.000Z, + "order": "CA-2017-115546", + "row": 4161, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 4227, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 4227, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-120327", - "rowId": 4227, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-120327", + "row": 4227, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-11-11T00:00:00.000Z, - "orderId": "CA-2017-120327", - "rowId": 4227, + "SUM(a.count)": "1", + "date": 2020-11-11T00:00:00.000Z, + "order": "CA-2017-120327", + "row": 4227, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 4882, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 4882, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-143567", - "rowId": 4882, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-143567", + "row": 4882, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-11-02T00:00:00.000Z, - "orderId": "CA-2017-143567", - "rowId": 4882, + "SUM(a.count)": "1", + "date": 2020-11-02T00:00:00.000Z, + "order": "CA-2017-143567", + "row": 4882, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 5220, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 5220, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-145653", - "rowId": 5220, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-145653", + "row": 5220, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-09-01T00:00:00.000Z, - "orderId": "CA-2017-145653", - "rowId": 5220, + "SUM(a.count)": "1", + "date": 2020-09-01T00:00:00.000Z, + "order": "CA-2017-145653", + "row": 5220, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 5277, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 5277, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-147333", - "rowId": 5277, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-147333", + "row": 5277, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-12-14T00:00:00.000Z, - "orderId": "CA-2017-147333", - "rowId": 5277, + "SUM(a.count)": "1", + "date": 2020-12-14T00:00:00.000Z, + "order": "CA-2017-147333", + "row": 5277, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 6125, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 6125, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-145772", - "rowId": 6125, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-145772", + "row": 6125, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-06-03T00:00:00.000Z, - "orderId": "CA-2017-145772", - "rowId": 6125, + "SUM(a.count)": "1", + "date": 2020-06-03T00:00:00.000Z, + "order": "CA-2017-145772", + "row": 6125, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 6205, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 6205, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-145660", - "rowId": 6205, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-145660", + "row": 6205, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-12-01T00:00:00.000Z, - "orderId": "CA-2017-145660", - "rowId": 6205, + "SUM(a.count)": "1", + "date": 2020-12-01T00:00:00.000Z, + "order": "CA-2017-145660", + "row": 6205, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 6272, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 6272, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-102379", - "rowId": 6272, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-102379", + "row": 6272, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-12-02T00:00:00.000Z, - "orderId": "CA-2017-102379", - "rowId": 6272, + "SUM(a.count)": "1", + "date": 2020-12-02T00:00:00.000Z, + "order": "CA-2017-102379", + "row": 6272, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 6459, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 6459, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "US-2017-133361", - "rowId": 6459, + "SUM(a.count)": "1", + "date": null, + "order": "US-2017-133361", + "row": 6459, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-05-14T00:00:00.000Z, - "orderId": "US-2017-133361", - "rowId": 6459, + "SUM(a.count)": "1", + "date": 2020-05-14T00:00:00.000Z, + "order": "US-2017-133361", + "row": 6459, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 6651, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 6651, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "US-2017-124779", - "rowId": 6651, + "SUM(a.count)": "1", + "date": null, + "order": "US-2017-124779", + "row": 6651, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-09-08T00:00:00.000Z, - "orderId": "US-2017-124779", - "rowId": 6651, + "SUM(a.count)": "1", + "date": 2020-09-08T00:00:00.000Z, + "order": "US-2017-124779", + "row": 6651, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 7174, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 7174, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "US-2017-141677", - "rowId": 7174, + "SUM(a.count)": "1", + "date": null, + "order": "US-2017-141677", + "row": 7174, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-03-26T00:00:00.000Z, - "orderId": "US-2017-141677", - "rowId": 7174, + "SUM(a.count)": "1", + "date": 2020-03-26T00:00:00.000Z, + "order": "US-2017-141677", + "row": 7174, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 7293, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 7293, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-109183", - "rowId": 7293, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-109183", + "row": 7293, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-12-04T00:00:00.000Z, - "orderId": "CA-2017-109183", - "rowId": 7293, + "SUM(a.count)": "1", + "date": 2020-12-04T00:00:00.000Z, + "order": "CA-2017-109183", + "row": 7293, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 7310, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 7310, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-112172", - "rowId": 7310, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-112172", + "row": 7310, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-06-10T00:00:00.000Z, - "orderId": "CA-2017-112172", - "rowId": 7310, + "SUM(a.count)": "1", + "date": 2020-06-10T00:00:00.000Z, + "order": "CA-2017-112172", + "row": 7310, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 7425, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 7425, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-135069", - "rowId": 7425, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-135069", + "row": 7425, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-04-10T00:00:00.000Z, - "orderId": "CA-2017-135069", - "rowId": 7425, + "SUM(a.count)": "1", + "date": 2020-04-10T00:00:00.000Z, + "order": "CA-2017-135069", + "row": 7425, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 7698, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 7698, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-151799", - "rowId": 7698, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-151799", + "row": 7698, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-12-14T00:00:00.000Z, - "orderId": "CA-2017-151799", - "rowId": 7698, + "SUM(a.count)": "1", + "date": 2020-12-14T00:00:00.000Z, + "order": "CA-2017-151799", + "row": 7698, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8425, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 8425, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-150091", - "rowId": 8425, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-150091", + "row": 8425, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-10-12T00:00:00.000Z, - "orderId": "CA-2017-150091", - "rowId": 8425, + "SUM(a.count)": "1", + "date": 2020-10-12T00:00:00.000Z, + "order": "CA-2017-150091", + "row": 8425, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8621, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 8621, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "US-2017-119319", - "rowId": 8621, + "SUM(a.count)": "1", + "date": null, + "order": "US-2017-119319", + "row": 8621, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-11-06T00:00:00.000Z, - "orderId": "US-2017-119319", - "rowId": 8621, + "SUM(a.count)": "1", + "date": 2020-11-06T00:00:00.000Z, + "order": "US-2017-119319", + "row": 8621, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8673, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 8673, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-163265", - "rowId": 8673, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-163265", + "row": 8673, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-02-16T00:00:00.000Z, - "orderId": "CA-2017-163265", - "rowId": 8673, + "SUM(a.count)": "1", + "date": 2020-02-16T00:00:00.000Z, + "order": "CA-2017-163265", + "row": 8673, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8697, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 8697, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-119284", - "rowId": 8697, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-119284", + "row": 8697, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-06-15T00:00:00.000Z, - "orderId": "CA-2017-119284", - "rowId": 8697, + "SUM(a.count)": "1", + "date": 2020-06-15T00:00:00.000Z, + "order": "CA-2017-119284", + "row": 8697, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8878, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 8878, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-126928", - "rowId": 8878, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-126928", + "row": 8878, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-09-17T00:00:00.000Z, - "orderId": "CA-2017-126928", - "rowId": 8878, + "SUM(a.count)": "1", + "date": 2020-09-17T00:00:00.000Z, + "order": "CA-2017-126928", + "row": 8878, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 8958, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 8958, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-105620", - "rowId": 8958, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-105620", + "row": 8958, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-12-25T00:00:00.000Z, - "orderId": "CA-2017-105620", - "rowId": 8958, + "SUM(a.count)": "1", + "date": 2020-12-25T00:00:00.000Z, + "order": "CA-2017-105620", + "row": 8958, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 9473, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 9473, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-102925", - "rowId": 9473, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-102925", + "row": 9473, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-11-05T00:00:00.000Z, - "orderId": "CA-2017-102925", - "rowId": 9473, + "SUM(a.count)": "1", + "date": 2020-11-05T00:00:00.000Z, + "order": "CA-2017-102925", + "row": 9473, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 9584, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 9584, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-116127", - "rowId": 9584, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-116127", + "row": 9584, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-06-25T00:00:00.000Z, - "orderId": "CA-2017-116127", - "rowId": 9584, + "SUM(a.count)": "1", + "date": 2020-06-25T00:00:00.000Z, + "order": "CA-2017-116127", + "row": 9584, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 9618, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 9618, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-160633", - "rowId": 9618, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-160633", + "row": 9618, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-11-16T00:00:00.000Z, - "orderId": "CA-2017-160633", - "rowId": 9618, + "SUM(a.count)": "1", + "date": 2020-11-16T00:00:00.000Z, + "order": "CA-2017-160633", + "row": 9618, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": null, - "rowId": 9619, + "SUM(a.count)": "1", + "date": null, + "order": null, + "row": 9619, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": null, - "orderId": "CA-2017-160633", - "rowId": 9619, + "SUM(a.count)": "1", + "date": null, + "order": "CA-2017-160633", + "row": 9619, }, Object { - "SUM(ECommerce.count)": "1", - "orderDate": 2020-11-16T00:00:00.000Z, - "orderId": "CA-2017-160633", - "rowId": 9619, + "SUM(a.count)": "1", + "date": 2020-11-16T00:00:00.000Z, + "order": "CA-2017-160633", + "row": 9619, }, ] `; -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver SQL API: post-aggregate percentage of total: post_aggregate_percentage_of_total 1`] = ` +exports[`Queries with the @cubejs-backend/databricks-jdbc-driver SQL API: Rollup over exprs: rollup_over_exprs 1`] = ` Array [ Object { - "SUM(BigECommerce.percentageOfTotalForStatus)": 100, + "SUM(ECommerce.count)": "44", + "city": null, + "order": null, + "orderData": null, }, -] -`; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver SQL API: powerbi min max push down: powerbi_min_max_push_down 1`] = ` -Array [ Object { - "a0": 2020-12-25T00:00:00.000Z, - "a1": 2020-01-01T00:00:00.000Z, + "SUM(ECommerce.count)": "1", + "city": null, + "order": 944.96, + "orderData": null, }, -] -`; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver SQL API: powerbi min max ungrouped flag: powerbi_min_max_ungrouped_flag 1`] = ` -Array [ Object { - "a0": "39", - "a1": 3.76, - "a2": 2399.96, + "SUM(ECommerce.count)": "1", + "city": null, + "order": 944.96, + "orderData": 2020-01-23T00:00:00.000Z, }, -] -`; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver SQL API: reuse params: reuse_params 1`] = ` -Array [ Object { - "c0": 2020-01-01T00:00:00.000Z, - "m0": 17372, + "SUM(ECommerce.count)": "1", + "city": "Detroit", + "order": 944.96, + "orderData": 2020-01-23T00:00:00.000Z, }, -] -`; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver SQL API: ungrouped pre-agg: ungrouped_pre_agg 1`] = ` -Array [ Object { - "productName": "Canon PC1080F Personal Copier", - "totalSales": 2399.96, + "SUM(ECommerce.count)": "1", + "city": null, + "order": 946.792, + "orderData": null, }, Object { - "productName": "Logitech di_Novo Edge Keyboard", - "totalSales": 2249.91, + "SUM(ECommerce.count)": "1", + "city": null, + "order": 946.792, + "orderData": 2020-01-01T00:00:00.000Z, }, Object { - "productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", - "totalSales": 2154.9, + "SUM(ECommerce.count)": "1", + "city": "Lorain", + "order": 946.792, + "orderData": 2020-01-01T00:00:00.000Z, }, Object { - "productName": "Google Nexus 5", - "totalSales": 1979.89, + "SUM(ECommerce.count)": "1", + "city": null, + "order": 1041.06, + "orderData": null, }, Object { - "productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", - "totalSales": 1292.94, + "SUM(ECommerce.count)": "1", + "city": null, + "order": 1041.06, + "orderData": 2020-06-17T00:00:00.000Z, }, Object { - "productName": "Canon PC1080F Personal Copier", - "totalSales": 1199.98, + "SUM(ECommerce.count)": "1", + "city": "Olympia", + "order": 1041.06, + "orderData": 2020-06-17T00:00:00.000Z, }, Object { - "productName": "Hewlett Packard 610 Color Digital Copier / Printer", - "totalSales": 899.982, + "SUM(ECommerce.count)": "1", + "city": null, + "order": 1513.28, + "orderData": null, }, Object { - "productName": "Okidata C610n Printer", - "totalSales": 649, + "SUM(ECommerce.count)": "1", + "city": null, + "order": 1513.28, + "orderData": 2020-10-30T00:00:00.000Z, }, Object { - "productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", - "totalSales": 600, + "SUM(ECommerce.count)": "1", + "city": "Vancouver", + "order": 1513.28, + "orderData": 2020-10-30T00:00:00.000Z, }, Object { - "productName": "Google Nexus 6", - "totalSales": 539.97, + "SUM(ECommerce.count)": "1", + "city": null, + "order": 2017.608, + "orderData": null, }, Object { - "productName": "Google Nexus 7", - "totalSales": 539.97, + "SUM(ECommerce.count)": "1", + "city": null, + "order": 2017.608, + "orderData": 2020-06-25T00:00:00.000Z, }, Object { - "productName": "Harbour Creations 67200 Series Stacking Chairs", - "totalSales": 498.26, + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 2017.608, + "orderData": 2020-06-25T00:00:00.000Z, }, Object { - "productName": "DMI Eclipse Executive Suite Bookcases", - "totalSales": 400.784, + "SUM(ECommerce.count)": "1", + "city": null, + "order": 2357.704, + "orderData": null, }, Object { - "productName": "HTC One", - "totalSales": 239.976, + "SUM(ECommerce.count)": "1", + "city": null, + "order": 2357.704, + "orderData": 2020-09-23T00:00:00.000Z, }, Object { - "productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", - "totalSales": 232.88, + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 2357.704, + "orderData": 2020-09-23T00:00:00.000Z, }, Object { - "productName": "Balt Solid Wood Rectangular Table", - "totalSales": 210.98, + "SUM(ECommerce.count)": "1", + "city": null, + "order": 2598.2, + "orderData": null, }, Object { - "productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", - "totalSales": 180.96, + "SUM(ECommerce.count)": "1", + "city": null, + "order": 2598.2, + "orderData": 2020-03-17T00:00:00.000Z, }, Object { - "productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", - "totalSales": 179.9, + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": 2598.2, + "orderData": 2020-03-17T00:00:00.000Z, }, Object { - "productName": "Harbour Creations 67200 Series Stacking Chairs", - "totalSales": 128.124, + "SUM(ECommerce.count)": "1", + "city": null, + "order": 2956.92, + "orderData": null, }, Object { - "productName": "Harbour Creations 67200 Series Stacking Chairs", - "totalSales": 113.888, + "SUM(ECommerce.count)": "1", + "city": null, + "order": 2956.92, + "orderData": 2020-05-13T00:00:00.000Z, }, Object { - "productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", - "totalSales": 86.352, + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 2956.92, + "orderData": 2020-05-13T00:00:00.000Z, }, Object { - "productName": "Kingston Digital DataTraveler 16GB USB 2.2", - "totalSales": 71.6, + "SUM(ECommerce.count)": "1", + "city": null, + "order": 3108.736, + "orderData": null, }, Object { - "productName": "Linden 10 Round Wall Clock, Black", - "totalSales": 48.896, + "SUM(ECommerce.count)": "1", + "city": null, + "order": 3108.736, + "orderData": 2020-10-19T00:00:00.000Z, }, Object { - "productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", - "totalSales": 45.92, + "SUM(ECommerce.count)": "1", + "city": "San Francisco", + "order": 3108.736, + "orderData": 2020-10-19T00:00:00.000Z, }, Object { - "productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", - "totalSales": 45.92, + "SUM(ECommerce.count)": "1", + "city": null, + "order": 3120.12, + "orderData": null, }, Object { - "productName": "Kingston Digital DataTraveler 16GB USB 2.0", - "totalSales": 44.75, + "SUM(ECommerce.count)": "1", + "city": null, + "order": 3120.12, + "orderData": 2020-10-19T00:00:00.000Z, }, Object { - "productName": "Kingston Digital DataTraveler 16GB USB 2.1", - "totalSales": 44.75, + "SUM(ECommerce.count)": "1", + "city": "San Francisco", + "order": 3120.12, + "orderData": 2020-10-19T00:00:00.000Z, }, Object { - "productName": "Recycled Eldon Regeneration Jumbo File", - "totalSales": 39.296, + "SUM(ECommerce.count)": "1", + "city": null, + "order": 3179.776, + "orderData": null, }, Object { - "productName": "Linden 10 Round Wall Clock, Black", - "totalSales": 36.672, + "SUM(ECommerce.count)": "1", + "city": null, + "order": 3179.776, + "orderData": 2020-11-12T00:00:00.000Z, }, Object { - "productName": "Linden 10 Round Wall Clock, Black", - "totalSales": 30.56, + "SUM(ECommerce.count)": "1", + "city": "Glendale", + "order": 3179.776, + "orderData": 2020-11-12T00:00:00.000Z, }, Object { - "productName": "Linden 10 Round Wall Clock, Black", - "totalSales": 30.56, + "SUM(ECommerce.count)": "1", + "city": null, + "order": 3455.52, + "orderData": null, }, Object { - "productName": "Anderson Hickey Conga Table Tops & Accessories", - "totalSales": 24.368, + "SUM(ECommerce.count)": "1", + "city": null, + "order": 3455.52, + "orderData": 2020-06-11T00:00:00.000Z, }, Object { - "productName": "Plymouth Boxed Rubber Bands by Plymouth", - "totalSales": 23.55, + "SUM(ECommerce.count)": "1", + "city": "Auburn", + "order": 3455.52, + "orderData": 2020-06-11T00:00:00.000Z, }, Object { - "productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", - "totalSales": 18.368, + "SUM(ECommerce.count)": "1", + "city": null, + "order": 3764.1, + "orderData": null, }, Object { - "productName": "Wausau Papers Astrobrights Colored Envelopes", - "totalSales": 14.352, + "SUM(ECommerce.count)": "1", + "city": null, + "order": 3764.1, + "orderData": 2020-05-29T00:00:00.000Z, }, Object { - "productName": "Plymouth Boxed Rubber Bands by Plymouth", - "totalSales": 14.13, + "SUM(ECommerce.count)": "1", + "city": "Omaha", + "order": 3764.1, + "orderData": 2020-05-29T00:00:00.000Z, }, Object { - "productName": "Project Tote Personal File", - "totalSales": 14.03, + "SUM(ECommerce.count)": "1", + "city": null, + "order": 3952.8, + "orderData": null, }, Object { - "productName": "Plymouth Boxed Rubber Bands by Plymouth", - "totalSales": 11.304, + "SUM(ECommerce.count)": "1", + "city": null, + "order": 3952.8, + "orderData": 2020-09-02T00:00:00.000Z, }, Object { - "productName": "Magna Visual Magnetic Picture Hangers", - "totalSales": 9.64, + "SUM(ECommerce.count)": "1", + "city": "Bakersfield", + "order": 3952.8, + "orderData": 2020-09-02T00:00:00.000Z, }, Object { - "productName": "OIC #2 Pencils, Medium Soft", - "totalSales": 9.4, + "SUM(ECommerce.count)": "1", + "city": null, + "order": 4090.592, + "orderData": null, }, Object { - "productName": "Magna Visual Magnetic Picture Hangers", - "totalSales": 7.712, + "SUM(ECommerce.count)": "1", + "city": null, + "order": 4090.592, + "orderData": 2020-11-21T00:00:00.000Z, }, Object { - "productName": "OIC #2 Pencils, Medium Soft", - "totalSales": 3.76, + "SUM(ECommerce.count)": "1", + "city": "Philadelphia", + "order": 4090.592, + "orderData": 2020-11-21T00:00:00.000Z, }, Object { - "productName": "OIC #2 Pencils, Medium Soft", - "totalSales": 3.76, + "SUM(ECommerce.count)": "1", + "city": null, + "order": 4162.94, + "orderData": null, }, Object { - "productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", - "totalSales": null, + "SUM(ECommerce.count)": "1", + "city": null, + "order": 4162.94, + "orderData": 2020-05-27T00:00:00.000Z, }, -] -`; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver filtering Customers: contains + dimensions, first 1`] = ` -Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "SUM(ECommerce.count)": "1", + "city": "Louisville", + "order": 4162.94, + "orderData": 2020-05-27T00:00:00.000Z, }, Object { - "Customers.customerId": "AJ-10780", - "Customers.customerName": "Customer 2", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 4318.84, + "orderData": null, }, Object { - "Customers.customerId": "AS-10225", - "Customers.customerName": "Customer 3", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 4318.84, + "orderData": 2020-11-11T00:00:00.000Z, }, Object { - "Customers.customerId": "AW-10840", - "Customers.customerName": "Customer 4", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 4318.84, + "orderData": 2020-11-11T00:00:00.000Z, }, Object { - "Customers.customerId": "BB-11545", - "Customers.customerName": "Customer 5", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 4496.76, + "orderData": null, }, Object { - "Customers.customerId": "BF-11020", - "Customers.customerName": "Customer 6", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 4496.76, + "orderData": 2020-12-24T00:00:00.000Z, }, Object { - "Customers.customerId": "BF-11170", - "Customers.customerName": "Customer 7", + "SUM(ECommerce.count)": "1", + "city": "Lafayette", + "order": 4496.76, + "orderData": 2020-12-24T00:00:00.000Z, }, Object { - "Customers.customerId": "BM-11650", - "Customers.customerName": "Customer 8", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 5240.88, + "orderData": null, }, Object { - "Customers.customerId": "BS-11380", - "Customers.customerName": "Customer 9", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 5240.88, + "orderData": 2020-09-17T00:00:00.000Z, }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "SUM(ECommerce.count)": "1", + "city": "Provo", + "order": 5240.88, + "orderData": 2020-09-17T00:00:00.000Z, }, Object { - "Customers.customerId": "CA-12775", - "Customers.customerName": "Customer 11", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 5240.94, + "orderData": null, }, Object { - "Customers.customerId": "CC-12475", - "Customers.customerName": "Customer 12", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 5240.94, + "orderData": 2020-05-14T00:00:00.000Z, }, Object { - "Customers.customerId": "CD-12280", - "Customers.customerName": "Customer 13", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": 5240.94, + "orderData": 2020-05-14T00:00:00.000Z, }, Object { - "Customers.customerId": "CS-12355", - "Customers.customerName": "Customer 14", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 5366.5, + "orderData": null, }, Object { - "Customers.customerId": "DB-13405", - "Customers.customerName": "Customer 15", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 5366.5, + "orderData": 2020-12-14T00:00:00.000Z, }, Object { - "Customers.customerId": "DG-13300", - "Customers.customerName": "Customer 16", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 5366.5, + "orderData": 2020-12-14T00:00:00.000Z, }, Object { - "Customers.customerId": "DW-13480", - "Customers.customerName": "Customer 17", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 6214.5, + "orderData": null, }, Object { - "Customers.customerId": "EM-14140", - "Customers.customerName": "Customer 18", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 6214.5, + "orderData": 2020-06-03T00:00:00.000Z, }, Object { - "Customers.customerId": "GA-14725", - "Customers.customerName": "Customer 19", + "SUM(ECommerce.count)": "1", + "city": "Los Angeles", + "order": 6214.5, + "orderData": 2020-06-03T00:00:00.000Z, }, Object { - "Customers.customerId": "GZ-14470", - "Customers.customerName": "Customer 20", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 6216.52, + "orderData": null, }, Object { - "Customers.customerId": "HH-15010", - "Customers.customerName": "Customer 21", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 6216.52, + "orderData": 2020-09-01T00:00:00.000Z, }, Object { - "Customers.customerId": "HK-14890", - "Customers.customerName": "Customer 22", + "SUM(ECommerce.count)": "1", + "city": "Detroit", + "order": 6216.52, + "orderData": 2020-09-01T00:00:00.000Z, }, Object { - "Customers.customerId": "JH-15430", - "Customers.customerName": "Customer 23", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 6220.424, + "orderData": null, }, Object { - "Customers.customerId": "JO-15550", - "Customers.customerName": "Customer 24", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 6220.424, + "orderData": 2020-12-01T00:00:00.000Z, }, Object { - "Customers.customerId": "JS-16030", - "Customers.customerName": "Customer 25", + "SUM(ECommerce.count)": "1", + "city": "Marion", + "order": 6220.424, + "orderData": 2020-12-01T00:00:00.000Z, }, Object { - "Customers.customerId": "JW-15220", - "Customers.customerName": "Customer 26", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 6466.52, + "orderData": null, }, Object { - "Customers.customerId": "KL-16555", - "Customers.customerName": "Customer 27", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 6466.52, + "orderData": 2020-05-14T00:00:00.000Z, }, Object { - "Customers.customerId": "KN-16705", - "Customers.customerName": "Customer 28", + "SUM(ECommerce.count)": "1", + "city": "Baltimore", + "order": 6466.52, + "orderData": 2020-05-14T00:00:00.000Z, }, Object { - "Customers.customerId": "LC-17050", - "Customers.customerName": "Customer 29", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 6620.78, + "orderData": null, }, Object { - "Customers.customerId": "LR-16915", - "Customers.customerName": "Customer 30", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 6620.78, + "orderData": 2020-11-28T00:00:00.000Z, }, Object { - "Customers.customerId": "MC-17605", - "Customers.customerName": "Customer 31", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 6620.78, + "orderData": 2020-11-28T00:00:00.000Z, }, Object { - "Customers.customerId": "MG-17650", - "Customers.customerName": "Customer 32", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 6631.8, + "orderData": null, }, Object { - "Customers.customerId": "ML-17755", - "Customers.customerName": "Customer 33", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 6631.8, + "orderData": 2020-12-02T00:00:00.000Z, }, Object { - "Customers.customerId": "MM-18280", - "Customers.customerName": "Customer 34", + "SUM(ECommerce.count)": "1", + "city": "Oakland", + "order": 6631.8, + "orderData": 2020-12-02T00:00:00.000Z, }, Object { - "Customers.customerId": "NP-18670", - "Customers.customerName": "Customer 35", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 6742.84, + "orderData": null, }, Object { - "Customers.customerId": "PF-19165", - "Customers.customerName": "Customer 36", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 6742.84, + "orderData": 2020-09-08T00:00:00.000Z, }, Object { - "Customers.customerId": "SB-20185", - "Customers.customerName": "Customer 37", + "SUM(ECommerce.count)": "1", + "city": "Arlington", + "order": 6742.84, + "orderData": 2020-09-08T00:00:00.000Z, }, Object { - "Customers.customerId": "SS-20140", - "Customers.customerName": "Customer 38", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 7338.26, + "orderData": null, }, Object { - "Customers.customerId": "TB-21175", - "Customers.customerName": "Customer 39", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 7338.26, + "orderData": 2020-06-10T00:00:00.000Z, }, Object { - "Customers.customerId": "TS-21205", - "Customers.customerName": "Customer 40", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": 7338.26, + "orderData": 2020-06-10T00:00:00.000Z, }, Object { - "Customers.customerId": "WB-21850", - "Customers.customerName": "Customer 41", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 7498.344, + "orderData": null, }, -] -`; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver filtering Customers: contains + dimensions, second 1`] = ` -Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 7498.344, + "orderData": 2020-04-10T00:00:00.000Z, }, Object { - "Customers.customerId": "AJ-10780", - "Customers.customerName": "Customer 2", + "SUM(ECommerce.count)": "1", + "city": "Philadelphia", + "order": 7498.344, + "orderData": 2020-04-10T00:00:00.000Z, }, Object { - "Customers.customerId": "AS-10225", - "Customers.customerName": "Customer 3", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 8591, + "orderData": null, }, Object { - "Customers.customerId": "AW-10840", - "Customers.customerName": "Customer 4", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 8591, + "orderData": 2020-12-04T00:00:00.000Z, }, Object { - "Customers.customerId": "BB-11545", - "Customers.customerName": "Customer 5", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 8591, + "orderData": 2020-12-04T00:00:00.000Z, }, Object { - "Customers.customerId": "BF-11020", - "Customers.customerName": "Customer 6", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 8682.12, + "orderData": null, }, Object { - "Customers.customerId": "BF-11170", - "Customers.customerName": "Customer 7", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 8682.12, + "orderData": 2020-11-06T00:00:00.000Z, }, Object { - "Customers.customerId": "BM-11650", - "Customers.customerName": "Customer 8", + "SUM(ECommerce.count)": "1", + "city": "Dallas", + "order": 8682.12, + "orderData": 2020-11-06T00:00:00.000Z, }, Object { - "Customers.customerId": "BS-11380", - "Customers.customerName": "Customer 9", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 8709.736, + "orderData": null, }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 8709.736, + "orderData": 2020-02-16T00:00:00.000Z, }, Object { - "Customers.customerId": "CA-12775", - "Customers.customerName": "Customer 11", + "SUM(ECommerce.count)": "1", + "city": "Decatur", + "order": 8709.736, + "orderData": 2020-02-16T00:00:00.000Z, }, Object { - "Customers.customerId": "CC-12475", - "Customers.customerName": "Customer 12", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 9176.952, + "orderData": null, }, Object { - "Customers.customerId": "CD-12280", - "Customers.customerName": "Customer 13", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 9176.952, + "orderData": 2020-06-15T00:00:00.000Z, }, Object { - "Customers.customerId": "CS-12355", - "Customers.customerName": "Customer 14", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 9176.952, + "orderData": 2020-06-15T00:00:00.000Z, }, Object { - "Customers.customerId": "DB-13405", - "Customers.customerName": "Customer 15", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 9198, + "orderData": null, }, Object { - "Customers.customerId": "DG-13300", - "Customers.customerName": "Customer 16", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 9198, + "orderData": 2020-12-25T00:00:00.000Z, }, Object { - "Customers.customerId": "DW-13480", - "Customers.customerName": "Customer 17", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 9198, + "orderData": 2020-12-25T00:00:00.000Z, }, Object { - "Customers.customerId": "EM-14140", - "Customers.customerName": "Customer 18", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 9381.82, + "orderData": null, }, Object { - "Customers.customerId": "GA-14725", - "Customers.customerName": "Customer 19", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 9381.82, + "orderData": 2020-11-02T00:00:00.000Z, }, Object { - "Customers.customerId": "GZ-14470", - "Customers.customerName": "Customer 20", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 9381.82, + "orderData": 2020-11-02T00:00:00.000Z, }, Object { - "Customers.customerId": "HH-15010", - "Customers.customerName": "Customer 21", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 9729.248, + "orderData": null, }, Object { - "Customers.customerId": "HK-14890", - "Customers.customerName": "Customer 22", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 9729.248, + "orderData": 2020-11-05T00:00:00.000Z, }, Object { - "Customers.customerId": "JH-15430", - "Customers.customerName": "Customer 23", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": 9729.248, + "orderData": 2020-11-05T00:00:00.000Z, }, Object { - "Customers.customerId": "JO-15550", - "Customers.customerName": "Customer 24", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 9791.704, + "orderData": null, }, Object { - "Customers.customerId": "JS-16030", - "Customers.customerName": "Customer 25", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 9791.704, + "orderData": 2020-11-16T00:00:00.000Z, }, Object { - "Customers.customerId": "JW-15220", - "Customers.customerName": "Customer 26", + "SUM(ECommerce.count)": "1", + "city": "Bowling", + "order": 9791.704, + "orderData": 2020-11-16T00:00:00.000Z, }, Object { - "Customers.customerId": "KL-16555", - "Customers.customerName": "Customer 27", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 9838, + "orderData": null, }, Object { - "Customers.customerId": "KN-16705", - "Customers.customerName": "Customer 28", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 9838, + "orderData": 2020-09-17T00:00:00.000Z, }, Object { - "Customers.customerId": "LC-17050", - "Customers.customerName": "Customer 29", + "SUM(ECommerce.count)": "1", + "city": "Morristown", + "order": 9838, + "orderData": 2020-09-17T00:00:00.000Z, }, Object { - "Customers.customerId": "LR-16915", - "Customers.customerName": "Customer 30", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 10097.96, + "orderData": null, }, Object { - "Customers.customerId": "MC-17605", - "Customers.customerName": "Customer 31", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 10097.96, + "orderData": 2020-12-14T00:00:00.000Z, }, Object { - "Customers.customerId": "MG-17650", - "Customers.customerName": "Customer 32", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 10097.96, + "orderData": 2020-12-14T00:00:00.000Z, }, Object { - "Customers.customerId": "ML-17755", - "Customers.customerName": "Customer 33", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 10385.568, + "orderData": null, }, Object { - "Customers.customerId": "MM-18280", - "Customers.customerName": "Customer 34", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 10385.568, + "orderData": 2020-06-25T00:00:00.000Z, }, Object { - "Customers.customerId": "NP-18670", - "Customers.customerName": "Customer 35", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": 10385.568, + "orderData": 2020-06-25T00:00:00.000Z, }, Object { - "Customers.customerId": "PF-19165", - "Customers.customerName": "Customer 36", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 11417.964, + "orderData": null, }, Object { - "Customers.customerId": "SB-20185", - "Customers.customerName": "Customer 37", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 11417.964, + "orderData": 2020-11-16T00:00:00.000Z, }, Object { - "Customers.customerId": "SS-20140", - "Customers.customerName": "Customer 38", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": 11417.964, + "orderData": 2020-11-16T00:00:00.000Z, }, Object { - "Customers.customerId": "TB-21175", - "Customers.customerName": "Customer 39", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 11973.92, + "orderData": null, }, Object { - "Customers.customerId": "TS-21205", - "Customers.customerName": "Customer 40", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 11973.92, + "orderData": 2020-03-26T00:00:00.000Z, }, Object { - "Customers.customerId": "WB-21850", - "Customers.customerName": "Customer 41", + "SUM(ECommerce.count)": "1", + "city": "Houston", + "order": 11973.92, + "orderData": 2020-03-26T00:00:00.000Z, }, -] -`; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver filtering Customers: contains + dimensions, third 1`] = `Array []`; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver filtering Products: contains with special chars + dimensions 1`] = ` -Array [ Object { - "Products.productName": "Logitech di_Novo Edge Keyboard", + "SUM(ECommerce.count)": "1", + "city": null, + "order": 12734.8, + "orderData": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": null, + "order": 12734.8, + "orderData": 2020-10-12T00:00:00.000Z, + }, + Object { + "SUM(ECommerce.count)": "1", + "city": "Lakewood", + "order": 12734.8, + "orderData": 2020-10-12T00:00:00.000Z, }, ] `; -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver filtering Customers: endsWith filter + dimensions, first 1`] = ` +exports[`Queries with the @cubejs-backend/databricks-jdbc-driver SQL API: Rollup with aliases: rollup_with_aliases 1`] = ` Array [ Object { - "Customers.customerId": "AJ-10780", - "Customers.customerName": "Customer 2", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-01-01T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "AW-10840", - "Customers.customerName": "Customer 4", + "SUM(ECommerce.count)": "1", + "city": "Lorain", + "order": null, + "orderData": 2020-01-01T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "BF-11020", - "Customers.customerName": "Customer 6", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-01-23T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "BF-11170", - "Customers.customerName": "Customer 7", + "SUM(ECommerce.count)": "1", + "city": "Detroit", + "order": null, + "orderData": 2020-01-23T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "BM-11650", - "Customers.customerName": "Customer 8", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-02-16T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "BS-11380", - "Customers.customerName": "Customer 9", + "SUM(ECommerce.count)": "1", + "city": "Decatur", + "order": null, + "orderData": 2020-02-16T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "CD-12280", - "Customers.customerName": "Customer 13", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-03-17T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "DG-13300", - "Customers.customerName": "Customer 16", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": null, + "orderData": 2020-03-17T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "DW-13480", - "Customers.customerName": "Customer 17", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-03-26T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "EM-14140", - "Customers.customerName": "Customer 18", + "SUM(ECommerce.count)": "1", + "city": "Houston", + "order": null, + "orderData": 2020-03-26T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "GZ-14470", - "Customers.customerName": "Customer 20", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-04-10T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "HH-15010", - "Customers.customerName": "Customer 21", + "SUM(ECommerce.count)": "1", + "city": "Philadelphia", + "order": null, + "orderData": 2020-04-10T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "HK-14890", - "Customers.customerName": "Customer 22", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-05-13T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "JH-15430", - "Customers.customerName": "Customer 23", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-05-13T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "JO-15550", - "Customers.customerName": "Customer 24", + "SUM(ECommerce.count)": "2", + "city": null, + "order": null, + "orderData": 2020-05-14T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "JS-16030", - "Customers.customerName": "Customer 25", + "SUM(ECommerce.count)": "1", + "city": "Baltimore", + "order": null, + "orderData": 2020-05-14T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "JW-15220", - "Customers.customerName": "Customer 26", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": null, + "orderData": 2020-05-14T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "LC-17050", - "Customers.customerName": "Customer 29", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-05-27T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "MG-17650", - "Customers.customerName": "Customer 32", + "SUM(ECommerce.count)": "1", + "city": "Louisville", + "order": null, + "orderData": 2020-05-27T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "MM-18280", - "Customers.customerName": "Customer 34", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-05-29T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "NP-18670", - "Customers.customerName": "Customer 35", + "SUM(ECommerce.count)": "1", + "city": "Omaha", + "order": null, + "orderData": 2020-05-29T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "SS-20140", - "Customers.customerName": "Customer 38", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-06-03T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "WB-21850", - "Customers.customerName": "Customer 41", + "SUM(ECommerce.count)": "1", + "city": "Los Angeles", + "order": null, + "orderData": 2020-06-03T00:00:00.000Z, + "row": null, }, -] -`; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver filtering Customers: endsWith filter + dimensions, second 1`] = ` -Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-06-10T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "AJ-10780", - "Customers.customerName": "Customer 2", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": null, + "orderData": 2020-06-10T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "AS-10225", - "Customers.customerName": "Customer 3", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-06-11T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "AW-10840", - "Customers.customerName": "Customer 4", + "SUM(ECommerce.count)": "1", + "city": "Auburn", + "order": null, + "orderData": 2020-06-11T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "BB-11545", - "Customers.customerName": "Customer 5", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-06-15T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "BF-11020", - "Customers.customerName": "Customer 6", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-06-15T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "BF-11170", - "Customers.customerName": "Customer 7", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-06-17T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "BM-11650", - "Customers.customerName": "Customer 8", + "SUM(ECommerce.count)": "1", + "city": "Olympia", + "order": null, + "orderData": 2020-06-17T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "BS-11380", - "Customers.customerName": "Customer 9", + "SUM(ECommerce.count)": "2", + "city": null, + "order": null, + "orderData": 2020-06-25T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-06-25T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "CA-12775", - "Customers.customerName": "Customer 11", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": null, + "orderData": 2020-06-25T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "CC-12475", - "Customers.customerName": "Customer 12", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-09-01T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "CD-12280", - "Customers.customerName": "Customer 13", + "SUM(ECommerce.count)": "1", + "city": "Detroit", + "order": null, + "orderData": 2020-09-01T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "CS-12355", - "Customers.customerName": "Customer 14", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-09-02T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "DB-13405", - "Customers.customerName": "Customer 15", + "SUM(ECommerce.count)": "1", + "city": "Bakersfield", + "order": null, + "orderData": 2020-09-02T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "DG-13300", - "Customers.customerName": "Customer 16", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-09-08T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "DW-13480", - "Customers.customerName": "Customer 17", + "SUM(ECommerce.count)": "1", + "city": "Arlington", + "order": null, + "orderData": 2020-09-08T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "EM-14140", - "Customers.customerName": "Customer 18", + "SUM(ECommerce.count)": "2", + "city": null, + "order": null, + "orderData": 2020-09-17T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "GA-14725", - "Customers.customerName": "Customer 19", + "SUM(ECommerce.count)": "1", + "city": "Morristown", + "order": null, + "orderData": 2020-09-17T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "GZ-14470", - "Customers.customerName": "Customer 20", + "SUM(ECommerce.count)": "1", + "city": "Provo", + "order": null, + "orderData": 2020-09-17T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "HH-15010", - "Customers.customerName": "Customer 21", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-09-23T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "HK-14890", - "Customers.customerName": "Customer 22", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-09-23T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "JH-15430", - "Customers.customerName": "Customer 23", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-10-12T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "JO-15550", - "Customers.customerName": "Customer 24", + "SUM(ECommerce.count)": "1", + "city": "Lakewood", + "order": null, + "orderData": 2020-10-12T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "JS-16030", - "Customers.customerName": "Customer 25", + "SUM(ECommerce.count)": "2", + "city": null, + "order": null, + "orderData": 2020-10-19T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "JW-15220", - "Customers.customerName": "Customer 26", + "SUM(ECommerce.count)": "2", + "city": "San Francisco", + "order": null, + "orderData": 2020-10-19T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "KL-16555", - "Customers.customerName": "Customer 27", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-10-30T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "KN-16705", - "Customers.customerName": "Customer 28", + "SUM(ECommerce.count)": "1", + "city": "Vancouver", + "order": null, + "orderData": 2020-10-30T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "LC-17050", - "Customers.customerName": "Customer 29", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-11-02T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "LR-16915", - "Customers.customerName": "Customer 30", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-11-02T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "MC-17605", - "Customers.customerName": "Customer 31", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-11-05T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "MG-17650", - "Customers.customerName": "Customer 32", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": null, + "orderData": 2020-11-05T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "ML-17755", - "Customers.customerName": "Customer 33", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-11-06T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "MM-18280", - "Customers.customerName": "Customer 34", + "SUM(ECommerce.count)": "1", + "city": "Dallas", + "order": null, + "orderData": 2020-11-06T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "NP-18670", - "Customers.customerName": "Customer 35", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-11-11T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "PF-19165", - "Customers.customerName": "Customer 36", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-11-11T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "SB-20185", - "Customers.customerName": "Customer 37", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-11-12T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "SS-20140", - "Customers.customerName": "Customer 38", + "SUM(ECommerce.count)": "1", + "city": "Glendale", + "order": null, + "orderData": 2020-11-12T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "TB-21175", - "Customers.customerName": "Customer 39", + "SUM(ECommerce.count)": "2", + "city": null, + "order": null, + "orderData": 2020-11-16T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "TS-21205", - "Customers.customerName": "Customer 40", + "SUM(ECommerce.count)": "1", + "city": "Bowling", + "order": null, + "orderData": 2020-11-16T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "WB-21850", - "Customers.customerName": "Customer 41", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-11-16T00:00:00.000Z, + "row": null, }, -] -`; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver filtering Customers: endsWith filter + dimensions, third 1`] = `Array []`; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver filtering Customers: notEndsWith filter + dimensions, first 1`] = ` -Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-11-21T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "AS-10225", - "Customers.customerName": "Customer 3", + "SUM(ECommerce.count)": "1", + "city": "Philadelphia", + "order": null, + "orderData": 2020-11-21T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "BB-11545", - "Customers.customerName": "Customer 5", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-11-28T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-11-28T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "CA-12775", - "Customers.customerName": "Customer 11", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-12-01T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "CC-12475", - "Customers.customerName": "Customer 12", + "SUM(ECommerce.count)": "1", + "city": "Marion", + "order": null, + "orderData": 2020-12-01T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "CS-12355", - "Customers.customerName": "Customer 14", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-12-02T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "DB-13405", - "Customers.customerName": "Customer 15", + "SUM(ECommerce.count)": "1", + "city": "Oakland", + "order": null, + "orderData": 2020-12-02T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "GA-14725", - "Customers.customerName": "Customer 19", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-12-04T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "KL-16555", - "Customers.customerName": "Customer 27", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-12-04T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "KN-16705", - "Customers.customerName": "Customer 28", + "SUM(ECommerce.count)": "2", + "city": null, + "order": null, + "orderData": 2020-12-14T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "LR-16915", - "Customers.customerName": "Customer 30", + "SUM(ECommerce.count)": "2", + "city": "Columbus", + "order": null, + "orderData": 2020-12-14T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "MC-17605", - "Customers.customerName": "Customer 31", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-12-24T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "ML-17755", - "Customers.customerName": "Customer 33", + "SUM(ECommerce.count)": "1", + "city": "Lafayette", + "order": null, + "orderData": 2020-12-24T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "PF-19165", - "Customers.customerName": "Customer 36", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-12-25T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "SB-20185", - "Customers.customerName": "Customer 37", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-12-25T00:00:00.000Z, + "row": null, }, Object { - "Customers.customerId": "TB-21175", - "Customers.customerName": "Customer 39", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-01-23T00:00:00.000Z, + "row": 523, }, Object { - "Customers.customerId": "TS-21205", - "Customers.customerName": "Customer 40", + "SUM(ECommerce.count)": "1", + "city": "Detroit", + "order": null, + "orderData": 2020-01-23T00:00:00.000Z, + "row": 523, }, -] -`; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver filtering Customers: notEndsWith filter + dimensions, second 1`] = `Array []`; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver filtering Customers: notEndsWith filter + dimensions, third 1`] = ` -Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-145142", + "orderData": 2020-01-23T00:00:00.000Z, + "row": 523, }, Object { - "Customers.customerId": "AJ-10780", - "Customers.customerName": "Customer 2", + "SUM(ECommerce.count)": "1", + "city": "Detroit", + "order": "CA-2017-145142", + "orderData": 2020-01-23T00:00:00.000Z, + "row": 523, }, Object { - "Customers.customerId": "AS-10225", - "Customers.customerName": "Customer 3", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-01-01T00:00:00.000Z, + "row": 849, }, Object { - "Customers.customerId": "AW-10840", - "Customers.customerName": "Customer 4", + "SUM(ECommerce.count)": "1", + "city": "Lorain", + "order": null, + "orderData": 2020-01-01T00:00:00.000Z, + "row": 849, }, Object { - "Customers.customerId": "BB-11545", - "Customers.customerName": "Customer 5", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-107503", + "orderData": 2020-01-01T00:00:00.000Z, + "row": 849, }, Object { - "Customers.customerId": "BF-11020", - "Customers.customerName": "Customer 6", + "SUM(ECommerce.count)": "1", + "city": "Lorain", + "order": "CA-2017-107503", + "orderData": 2020-01-01T00:00:00.000Z, + "row": 849, }, Object { - "Customers.customerId": "BF-11170", - "Customers.customerName": "Customer 7", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-06-17T00:00:00.000Z, + "row": 1013, }, Object { - "Customers.customerId": "BM-11650", - "Customers.customerName": "Customer 8", + "SUM(ECommerce.count)": "1", + "city": "Olympia", + "order": null, + "orderData": 2020-06-17T00:00:00.000Z, + "row": 1013, }, Object { - "Customers.customerId": "BS-11380", - "Customers.customerName": "Customer 9", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-118437", + "orderData": 2020-06-17T00:00:00.000Z, + "row": 1013, }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "SUM(ECommerce.count)": "1", + "city": "Olympia", + "order": "CA-2017-118437", + "orderData": 2020-06-17T00:00:00.000Z, + "row": 1013, }, Object { - "Customers.customerId": "CA-12775", - "Customers.customerName": "Customer 11", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-10-30T00:00:00.000Z, + "row": 1494, }, Object { - "Customers.customerId": "CC-12475", - "Customers.customerName": "Customer 12", + "SUM(ECommerce.count)": "1", + "city": "Vancouver", + "order": null, + "orderData": 2020-10-30T00:00:00.000Z, + "row": 1494, }, Object { - "Customers.customerId": "CD-12280", - "Customers.customerName": "Customer 13", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-139661", + "orderData": 2020-10-30T00:00:00.000Z, + "row": 1494, }, Object { - "Customers.customerId": "CS-12355", - "Customers.customerName": "Customer 14", + "SUM(ECommerce.count)": "1", + "city": "Vancouver", + "order": "CA-2017-139661", + "orderData": 2020-10-30T00:00:00.000Z, + "row": 1494, }, Object { - "Customers.customerId": "DB-13405", - "Customers.customerName": "Customer 15", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-06-25T00:00:00.000Z, + "row": 1995, }, Object { - "Customers.customerId": "DG-13300", - "Customers.customerName": "Customer 16", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-06-25T00:00:00.000Z, + "row": 1995, }, Object { - "Customers.customerId": "DW-13480", - "Customers.customerName": "Customer 17", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-133648", + "orderData": 2020-06-25T00:00:00.000Z, + "row": 1995, }, Object { - "Customers.customerId": "EM-14140", - "Customers.customerName": "Customer 18", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-133648", + "orderData": 2020-06-25T00:00:00.000Z, + "row": 1995, }, Object { - "Customers.customerId": "GA-14725", - "Customers.customerName": "Customer 19", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-09-23T00:00:00.000Z, + "row": 2329, }, Object { - "Customers.customerId": "GZ-14470", - "Customers.customerName": "Customer 20", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-09-23T00:00:00.000Z, + "row": 2329, }, Object { - "Customers.customerId": "HH-15010", - "Customers.customerName": "Customer 21", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-138422", + "orderData": 2020-09-23T00:00:00.000Z, + "row": 2329, }, Object { - "Customers.customerId": "HK-14890", - "Customers.customerName": "Customer 22", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-138422", + "orderData": 2020-09-23T00:00:00.000Z, + "row": 2329, }, Object { - "Customers.customerId": "JH-15430", - "Customers.customerName": "Customer 23", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-03-17T00:00:00.000Z, + "row": 2455, }, Object { - "Customers.customerId": "JO-15550", - "Customers.customerName": "Customer 24", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": null, + "orderData": 2020-03-17T00:00:00.000Z, + "row": 2455, }, Object { - "Customers.customerId": "JS-16030", - "Customers.customerName": "Customer 25", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-140949", + "orderData": 2020-03-17T00:00:00.000Z, + "row": 2455, }, Object { - "Customers.customerId": "JW-15220", - "Customers.customerName": "Customer 26", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": "CA-2017-140949", + "orderData": 2020-03-17T00:00:00.000Z, + "row": 2455, }, Object { - "Customers.customerId": "KL-16555", - "Customers.customerName": "Customer 27", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-05-13T00:00:00.000Z, + "row": 2595, }, Object { - "Customers.customerId": "KN-16705", - "Customers.customerName": "Customer 28", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-05-13T00:00:00.000Z, + "row": 2595, }, Object { - "Customers.customerId": "LC-17050", - "Customers.customerName": "Customer 29", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-149048", + "orderData": 2020-05-13T00:00:00.000Z, + "row": 2595, }, Object { - "Customers.customerId": "LR-16915", - "Customers.customerName": "Customer 30", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-149048", + "orderData": 2020-05-13T00:00:00.000Z, + "row": 2595, }, Object { - "Customers.customerId": "MC-17605", - "Customers.customerName": "Customer 31", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-09-17T00:00:00.000Z, + "row": 2655, }, Object { - "Customers.customerId": "MG-17650", - "Customers.customerName": "Customer 32", + "SUM(ECommerce.count)": "1", + "city": "Provo", + "order": null, + "orderData": 2020-09-17T00:00:00.000Z, + "row": 2655, }, Object { - "Customers.customerId": "ML-17755", - "Customers.customerName": "Customer 33", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-112515", + "orderData": 2020-09-17T00:00:00.000Z, + "row": 2655, }, Object { - "Customers.customerId": "MM-18280", - "Customers.customerName": "Customer 34", + "SUM(ECommerce.count)": "1", + "city": "Provo", + "order": "CA-2017-112515", + "orderData": 2020-09-17T00:00:00.000Z, + "row": 2655, }, Object { - "Customers.customerId": "NP-18670", - "Customers.customerName": "Customer 35", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-11-28T00:00:00.000Z, + "row": 2661, }, Object { - "Customers.customerId": "PF-19165", - "Customers.customerName": "Customer 36", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-11-28T00:00:00.000Z, + "row": 2661, }, Object { - "Customers.customerId": "SB-20185", - "Customers.customerName": "Customer 37", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-123372", + "orderData": 2020-11-28T00:00:00.000Z, + "row": 2661, }, Object { - "Customers.customerId": "SS-20140", - "Customers.customerName": "Customer 38", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-123372", + "orderData": 2020-11-28T00:00:00.000Z, + "row": 2661, }, Object { - "Customers.customerId": "TB-21175", - "Customers.customerName": "Customer 39", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-11-12T00:00:00.000Z, + "row": 2952, }, Object { - "Customers.customerId": "TS-21205", - "Customers.customerName": "Customer 40", + "SUM(ECommerce.count)": "1", + "city": "Glendale", + "order": null, + "orderData": 2020-11-12T00:00:00.000Z, + "row": 2952, }, Object { - "Customers.customerId": "WB-21850", - "Customers.customerName": "Customer 41", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-134915", + "orderData": 2020-11-12T00:00:00.000Z, + "row": 2952, }, -] -`; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver filtering Customers: notStartsWith + dimensions, first 1`] = ` -Array [ Object { - "Customers.customerId": "BB-11545", - "Customers.customerName": "Customer 5", + "SUM(ECommerce.count)": "1", + "city": "Glendale", + "order": "CA-2017-134915", + "orderData": 2020-11-12T00:00:00.000Z, + "row": 2952, }, Object { - "Customers.customerId": "BF-11020", - "Customers.customerName": "Customer 6", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-10-19T00:00:00.000Z, + "row": 3059, }, Object { - "Customers.customerId": "BF-11170", - "Customers.customerName": "Customer 7", + "SUM(ECommerce.count)": "1", + "city": "San Francisco", + "order": null, + "orderData": 2020-10-19T00:00:00.000Z, + "row": 3059, }, Object { - "Customers.customerId": "BM-11650", - "Customers.customerName": "Customer 8", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-131492", + "orderData": 2020-10-19T00:00:00.000Z, + "row": 3059, }, Object { - "Customers.customerId": "BS-11380", - "Customers.customerName": "Customer 9", + "SUM(ECommerce.count)": "1", + "city": "San Francisco", + "order": "CA-2017-131492", + "orderData": 2020-10-19T00:00:00.000Z, + "row": 3059, }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-10-19T00:00:00.000Z, + "row": 3060, }, Object { - "Customers.customerId": "CA-12775", - "Customers.customerName": "Customer 11", + "SUM(ECommerce.count)": "1", + "city": "San Francisco", + "order": null, + "orderData": 2020-10-19T00:00:00.000Z, + "row": 3060, }, Object { - "Customers.customerId": "CC-12475", - "Customers.customerName": "Customer 12", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-131492", + "orderData": 2020-10-19T00:00:00.000Z, + "row": 3060, }, Object { - "Customers.customerId": "CD-12280", - "Customers.customerName": "Customer 13", + "SUM(ECommerce.count)": "1", + "city": "San Francisco", + "order": "CA-2017-131492", + "orderData": 2020-10-19T00:00:00.000Z, + "row": 3060, }, Object { - "Customers.customerId": "CS-12355", - "Customers.customerName": "Customer 14", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-05-27T00:00:00.000Z, + "row": 3083, }, Object { - "Customers.customerId": "DB-13405", - "Customers.customerName": "Customer 15", + "SUM(ECommerce.count)": "1", + "city": "Louisville", + "order": null, + "orderData": 2020-05-27T00:00:00.000Z, + "row": 3083, }, Object { - "Customers.customerId": "DG-13300", - "Customers.customerName": "Customer 16", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "US-2017-132297", + "orderData": 2020-05-27T00:00:00.000Z, + "row": 3083, }, Object { - "Customers.customerId": "DW-13480", - "Customers.customerName": "Customer 17", + "SUM(ECommerce.count)": "1", + "city": "Louisville", + "order": "US-2017-132297", + "orderData": 2020-05-27T00:00:00.000Z, + "row": 3083, }, Object { - "Customers.customerId": "EM-14140", - "Customers.customerName": "Customer 18", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-06-11T00:00:00.000Z, + "row": 3448, }, Object { - "Customers.customerId": "GA-14725", - "Customers.customerName": "Customer 19", + "SUM(ECommerce.count)": "1", + "city": "Auburn", + "order": null, + "orderData": 2020-06-11T00:00:00.000Z, + "row": 3448, }, Object { - "Customers.customerId": "GZ-14470", - "Customers.customerName": "Customer 20", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-102554", + "orderData": 2020-06-11T00:00:00.000Z, + "row": 3448, }, Object { - "Customers.customerId": "HH-15010", - "Customers.customerName": "Customer 21", + "SUM(ECommerce.count)": "1", + "city": "Auburn", + "order": "CA-2017-102554", + "orderData": 2020-06-11T00:00:00.000Z, + "row": 3448, }, Object { - "Customers.customerId": "HK-14890", - "Customers.customerName": "Customer 22", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-05-29T00:00:00.000Z, + "row": 3717, }, Object { - "Customers.customerId": "JH-15430", - "Customers.customerName": "Customer 23", + "SUM(ECommerce.count)": "1", + "city": "Omaha", + "order": null, + "orderData": 2020-05-29T00:00:00.000Z, + "row": 3717, }, Object { - "Customers.customerId": "JO-15550", - "Customers.customerName": "Customer 24", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-144568", + "orderData": 2020-05-29T00:00:00.000Z, + "row": 3717, }, Object { - "Customers.customerId": "JS-16030", - "Customers.customerName": "Customer 25", + "SUM(ECommerce.count)": "1", + "city": "Omaha", + "order": "CA-2017-144568", + "orderData": 2020-05-29T00:00:00.000Z, + "row": 3717, }, Object { - "Customers.customerId": "JW-15220", - "Customers.customerName": "Customer 26", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-09-02T00:00:00.000Z, + "row": 3934, }, Object { - "Customers.customerId": "KL-16555", - "Customers.customerName": "Customer 27", + "SUM(ECommerce.count)": "1", + "city": "Bakersfield", + "order": null, + "orderData": 2020-09-02T00:00:00.000Z, + "row": 3934, }, Object { - "Customers.customerId": "KN-16705", - "Customers.customerName": "Customer 28", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-123001", + "orderData": 2020-09-02T00:00:00.000Z, + "row": 3934, }, Object { - "Customers.customerId": "LC-17050", - "Customers.customerName": "Customer 29", + "SUM(ECommerce.count)": "1", + "city": "Bakersfield", + "order": "CA-2017-123001", + "orderData": 2020-09-02T00:00:00.000Z, + "row": 3934, }, Object { - "Customers.customerId": "LR-16915", - "Customers.customerName": "Customer 30", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-11-21T00:00:00.000Z, + "row": 4012, }, Object { - "Customers.customerId": "MC-17605", - "Customers.customerName": "Customer 31", + "SUM(ECommerce.count)": "1", + "city": "Philadelphia", + "order": null, + "orderData": 2020-11-21T00:00:00.000Z, + "row": 4012, }, Object { - "Customers.customerId": "MG-17650", - "Customers.customerName": "Customer 32", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-100811", + "orderData": 2020-11-21T00:00:00.000Z, + "row": 4012, }, Object { - "Customers.customerId": "ML-17755", - "Customers.customerName": "Customer 33", + "SUM(ECommerce.count)": "1", + "city": "Philadelphia", + "order": "CA-2017-100811", + "orderData": 2020-11-21T00:00:00.000Z, + "row": 4012, }, Object { - "Customers.customerId": "MM-18280", - "Customers.customerName": "Customer 34", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-12-24T00:00:00.000Z, + "row": 4031, }, Object { - "Customers.customerId": "NP-18670", - "Customers.customerName": "Customer 35", + "SUM(ECommerce.count)": "1", + "city": "Lafayette", + "order": null, + "orderData": 2020-12-24T00:00:00.000Z, + "row": 4031, }, Object { - "Customers.customerId": "PF-19165", - "Customers.customerName": "Customer 36", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-124296", + "orderData": 2020-12-24T00:00:00.000Z, + "row": 4031, }, Object { - "Customers.customerId": "SB-20185", - "Customers.customerName": "Customer 37", + "SUM(ECommerce.count)": "1", + "city": "Lafayette", + "order": "CA-2017-124296", + "orderData": 2020-12-24T00:00:00.000Z, + "row": 4031, }, Object { - "Customers.customerId": "SS-20140", - "Customers.customerName": "Customer 38", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-05-14T00:00:00.000Z, + "row": 4161, }, Object { - "Customers.customerId": "TB-21175", - "Customers.customerName": "Customer 39", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": null, + "orderData": 2020-05-14T00:00:00.000Z, + "row": 4161, }, Object { - "Customers.customerId": "TS-21205", - "Customers.customerName": "Customer 40", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-115546", + "orderData": 2020-05-14T00:00:00.000Z, + "row": 4161, }, Object { - "Customers.customerId": "WB-21850", - "Customers.customerName": "Customer 41", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": "CA-2017-115546", + "orderData": 2020-05-14T00:00:00.000Z, + "row": 4161, }, -] -`; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver filtering Customers: notStartsWith + dimensions, second 1`] = ` -Array [ Object { - "Customers.customerId": "CA-12775", - "Customers.customerName": "Customer 11", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-11-11T00:00:00.000Z, + "row": 4227, }, Object { - "Customers.customerId": "CC-12475", - "Customers.customerName": "Customer 12", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-11-11T00:00:00.000Z, + "row": 4227, }, Object { - "Customers.customerId": "CD-12280", - "Customers.customerName": "Customer 13", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-120327", + "orderData": 2020-11-11T00:00:00.000Z, + "row": 4227, }, Object { - "Customers.customerId": "CS-12355", - "Customers.customerName": "Customer 14", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-120327", + "orderData": 2020-11-11T00:00:00.000Z, + "row": 4227, }, Object { - "Customers.customerId": "DB-13405", - "Customers.customerName": "Customer 15", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-11-02T00:00:00.000Z, + "row": 4882, }, Object { - "Customers.customerId": "DG-13300", - "Customers.customerName": "Customer 16", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-11-02T00:00:00.000Z, + "row": 4882, }, Object { - "Customers.customerId": "DW-13480", - "Customers.customerName": "Customer 17", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-143567", + "orderData": 2020-11-02T00:00:00.000Z, + "row": 4882, }, Object { - "Customers.customerId": "EM-14140", - "Customers.customerName": "Customer 18", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-143567", + "orderData": 2020-11-02T00:00:00.000Z, + "row": 4882, }, Object { - "Customers.customerId": "GA-14725", - "Customers.customerName": "Customer 19", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-09-01T00:00:00.000Z, + "row": 5220, }, Object { - "Customers.customerId": "GZ-14470", - "Customers.customerName": "Customer 20", + "SUM(ECommerce.count)": "1", + "city": "Detroit", + "order": null, + "orderData": 2020-09-01T00:00:00.000Z, + "row": 5220, }, Object { - "Customers.customerId": "HH-15010", - "Customers.customerName": "Customer 21", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-145653", + "orderData": 2020-09-01T00:00:00.000Z, + "row": 5220, }, Object { - "Customers.customerId": "HK-14890", - "Customers.customerName": "Customer 22", + "SUM(ECommerce.count)": "1", + "city": "Detroit", + "order": "CA-2017-145653", + "orderData": 2020-09-01T00:00:00.000Z, + "row": 5220, }, Object { - "Customers.customerId": "JH-15430", - "Customers.customerName": "Customer 23", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-12-14T00:00:00.000Z, + "row": 5277, }, Object { - "Customers.customerId": "JO-15550", - "Customers.customerName": "Customer 24", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-12-14T00:00:00.000Z, + "row": 5277, }, Object { - "Customers.customerId": "JS-16030", - "Customers.customerName": "Customer 25", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-147333", + "orderData": 2020-12-14T00:00:00.000Z, + "row": 5277, }, Object { - "Customers.customerId": "JW-15220", - "Customers.customerName": "Customer 26", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-147333", + "orderData": 2020-12-14T00:00:00.000Z, + "row": 5277, }, Object { - "Customers.customerId": "KL-16555", - "Customers.customerName": "Customer 27", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-06-03T00:00:00.000Z, + "row": 6125, }, Object { - "Customers.customerId": "KN-16705", - "Customers.customerName": "Customer 28", + "SUM(ECommerce.count)": "1", + "city": "Los Angeles", + "order": null, + "orderData": 2020-06-03T00:00:00.000Z, + "row": 6125, }, Object { - "Customers.customerId": "LC-17050", - "Customers.customerName": "Customer 29", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-145772", + "orderData": 2020-06-03T00:00:00.000Z, + "row": 6125, }, Object { - "Customers.customerId": "LR-16915", - "Customers.customerName": "Customer 30", + "SUM(ECommerce.count)": "1", + "city": "Los Angeles", + "order": "CA-2017-145772", + "orderData": 2020-06-03T00:00:00.000Z, + "row": 6125, }, Object { - "Customers.customerId": "MC-17605", - "Customers.customerName": "Customer 31", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-12-01T00:00:00.000Z, + "row": 6205, }, Object { - "Customers.customerId": "MG-17650", - "Customers.customerName": "Customer 32", + "SUM(ECommerce.count)": "1", + "city": "Marion", + "order": null, + "orderData": 2020-12-01T00:00:00.000Z, + "row": 6205, }, Object { - "Customers.customerId": "ML-17755", - "Customers.customerName": "Customer 33", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-145660", + "orderData": 2020-12-01T00:00:00.000Z, + "row": 6205, }, Object { - "Customers.customerId": "MM-18280", - "Customers.customerName": "Customer 34", + "SUM(ECommerce.count)": "1", + "city": "Marion", + "order": "CA-2017-145660", + "orderData": 2020-12-01T00:00:00.000Z, + "row": 6205, }, Object { - "Customers.customerId": "NP-18670", - "Customers.customerName": "Customer 35", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-12-02T00:00:00.000Z, + "row": 6272, }, Object { - "Customers.customerId": "PF-19165", - "Customers.customerName": "Customer 36", + "SUM(ECommerce.count)": "1", + "city": "Oakland", + "order": null, + "orderData": 2020-12-02T00:00:00.000Z, + "row": 6272, }, Object { - "Customers.customerId": "SB-20185", - "Customers.customerName": "Customer 37", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-102379", + "orderData": 2020-12-02T00:00:00.000Z, + "row": 6272, }, Object { - "Customers.customerId": "SS-20140", - "Customers.customerName": "Customer 38", + "SUM(ECommerce.count)": "1", + "city": "Oakland", + "order": "CA-2017-102379", + "orderData": 2020-12-02T00:00:00.000Z, + "row": 6272, }, Object { - "Customers.customerId": "TB-21175", - "Customers.customerName": "Customer 39", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-05-14T00:00:00.000Z, + "row": 6459, }, Object { - "Customers.customerId": "TS-21205", - "Customers.customerName": "Customer 40", + "SUM(ECommerce.count)": "1", + "city": "Baltimore", + "order": null, + "orderData": 2020-05-14T00:00:00.000Z, + "row": 6459, }, Object { - "Customers.customerId": "WB-21850", - "Customers.customerName": "Customer 41", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "US-2017-133361", + "orderData": 2020-05-14T00:00:00.000Z, + "row": 6459, }, -] -`; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver filtering Customers: notStartsWith + dimensions, third 1`] = ` -Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "SUM(ECommerce.count)": "1", + "city": "Baltimore", + "order": "US-2017-133361", + "orderData": 2020-05-14T00:00:00.000Z, + "row": 6459, }, Object { - "Customers.customerId": "AJ-10780", - "Customers.customerName": "Customer 2", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-09-08T00:00:00.000Z, + "row": 6651, }, Object { - "Customers.customerId": "AS-10225", - "Customers.customerName": "Customer 3", + "SUM(ECommerce.count)": "1", + "city": "Arlington", + "order": null, + "orderData": 2020-09-08T00:00:00.000Z, + "row": 6651, }, Object { - "Customers.customerId": "AW-10840", - "Customers.customerName": "Customer 4", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "US-2017-124779", + "orderData": 2020-09-08T00:00:00.000Z, + "row": 6651, }, Object { - "Customers.customerId": "BB-11545", - "Customers.customerName": "Customer 5", + "SUM(ECommerce.count)": "1", + "city": "Arlington", + "order": "US-2017-124779", + "orderData": 2020-09-08T00:00:00.000Z, + "row": 6651, }, Object { - "Customers.customerId": "BF-11020", - "Customers.customerName": "Customer 6", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-03-26T00:00:00.000Z, + "row": 7174, }, Object { - "Customers.customerId": "BF-11170", - "Customers.customerName": "Customer 7", + "SUM(ECommerce.count)": "1", + "city": "Houston", + "order": null, + "orderData": 2020-03-26T00:00:00.000Z, + "row": 7174, }, Object { - "Customers.customerId": "BM-11650", - "Customers.customerName": "Customer 8", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "US-2017-141677", + "orderData": 2020-03-26T00:00:00.000Z, + "row": 7174, }, Object { - "Customers.customerId": "BS-11380", - "Customers.customerName": "Customer 9", + "SUM(ECommerce.count)": "1", + "city": "Houston", + "order": "US-2017-141677", + "orderData": 2020-03-26T00:00:00.000Z, + "row": 7174, }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-12-04T00:00:00.000Z, + "row": 7293, }, Object { - "Customers.customerId": "CA-12775", - "Customers.customerName": "Customer 11", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-12-04T00:00:00.000Z, + "row": 7293, }, Object { - "Customers.customerId": "CC-12475", - "Customers.customerName": "Customer 12", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-109183", + "orderData": 2020-12-04T00:00:00.000Z, + "row": 7293, }, Object { - "Customers.customerId": "CD-12280", - "Customers.customerName": "Customer 13", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-109183", + "orderData": 2020-12-04T00:00:00.000Z, + "row": 7293, }, Object { - "Customers.customerId": "CS-12355", - "Customers.customerName": "Customer 14", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-06-10T00:00:00.000Z, + "row": 7310, }, Object { - "Customers.customerId": "DB-13405", - "Customers.customerName": "Customer 15", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": null, + "orderData": 2020-06-10T00:00:00.000Z, + "row": 7310, }, Object { - "Customers.customerId": "DG-13300", - "Customers.customerName": "Customer 16", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-112172", + "orderData": 2020-06-10T00:00:00.000Z, + "row": 7310, }, Object { - "Customers.customerId": "DW-13480", - "Customers.customerName": "Customer 17", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": "CA-2017-112172", + "orderData": 2020-06-10T00:00:00.000Z, + "row": 7310, }, Object { - "Customers.customerId": "EM-14140", - "Customers.customerName": "Customer 18", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-04-10T00:00:00.000Z, + "row": 7425, }, Object { - "Customers.customerId": "GA-14725", - "Customers.customerName": "Customer 19", + "SUM(ECommerce.count)": "1", + "city": "Philadelphia", + "order": null, + "orderData": 2020-04-10T00:00:00.000Z, + "row": 7425, }, Object { - "Customers.customerId": "GZ-14470", - "Customers.customerName": "Customer 20", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-135069", + "orderData": 2020-04-10T00:00:00.000Z, + "row": 7425, }, Object { - "Customers.customerId": "HH-15010", - "Customers.customerName": "Customer 21", + "SUM(ECommerce.count)": "1", + "city": "Philadelphia", + "order": "CA-2017-135069", + "orderData": 2020-04-10T00:00:00.000Z, + "row": 7425, }, Object { - "Customers.customerId": "HK-14890", - "Customers.customerName": "Customer 22", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-12-14T00:00:00.000Z, + "row": 7698, }, Object { - "Customers.customerId": "JH-15430", - "Customers.customerName": "Customer 23", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-12-14T00:00:00.000Z, + "row": 7698, }, Object { - "Customers.customerId": "JO-15550", - "Customers.customerName": "Customer 24", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-151799", + "orderData": 2020-12-14T00:00:00.000Z, + "row": 7698, }, Object { - "Customers.customerId": "JS-16030", - "Customers.customerName": "Customer 25", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-151799", + "orderData": 2020-12-14T00:00:00.000Z, + "row": 7698, }, Object { - "Customers.customerId": "JW-15220", - "Customers.customerName": "Customer 26", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-10-12T00:00:00.000Z, + "row": 8425, }, Object { - "Customers.customerId": "KL-16555", - "Customers.customerName": "Customer 27", + "SUM(ECommerce.count)": "1", + "city": "Lakewood", + "order": null, + "orderData": 2020-10-12T00:00:00.000Z, + "row": 8425, }, Object { - "Customers.customerId": "KN-16705", - "Customers.customerName": "Customer 28", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-150091", + "orderData": 2020-10-12T00:00:00.000Z, + "row": 8425, }, Object { - "Customers.customerId": "LC-17050", - "Customers.customerName": "Customer 29", + "SUM(ECommerce.count)": "1", + "city": "Lakewood", + "order": "CA-2017-150091", + "orderData": 2020-10-12T00:00:00.000Z, + "row": 8425, }, Object { - "Customers.customerId": "LR-16915", - "Customers.customerName": "Customer 30", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-11-06T00:00:00.000Z, + "row": 8621, }, Object { - "Customers.customerId": "MC-17605", - "Customers.customerName": "Customer 31", + "SUM(ECommerce.count)": "1", + "city": "Dallas", + "order": null, + "orderData": 2020-11-06T00:00:00.000Z, + "row": 8621, }, Object { - "Customers.customerId": "MG-17650", - "Customers.customerName": "Customer 32", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "US-2017-119319", + "orderData": 2020-11-06T00:00:00.000Z, + "row": 8621, }, Object { - "Customers.customerId": "ML-17755", - "Customers.customerName": "Customer 33", + "SUM(ECommerce.count)": "1", + "city": "Dallas", + "order": "US-2017-119319", + "orderData": 2020-11-06T00:00:00.000Z, + "row": 8621, }, Object { - "Customers.customerId": "MM-18280", - "Customers.customerName": "Customer 34", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-02-16T00:00:00.000Z, + "row": 8673, }, Object { - "Customers.customerId": "NP-18670", - "Customers.customerName": "Customer 35", + "SUM(ECommerce.count)": "1", + "city": "Decatur", + "order": null, + "orderData": 2020-02-16T00:00:00.000Z, + "row": 8673, }, Object { - "Customers.customerId": "PF-19165", - "Customers.customerName": "Customer 36", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-163265", + "orderData": 2020-02-16T00:00:00.000Z, + "row": 8673, }, Object { - "Customers.customerId": "SB-20185", - "Customers.customerName": "Customer 37", - }, + "SUM(ECommerce.count)": "1", + "city": "Decatur", + "order": "CA-2017-163265", + "orderData": 2020-02-16T00:00:00.000Z, + "row": 8673, + }, Object { - "Customers.customerId": "SS-20140", - "Customers.customerName": "Customer 38", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-06-15T00:00:00.000Z, + "row": 8697, }, Object { - "Customers.customerId": "TB-21175", - "Customers.customerName": "Customer 39", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-06-15T00:00:00.000Z, + "row": 8697, }, Object { - "Customers.customerId": "TS-21205", - "Customers.customerName": "Customer 40", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-119284", + "orderData": 2020-06-15T00:00:00.000Z, + "row": 8697, }, Object { - "Customers.customerId": "WB-21850", - "Customers.customerName": "Customer 41", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-119284", + "orderData": 2020-06-15T00:00:00.000Z, + "row": 8697, }, -] -`; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver filtering Customers: startsWith + dimensions, first 1`] = ` -Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-09-17T00:00:00.000Z, + "row": 8878, }, Object { - "Customers.customerId": "AJ-10780", - "Customers.customerName": "Customer 2", + "SUM(ECommerce.count)": "1", + "city": "Morristown", + "order": null, + "orderData": 2020-09-17T00:00:00.000Z, + "row": 8878, }, Object { - "Customers.customerId": "AS-10225", - "Customers.customerName": "Customer 3", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-126928", + "orderData": 2020-09-17T00:00:00.000Z, + "row": 8878, }, Object { - "Customers.customerId": "AW-10840", - "Customers.customerName": "Customer 4", + "SUM(ECommerce.count)": "1", + "city": "Morristown", + "order": "CA-2017-126928", + "orderData": 2020-09-17T00:00:00.000Z, + "row": 8878, }, -] -`; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver filtering Customers: startsWith + dimensions, second 1`] = ` -Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-12-25T00:00:00.000Z, + "row": 8958, }, Object { - "Customers.customerId": "AJ-10780", - "Customers.customerName": "Customer 2", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-12-25T00:00:00.000Z, + "row": 8958, }, Object { - "Customers.customerId": "AS-10225", - "Customers.customerName": "Customer 3", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-105620", + "orderData": 2020-12-25T00:00:00.000Z, + "row": 8958, }, Object { - "Customers.customerId": "AW-10840", - "Customers.customerName": "Customer 4", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-105620", + "orderData": 2020-12-25T00:00:00.000Z, + "row": 8958, }, Object { - "Customers.customerId": "BB-11545", - "Customers.customerName": "Customer 5", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-11-05T00:00:00.000Z, + "row": 9473, }, Object { - "Customers.customerId": "BF-11020", - "Customers.customerName": "Customer 6", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": null, + "orderData": 2020-11-05T00:00:00.000Z, + "row": 9473, }, Object { - "Customers.customerId": "BF-11170", - "Customers.customerName": "Customer 7", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-102925", + "orderData": 2020-11-05T00:00:00.000Z, + "row": 9473, }, Object { - "Customers.customerId": "BM-11650", - "Customers.customerName": "Customer 8", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": "CA-2017-102925", + "orderData": 2020-11-05T00:00:00.000Z, + "row": 9473, }, Object { - "Customers.customerId": "BS-11380", - "Customers.customerName": "Customer 9", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-06-25T00:00:00.000Z, + "row": 9584, }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": null, + "orderData": 2020-06-25T00:00:00.000Z, + "row": 9584, }, -] -`; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver filtering Customers: startsWith + dimensions, third 1`] = `Array []`; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-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", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-116127", + "orderData": 2020-06-25T00:00:00.000Z, + "row": 9584, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "San Francisco", - "ECommerce.customerId": "HH-15010", - "ECommerce.customerName": "Customer 21", - "ECommerce.discount": 0.2, - "ECommerce.orderDate": "2020-10-19T00:00:00.000", - "ECommerce.orderId": "CA-2017-131492", - "ECommerce.productName": "Anderson Hickey Conga Table Tops & Accessories", - "ECommerce.profit": -3.3506, - "ECommerce.quantity": 2, - "ECommerce.rowId": 3060, - "ECommerce.sales": 24.368, - "ECommerce.subCategory": "Tables", + "SUM(ECommerce.count)": "1", + "city": "New York City", + "order": "CA-2017-116127", + "orderData": 2020-06-25T00:00:00.000Z, + "row": 9584, }, -] -`; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-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", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-11-16T00:00:00.000Z, + "row": 9618, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Lorain", - "ECommerce.customerId": "GA-14725", - "ECommerce.customerName": "Customer 19", - "ECommerce.discount": 0.2, - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderId": "CA-2017-107503", - "ECommerce.productName": "Linden 10 Round Wall Clock, Black", - "ECommerce.profit": 8.5568, - "ECommerce.quantity": 4, - "ECommerce.rowId": 849, - "ECommerce.sales": 48.896, - "ECommerce.subCategory": "Furnishings", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": null, + "orderData": 2020-11-16T00:00:00.000Z, + "row": 9618, }, 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", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-160633", + "orderData": 2020-11-16T00:00:00.000Z, + "row": 9618, }, 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", + "SUM(ECommerce.count)": "1", + "city": "Columbus", + "order": "CA-2017-160633", + "orderData": 2020-11-16T00:00:00.000Z, + "row": 9618, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "San Francisco", - "ECommerce.customerId": "HH-15010", - "ECommerce.customerName": "Customer 21", - "ECommerce.discount": 0.2, - "ECommerce.orderDate": "2020-10-19T00:00:00.000", - "ECommerce.orderId": "CA-2017-131492", - "ECommerce.productName": "Anderson Hickey Conga Table Tops & Accessories", - "ECommerce.profit": -3.3506, - "ECommerce.quantity": 2, - "ECommerce.rowId": 3060, - "ECommerce.sales": 24.368, - "ECommerce.subCategory": "Tables", + "SUM(ECommerce.count)": "1", + "city": null, + "order": null, + "orderData": 2020-11-16T00:00:00.000Z, + "row": 9619, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Marion", - "ECommerce.customerId": "MG-17650", - "ECommerce.customerName": "Customer 32", - "ECommerce.discount": 0.2, - "ECommerce.orderDate": "2020-12-01T00:00:00.000", - "ECommerce.orderId": "CA-2017-145660", - "ECommerce.productName": "Magna Visual Magnetic Picture Hangers", - "ECommerce.profit": 1.7352, - "ECommerce.quantity": 2, - "ECommerce.rowId": 6205, - "ECommerce.sales": 7.712, - "ECommerce.subCategory": "Furnishings", + "SUM(ECommerce.count)": "1", + "city": "Bowling", + "order": null, + "orderData": 2020-11-16T00:00:00.000Z, + "row": 9619, }, Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Philadelphia", - "ECommerce.customerId": "BS-11755", - "ECommerce.customerName": "Customer 10", - "ECommerce.discount": 0.2, - "ECommerce.orderDate": "2020-04-10T00:00:00.000", - "ECommerce.orderId": "CA-2017-135069", - "ECommerce.productName": "Linden 10 Round Wall Clock, Black", - "ECommerce.profit": 6.4176, - "ECommerce.quantity": 3, - "ECommerce.rowId": 7425, - "ECommerce.sales": 36.672, - "ECommerce.subCategory": "Furnishings", + "SUM(ECommerce.count)": "1", + "city": null, + "order": "CA-2017-160633", + "orderData": 2020-11-16T00:00:00.000Z, + "row": 9619, }, 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", + "SUM(ECommerce.count)": "1", + "city": "Bowling", + "order": "CA-2017-160633", + "orderData": 2020-11-16T00:00:00.000Z, + "row": 9619, }, ] `; -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver filtering ECommerce: contains dimensions, third 1`] = `Array []`; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver filtering ECommerce: endsWith + dimensions, first 1`] = ` +exports[`Queries with the @cubejs-backend/databricks-jdbc-driver SQL API: Simple Rollup: simple_rollup 1`] = ` Array [ Object { - "ECommerce.category": "Furniture", - "ECommerce.city": "Marion", - "ECommerce.customerId": "MG-17650", - "ECommerce.customerName": "Customer 32", - "ECommerce.discount": 0.2, + "SUM(ECommerce.count)": "44", + "orderDate": null, + "orderId": null, + "rowId": null, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 523, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-145142", + "rowId": 523, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-01-23T00:00:00.000Z, + "orderId": "CA-2017-145142", + "rowId": 523, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 849, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-107503", + "rowId": 849, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-01-01T00:00:00.000Z, + "orderId": "CA-2017-107503", + "rowId": 849, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 1013, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-118437", + "rowId": 1013, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-06-17T00:00:00.000Z, + "orderId": "CA-2017-118437", + "rowId": 1013, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 1494, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-139661", + "rowId": 1494, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-10-30T00:00:00.000Z, + "orderId": "CA-2017-139661", + "rowId": 1494, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 1995, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-133648", + "rowId": 1995, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-06-25T00:00:00.000Z, + "orderId": "CA-2017-133648", + "rowId": 1995, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2329, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-138422", + "rowId": 2329, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-09-23T00:00:00.000Z, + "orderId": "CA-2017-138422", + "rowId": 2329, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2455, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-140949", + "rowId": 2455, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-03-17T00:00:00.000Z, + "orderId": "CA-2017-140949", + "rowId": 2455, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2595, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-149048", + "rowId": 2595, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-05-13T00:00:00.000Z, + "orderId": "CA-2017-149048", + "rowId": 2595, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2655, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-112515", + "rowId": 2655, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-09-17T00:00:00.000Z, + "orderId": "CA-2017-112515", + "rowId": 2655, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2661, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-123372", + "rowId": 2661, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-11-28T00:00:00.000Z, + "orderId": "CA-2017-123372", + "rowId": 2661, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 2952, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-134915", + "rowId": 2952, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-11-12T00:00:00.000Z, + "orderId": "CA-2017-134915", + "rowId": 2952, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3059, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-131492", + "rowId": 3059, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-10-19T00:00:00.000Z, + "orderId": "CA-2017-131492", + "rowId": 3059, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3060, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-131492", + "rowId": 3060, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-10-19T00:00:00.000Z, + "orderId": "CA-2017-131492", + "rowId": 3060, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3083, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "US-2017-132297", + "rowId": 3083, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-05-27T00:00:00.000Z, + "orderId": "US-2017-132297", + "rowId": 3083, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3448, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-102554", + "rowId": 3448, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-06-11T00:00:00.000Z, + "orderId": "CA-2017-102554", + "rowId": 3448, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3717, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-144568", + "rowId": 3717, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-05-29T00:00:00.000Z, + "orderId": "CA-2017-144568", + "rowId": 3717, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 3934, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-123001", + "rowId": 3934, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-09-02T00:00:00.000Z, + "orderId": "CA-2017-123001", + "rowId": 3934, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 4012, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-100811", + "rowId": 4012, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-11-21T00:00:00.000Z, + "orderId": "CA-2017-100811", + "rowId": 4012, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 4031, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-124296", + "rowId": 4031, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-12-24T00:00:00.000Z, + "orderId": "CA-2017-124296", + "rowId": 4031, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 4161, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-115546", + "rowId": 4161, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-05-14T00:00:00.000Z, + "orderId": "CA-2017-115546", + "rowId": 4161, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 4227, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-120327", + "rowId": 4227, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-11-11T00:00:00.000Z, + "orderId": "CA-2017-120327", + "rowId": 4227, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 4882, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-143567", + "rowId": 4882, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-11-02T00:00:00.000Z, + "orderId": "CA-2017-143567", + "rowId": 4882, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 5220, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-145653", + "rowId": 5220, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-09-01T00:00:00.000Z, + "orderId": "CA-2017-145653", + "rowId": 5220, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 5277, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-147333", + "rowId": 5277, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-12-14T00:00:00.000Z, + "orderId": "CA-2017-147333", + "rowId": 5277, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 6125, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-145772", + "rowId": 6125, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-06-03T00:00:00.000Z, + "orderId": "CA-2017-145772", + "rowId": 6125, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 6205, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-145660", + "rowId": 6205, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-12-01T00:00:00.000Z, + "orderId": "CA-2017-145660", + "rowId": 6205, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 6272, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-102379", + "rowId": 6272, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-12-02T00:00:00.000Z, + "orderId": "CA-2017-102379", + "rowId": 6272, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 6459, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "US-2017-133361", + "rowId": 6459, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-05-14T00:00:00.000Z, + "orderId": "US-2017-133361", + "rowId": 6459, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 6651, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "US-2017-124779", + "rowId": 6651, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-09-08T00:00:00.000Z, + "orderId": "US-2017-124779", + "rowId": 6651, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 7174, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "US-2017-141677", + "rowId": 7174, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-03-26T00:00:00.000Z, + "orderId": "US-2017-141677", + "rowId": 7174, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 7293, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-109183", + "rowId": 7293, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-12-04T00:00:00.000Z, + "orderId": "CA-2017-109183", + "rowId": 7293, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 7310, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-112172", + "rowId": 7310, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-06-10T00:00:00.000Z, + "orderId": "CA-2017-112172", + "rowId": 7310, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 7425, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-135069", + "rowId": 7425, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-04-10T00:00:00.000Z, + "orderId": "CA-2017-135069", + "rowId": 7425, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 7698, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-151799", + "rowId": 7698, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-12-14T00:00:00.000Z, + "orderId": "CA-2017-151799", + "rowId": 7698, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8425, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-150091", + "rowId": 8425, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-10-12T00:00:00.000Z, + "orderId": "CA-2017-150091", + "rowId": 8425, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8621, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "US-2017-119319", + "rowId": 8621, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-11-06T00:00:00.000Z, + "orderId": "US-2017-119319", + "rowId": 8621, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8673, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-163265", + "rowId": 8673, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-02-16T00:00:00.000Z, + "orderId": "CA-2017-163265", + "rowId": 8673, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8697, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-119284", + "rowId": 8697, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-06-15T00:00:00.000Z, + "orderId": "CA-2017-119284", + "rowId": 8697, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8878, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-126928", + "rowId": 8878, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-09-17T00:00:00.000Z, + "orderId": "CA-2017-126928", + "rowId": 8878, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 8958, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-105620", + "rowId": 8958, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-12-25T00:00:00.000Z, + "orderId": "CA-2017-105620", + "rowId": 8958, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 9473, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-102925", + "rowId": 9473, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-11-05T00:00:00.000Z, + "orderId": "CA-2017-102925", + "rowId": 9473, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 9584, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-116127", + "rowId": 9584, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-06-25T00:00:00.000Z, + "orderId": "CA-2017-116127", + "rowId": 9584, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 9618, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-160633", + "rowId": 9618, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-11-16T00:00:00.000Z, + "orderId": "CA-2017-160633", + "rowId": 9618, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": null, + "rowId": 9619, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": null, + "orderId": "CA-2017-160633", + "rowId": 9619, + }, + Object { + "SUM(ECommerce.count)": "1", + "orderDate": 2020-11-16T00:00:00.000Z, + "orderId": "CA-2017-160633", + "rowId": 9619, + }, +] +`; + +exports[`Queries with the @cubejs-backend/databricks-jdbc-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/databricks-jdbc-driver SQL API: post-aggregate percentage of total: post_aggregate_percentage_of_total 1`] = ` +Array [ + Object { + "SUM(BigECommerce.percentageOfTotalForStatus)": 100, + }, +] +`; + +exports[`Queries with the @cubejs-backend/databricks-jdbc-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/databricks-jdbc-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/databricks-jdbc-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/databricks-jdbc-driver SQL API: ungrouped pre-agg: ungrouped_pre_agg 1`] = ` +Array [ + Object { + "productName": "Canon PC1080F Personal Copier", + "totalSales": 2399.96, + }, + Object { + "productName": "Logitech di_Novo Edge Keyboard", + "totalSales": 2249.91, + }, + Object { + "productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", + "totalSales": 2154.9, + }, + Object { + "productName": "Google Nexus 5", + "totalSales": 1979.89, + }, + Object { + "productName": "Global Adaptabilites Bookcase, Cherry/Storm Gray Finish", + "totalSales": 1292.94, + }, + Object { + "productName": "Canon PC1080F Personal Copier", + "totalSales": 1199.98, + }, + Object { + "productName": "Hewlett Packard 610 Color Digital Copier / Printer", + "totalSales": 899.982, + }, + Object { + "productName": "Okidata C610n Printer", + "totalSales": 649, + }, + Object { + "productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", + "totalSales": 600, + }, + Object { + "productName": "Google Nexus 6", + "totalSales": 539.97, + }, + Object { + "productName": "Google Nexus 7", + "totalSales": 539.97, + }, + Object { + "productName": "Harbour Creations 67200 Series Stacking Chairs", + "totalSales": 498.26, + }, + Object { + "productName": "DMI Eclipse Executive Suite Bookcases", + "totalSales": 400.784, + }, + Object { + "productName": "HTC One", + "totalSales": 239.976, + }, + Object { + "productName": "Iceberg Nesting Folding Chair, 19w x 6d x 43h", + "totalSales": 232.88, + }, + Object { + "productName": "Balt Solid Wood Rectangular Table", + "totalSales": 210.98, + }, + Object { + "productName": "Tyvek Side-Opening Peel & Seel Expanding Envelopes", + "totalSales": 180.96, + }, + Object { + "productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", + "totalSales": 179.9, + }, + Object { + "productName": "Harbour Creations 67200 Series Stacking Chairs", + "totalSales": 128.124, + }, + Object { + "productName": "Harbour Creations 67200 Series Stacking Chairs", + "totalSales": 113.888, + }, + Object { + "productName": "Panasonic KP-380BK Classic Electric Pencil Sharpener", + "totalSales": 86.352, + }, + Object { + "productName": "Kingston Digital DataTraveler 16GB USB 2.2", + "totalSales": 71.6, + }, + Object { + "productName": "Linden 10 Round Wall Clock, Black", + "totalSales": 48.896, + }, + Object { + "productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", + "totalSales": 45.92, + }, + Object { + "productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", + "totalSales": 45.92, + }, + Object { + "productName": "Kingston Digital DataTraveler 16GB USB 2.0", + "totalSales": 44.75, + }, + Object { + "productName": "Kingston Digital DataTraveler 16GB USB 2.1", + "totalSales": 44.75, + }, + Object { + "productName": "Recycled Eldon Regeneration Jumbo File", + "totalSales": 39.296, + }, + Object { + "productName": "Linden 10 Round Wall Clock, Black", + "totalSales": 36.672, + }, + Object { + "productName": "Linden 10 Round Wall Clock, Black", + "totalSales": 30.56, + }, + Object { + "productName": "Linden 10 Round Wall Clock, Black", + "totalSales": 30.56, + }, + Object { + "productName": "Anderson Hickey Conga Table Tops & Accessories", + "totalSales": 24.368, + }, + Object { + "productName": "Plymouth Boxed Rubber Bands by Plymouth", + "totalSales": 23.55, + }, + Object { + "productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", + "totalSales": 18.368, + }, + Object { + "productName": "Wausau Papers Astrobrights Colored Envelopes", + "totalSales": 14.352, + }, + Object { + "productName": "Plymouth Boxed Rubber Bands by Plymouth", + "totalSales": 14.13, + }, + Object { + "productName": "Project Tote Personal File", + "totalSales": 14.03, + }, + Object { + "productName": "Plymouth Boxed Rubber Bands by Plymouth", + "totalSales": 11.304, + }, + Object { + "productName": "Magna Visual Magnetic Picture Hangers", + "totalSales": 9.64, + }, + Object { + "productName": "OIC #2 Pencils, Medium Soft", + "totalSales": 9.4, + }, + Object { + "productName": "Magna Visual Magnetic Picture Hangers", + "totalSales": 7.712, + }, + Object { + "productName": "OIC #2 Pencils, Medium Soft", + "totalSales": 3.76, + }, + Object { + "productName": "OIC #2 Pencils, Medium Soft", + "totalSales": 3.76, + }, + Object { + "productName": "Lexmark 20R1285 X6650 Wireless All-in-One Printer", + "totalSales": null, + }, +] +`; + +exports[`Queries with the @cubejs-backend/databricks-jdbc-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/databricks-jdbc-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/databricks-jdbc-driver filtering Customers: contains + dimensions, third 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/databricks-jdbc-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/databricks-jdbc-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/databricks-jdbc-driver filtering Customers: endsWith filter + dimensions, third 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/databricks-jdbc-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/databricks-jdbc-driver filtering Customers: notEndsWith filter + dimensions, second 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/databricks-jdbc-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/databricks-jdbc-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/databricks-jdbc-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/databricks-jdbc-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/databricks-jdbc-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/databricks-jdbc-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/databricks-jdbc-driver filtering Customers: startsWith + dimensions, third 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/databricks-jdbc-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/databricks-jdbc-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/databricks-jdbc-driver filtering ECommerce: contains dimensions, third 1`] = `Array []`; + +exports[`Queries with the @cubejs-backend/databricks-jdbc-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", @@ -4863,6 +8266,14 @@ Array [ exports[`Queries with the @cubejs-backend/databricks-jdbc-driver filtering Products: contains + dimensions + order, third 1`] = `Array []`; +exports[`Queries with the @cubejs-backend/databricks-jdbc-driver filtering Products: contains with special chars + dimensions 1`] = ` +Array [ + Object { + "Products.productName": "Logitech di_Novo Edge Keyboard", + }, +] +`; + exports[`Queries with the @cubejs-backend/databricks-jdbc-driver filtering Products: endsWith filter + dimensions + order, first 1`] = ` Array [ Object { @@ -6036,7 +9447,7 @@ Array [ exports[`Queries with the @cubejs-backend/databricks-jdbc-driver querying BigECommerce: totalProfitYearAgo 1`] = `Array []`; -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver querying Customers: dimensions 1`] = ` +exports[`Queries with the @cubejs-backend/databricks-jdbc-driver querying Customers: dimensions + limit 1`] = ` Array [ Object { "Customers.customerId": "AH-10465", @@ -6078,42 +9489,19 @@ Array [ "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/databricks-jdbc-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", @@ -6146,66 +9534,64 @@ Array [ "Customers.customerId": "KL-16555", "Customers.customerName": "Customer 27", }, +] +`; + +exports[`Queries with the @cubejs-backend/databricks-jdbc-driver querying Customers: dimensions + order + limit + total 1`] = ` +Array [ 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", + "Customers.customerId": "AH-10465", + "Customers.customerName": "Customer 1", }, Object { - "Customers.customerId": "MG-17650", - "Customers.customerName": "Customer 32", + "Customers.customerId": "BS-11755", + "Customers.customerName": "Customer 10", }, Object { - "Customers.customerId": "ML-17755", - "Customers.customerName": "Customer 33", + "Customers.customerId": "CA-12775", + "Customers.customerName": "Customer 11", }, Object { - "Customers.customerId": "MM-18280", - "Customers.customerName": "Customer 34", + "Customers.customerId": "CC-12475", + "Customers.customerName": "Customer 12", }, Object { - "Customers.customerId": "NP-18670", - "Customers.customerName": "Customer 35", + "Customers.customerId": "CD-12280", + "Customers.customerName": "Customer 13", }, Object { - "Customers.customerId": "PF-19165", - "Customers.customerName": "Customer 36", + "Customers.customerId": "CS-12355", + "Customers.customerName": "Customer 14", }, Object { - "Customers.customerId": "SB-20185", - "Customers.customerName": "Customer 37", + "Customers.customerId": "DB-13405", + "Customers.customerName": "Customer 15", }, Object { - "Customers.customerId": "SS-20140", - "Customers.customerName": "Customer 38", + "Customers.customerId": "DG-13300", + "Customers.customerName": "Customer 16", }, Object { - "Customers.customerId": "TB-21175", - "Customers.customerName": "Customer 39", + "Customers.customerId": "DW-13480", + "Customers.customerName": "Customer 17", }, Object { - "Customers.customerId": "TS-21205", - "Customers.customerName": "Customer 40", + "Customers.customerId": "EM-14140", + "Customers.customerName": "Customer 18", }, +] +`; + +exports[`Queries with the @cubejs-backend/databricks-jdbc-driver querying Customers: dimensions + order + total + offset 1`] = ` +Array [ Object { - "Customers.customerId": "WB-21850", - "Customers.customerName": "Customer 41", + "Customers.customerId": "BS-11380", + "Customers.customerName": "Customer 9", }, ] `; -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver querying Customers: dimensions + limit 1`] = ` +exports[`Queries with the @cubejs-backend/databricks-jdbc-driver querying Customers: dimensions + order 1`] = ` Array [ Object { "Customers.customerId": "AH-10465", @@ -6244,22 +9630,45 @@ Array [ "Customers.customerName": "Customer 9", }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "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/databricks-jdbc-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", @@ -6292,64 +9701,66 @@ Array [ "Customers.customerId": "KL-16555", "Customers.customerName": "Customer 27", }, -] -`; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver querying Customers: dimensions + order + limit + total 1`] = ` -Array [ Object { - "Customers.customerId": "AH-10465", - "Customers.customerName": "Customer 1", + "Customers.customerId": "KN-16705", + "Customers.customerName": "Customer 28", }, Object { - "Customers.customerId": "BS-11755", - "Customers.customerName": "Customer 10", + "Customers.customerId": "LC-17050", + "Customers.customerName": "Customer 29", }, Object { - "Customers.customerId": "CA-12775", - "Customers.customerName": "Customer 11", + "Customers.customerId": "LR-16915", + "Customers.customerName": "Customer 30", }, Object { - "Customers.customerId": "CC-12475", - "Customers.customerName": "Customer 12", + "Customers.customerId": "MC-17605", + "Customers.customerName": "Customer 31", }, Object { - "Customers.customerId": "CD-12280", - "Customers.customerName": "Customer 13", + "Customers.customerId": "MG-17650", + "Customers.customerName": "Customer 32", }, Object { - "Customers.customerId": "CS-12355", - "Customers.customerName": "Customer 14", + "Customers.customerId": "ML-17755", + "Customers.customerName": "Customer 33", }, Object { - "Customers.customerId": "DB-13405", - "Customers.customerName": "Customer 15", + "Customers.customerId": "MM-18280", + "Customers.customerName": "Customer 34", }, Object { - "Customers.customerId": "DG-13300", - "Customers.customerName": "Customer 16", + "Customers.customerId": "NP-18670", + "Customers.customerName": "Customer 35", }, Object { - "Customers.customerId": "DW-13480", - "Customers.customerName": "Customer 17", + "Customers.customerId": "PF-19165", + "Customers.customerName": "Customer 36", }, Object { - "Customers.customerId": "EM-14140", - "Customers.customerName": "Customer 18", + "Customers.customerId": "SB-20185", + "Customers.customerName": "Customer 37", }, -] -`; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver querying Customers: dimensions + order + total + offset 1`] = ` -Array [ Object { - "Customers.customerId": "BS-11380", - "Customers.customerName": "Customer 9", + "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/databricks-jdbc-driver querying Customers: dimensions + order 1`] = ` +exports[`Queries with the @cubejs-backend/databricks-jdbc-driver querying Customers: dimensions + total 1`] = ` Array [ Object { "Customers.customerId": "AH-10465", @@ -6518,7 +9929,7 @@ Array [ ] `; -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver querying Customers: dimensions + total 1`] = ` +exports[`Queries with the @cubejs-backend/databricks-jdbc-driver querying Customers: dimensions 1`] = ` Array [ Object { "Customers.customerId": "AH-10465", @@ -6796,7 +10207,7 @@ Array [ ] `; -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver querying ECommerce: dimensions 1`] = ` +exports[`Queries with the @cubejs-backend/databricks-jdbc-driver querying ECommerce: dimensions + limit 1`] = ` Array [ Object { "ECommerce.category": "Furniture", @@ -6948,6 +10359,11 @@ Array [ "ECommerce.sales": 1979.89, "ECommerce.subCategory": "Phones", }, +] +`; + +exports[`Queries with the @cubejs-backend/databricks-jdbc-driver querying ECommerce: dimensions + order + limit + total + offset 1`] = ` +Array [ Object { "ECommerce.category": "Furniture", "ECommerce.city": "Glendale", @@ -7047,402 +10463,217 @@ Array [ "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.profit": 2.726, + "ECommerce.quantity": 5, + "ECommerce.rowId": 3934, + "ECommerce.sales": 9.4, "ECommerce.subCategory": "Art", }, Object { "ECommerce.category": "Office Supplies", - "ECommerce.city": "Arlington", - "ECommerce.customerId": "BF-11020", - "ECommerce.customerName": "Customer 6", + "ECommerce.city": "Philadelphia", + "ECommerce.customerId": "CC-12475", + "ECommerce.customerName": "Customer 12", "ECommerce.discount": 0.2, - "ECommerce.orderDate": "2020-09-08T00:00:00.000", - "ECommerce.orderId": "US-2017-124779", - "ECommerce.productName": "Vinyl Coated Wire Paper Clips in Organizer Box, 800/Box", - "ECommerce.profit": 15.498, - "ECommerce.quantity": 5, - "ECommerce.rowId": 6651, - "ECommerce.sales": 45.92, - "ECommerce.subCategory": "Fasteners", + "ECommerce.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": "Houston", - "ECommerce.customerId": "HK-14890", - "ECommerce.customerName": "Customer 22", - "ECommerce.discount": 0.2, - "ECommerce.orderDate": "2020-03-26T00:00:00.000", - "ECommerce.orderId": "US-2017-141677", - "ECommerce.productName": "Canon PC1080F Personal Copier", - "ECommerce.profit": 569.9905, - "ECommerce.quantity": 5, - "ECommerce.rowId": 7174, - "ECommerce.sales": 2399.96, - "ECommerce.subCategory": "Copiers", + "ECommerce.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": "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.customerId": "AH-10465", + "ECommerce.customerName": "Customer 1", "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.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": 7310, - "ECommerce.sales": 14.13, - "ECommerce.subCategory": "Fasteners", + "ECommerce.rowId": 4161, + "ECommerce.sales": 539.97, + "ECommerce.subCategory": "Phones", }, +] +`; + +exports[`Queries with the @cubejs-backend/databricks-jdbc-driver querying ECommerce: dimensions + order + limit + total 1`] = ` +Array [ Object { "ECommerce.category": "Furniture", - "ECommerce.city": "Philadelphia", - "ECommerce.customerId": "BS-11755", - "ECommerce.customerName": "Customer 10", + "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-04-10T00:00:00.000", - "ECommerce.orderId": "CA-2017-135069", + "ECommerce.orderDate": "2020-01-01T00:00:00.000", + "ECommerce.orderId": "CA-2017-107503", "ECommerce.productName": "Linden 10 Round Wall Clock, Black", - "ECommerce.profit": 6.4176, - "ECommerce.quantity": 3, - "ECommerce.rowId": 7425, - "ECommerce.sales": 36.672, + "ECommerce.profit": 8.5568, + "ECommerce.quantity": 4, + "ECommerce.rowId": 849, + "ECommerce.sales": 48.896, "ECommerce.subCategory": "Furnishings", }, Object { - "ECommerce.category": "Technology", - "ECommerce.city": "Columbus", - "ECommerce.customerId": "BF-11170", - "ECommerce.customerName": "Customer 7", + "ECommerce.category": "Office Supplies", + "ECommerce.city": "Olympia", + "ECommerce.customerId": "PF-19165", + "ECommerce.customerName": "Customer 36", "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", + "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": "Lakewood", - "ECommerce.customerId": "NP-18670", - "ECommerce.customerName": "Customer 35", + "ECommerce.city": "Vancouver", + "ECommerce.customerId": "JW-15220", + "ECommerce.customerName": "Customer 26", "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.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": "Decatur", - "ECommerce.customerId": "JS-16030", - "ECommerce.customerName": "Customer 25", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "ML-17755", + "ECommerce.customerName": "Customer 33", "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.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": "Technology", + "ECommerce.category": "Office Supplies", "ECommerce.city": "Columbus", - "ECommerce.customerId": "TS-21205", - "ECommerce.customerName": "Customer 40", + "ECommerce.customerId": "KN-16705", + "ECommerce.customerName": "Customer 28", "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.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": 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", + "ECommerce.rowId": 2329, + "ECommerce.sales": 14.352, + "ECommerce.subCategory": "Envelopes", }, 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", + "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": "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.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": 9473, - "ECommerce.sales": 128.124, - "ECommerce.subCategory": "Chairs", + "ECommerce.rowId": 2595, + "ECommerce.sales": 180.96, + "ECommerce.subCategory": "Envelopes", }, 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.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": "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", + "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/databricks-jdbc-driver querying ECommerce: dimensions + order + total + offset 1`] = ` +Array [ Object { "ECommerce.category": "Office Supplies", "ECommerce.city": "Bowling", @@ -7461,7 +10692,7 @@ Array [ ] `; -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver querying ECommerce: dimensions + limit 1`] = ` +exports[`Queries with the @cubejs-backend/databricks-jdbc-driver querying ECommerce: dimensions + order 1`] = ` Array [ Object { "ECommerce.category": "Furniture", @@ -7613,11 +10844,6 @@ Array [ "ECommerce.sales": 1979.89, "ECommerce.subCategory": "Phones", }, -] -`; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver querying ECommerce: dimensions + order + limit + total + offset 1`] = ` -Array [ Object { "ECommerce.category": "Furniture", "ECommerce.city": "Glendale", @@ -7768,166 +10994,351 @@ Array [ "ECommerce.sales": 539.97, "ECommerce.subCategory": "Phones", }, -] -`; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-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.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-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", + "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": "Lorain", - "ECommerce.customerId": "GA-14725", - "ECommerce.customerName": "Customer 19", + "ECommerce.city": "Philadelphia", + "ECommerce.customerId": "BS-11755", + "ECommerce.customerName": "Customer 10", "ECommerce.discount": 0.2, - "ECommerce.orderDate": "2020-01-01T00:00:00.000", - "ECommerce.orderId": "CA-2017-107503", + "ECommerce.orderDate": "2020-04-10T00:00:00.000", + "ECommerce.orderId": "CA-2017-135069", "ECommerce.productName": "Linden 10 Round Wall Clock, Black", - "ECommerce.profit": 8.5568, - "ECommerce.quantity": 4, - "ECommerce.rowId": 849, - "ECommerce.sales": 48.896, + "ECommerce.profit": 6.4176, + "ECommerce.quantity": 3, + "ECommerce.rowId": 7425, + "ECommerce.sales": 36.672, "ECommerce.subCategory": "Furnishings", }, Object { - "ECommerce.category": "Office Supplies", - "ECommerce.city": "Olympia", - "ECommerce.customerId": "PF-19165", - "ECommerce.customerName": "Customer 36", + "ECommerce.category": "Technology", + "ECommerce.city": "Columbus", + "ECommerce.customerId": "BF-11170", + "ECommerce.customerName": "Customer 7", "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", + "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": "Vancouver", - "ECommerce.customerId": "JW-15220", - "ECommerce.customerName": "Customer 26", + "ECommerce.city": "Lakewood", + "ECommerce.customerId": "NP-18670", + "ECommerce.customerName": "Customer 35", "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.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": "Columbus", - "ECommerce.customerId": "ML-17755", - "ECommerce.customerName": "Customer 33", + "ECommerce.city": "Decatur", + "ECommerce.customerId": "JS-16030", + "ECommerce.customerName": "Customer 25", "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.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": "Office Supplies", + "ECommerce.category": "Technology", "ECommerce.city": "Columbus", - "ECommerce.customerId": "KN-16705", - "ECommerce.customerName": "Customer 28", + "ECommerce.customerId": "TS-21205", + "ECommerce.customerName": "Customer 40", "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.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": 2329, - "ECommerce.sales": 14.352, - "ECommerce.subCategory": "Envelopes", + "ECommerce.rowId": 8697, + "ECommerce.sales": 239.976, + "ECommerce.subCategory": "Phones", }, Object { "ECommerce.category": "Technology", - "ECommerce.city": "New York City", - "ECommerce.customerId": "DB-13405", - "ECommerce.customerName": "Customer 15", + "ECommerce.city": "Morristown", + "ECommerce.customerId": "GZ-14470", + "ECommerce.customerName": "Customer 20", "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", + "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": "Office Supplies", + "ECommerce.category": "Technology", "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.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": 2595, - "ECommerce.sales": 180.96, - "ECommerce.subCategory": "Envelopes", + "ECommerce.rowId": 8958, + "ECommerce.sales": 120, + "ECommerce.subCategory": "Machines", }, 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.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": "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", + "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", }, -] -`; - -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver querying ECommerce: dimensions + order + total + offset 1`] = ` -Array [ Object { "ECommerce.category": "Office Supplies", "ECommerce.city": "Bowling", @@ -7946,7 +11357,7 @@ Array [ ] `; -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver querying ECommerce: dimensions + order 1`] = ` +exports[`Queries with the @cubejs-backend/databricks-jdbc-driver querying ECommerce: dimensions + total 1`] = ` Array [ Object { "ECommerce.category": "Furniture", @@ -8611,7 +12022,7 @@ Array [ ] `; -exports[`Queries with the @cubejs-backend/databricks-jdbc-driver querying ECommerce: dimensions + total 1`] = ` +exports[`Queries with the @cubejs-backend/databricks-jdbc-driver querying ECommerce: dimensions 1`] = ` Array [ Object { "ECommerce.category": "Furniture", diff --git a/packages/cubejs-testing-drivers/test/__snapshots__/postgres-full.test.ts.snap b/packages/cubejs-testing-drivers/test/__snapshots__/postgres-full.test.ts.snap index fee5e3b8936d0..5b2af75a5d99f 100644 --- a/packages/cubejs-testing-drivers/test/__snapshots__/postgres-full.test.ts.snap +++ b/packages/cubejs-testing-drivers/test/__snapshots__/postgres-full.test.ts.snap @@ -1801,298 +1801,298 @@ exports[`Queries with the @cubejs-backend/postgres-driver SQL API: Extended nest Array [ Object { "SUM(a.count)": "1", - "order": "CA-2017-145142", - "row": 523, + "order": "CA-2017-100811", + "row": 4012, }, Object { "SUM(a.count)": "1", - "order": null, - "row": 523, + "order": "CA-2017-102379", + "row": 6272, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-107503", - "row": 849, + "order": "CA-2017-102554", + "row": 3448, }, Object { "SUM(a.count)": "1", - "order": null, - "row": 849, + "order": "CA-2017-102925", + "row": 9473, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-118437", - "row": 1013, + "order": "CA-2017-105620", + "row": 8958, }, Object { "SUM(a.count)": "1", - "order": null, - "row": 1013, + "order": "CA-2017-107503", + "row": 849, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-139661", - "row": 1494, + "order": "CA-2017-109183", + "row": 7293, }, Object { "SUM(a.count)": "1", - "order": null, - "row": 1494, + "order": "CA-2017-112172", + "row": 7310, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-133648", - "row": 1995, + "order": "CA-2017-112515", + "row": 2655, }, Object { "SUM(a.count)": "1", - "order": null, - "row": 1995, + "order": "CA-2017-115546", + "row": 4161, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-138422", - "row": 2329, + "order": "CA-2017-116127", + "row": 9584, }, Object { "SUM(a.count)": "1", - "order": null, - "row": 2329, + "order": "CA-2017-118437", + "row": 1013, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-140949", - "row": 2455, + "order": "CA-2017-119284", + "row": 8697, }, Object { "SUM(a.count)": "1", - "order": null, - "row": 2455, + "order": "CA-2017-120327", + "row": 4227, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-149048", - "row": 2595, + "order": "CA-2017-123001", + "row": 3934, }, Object { "SUM(a.count)": "1", - "order": null, - "row": 2595, + "order": "CA-2017-123372", + "row": 2661, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-112515", - "row": 2655, + "order": "CA-2017-124296", + "row": 4031, }, Object { "SUM(a.count)": "1", - "order": null, - "row": 2655, + "order": "CA-2017-126928", + "row": 8878, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-123372", - "row": 2661, + "order": "CA-2017-131492", + "row": 3060, }, Object { "SUM(a.count)": "1", - "order": null, - "row": 2661, + "order": "CA-2017-131492", + "row": 3059, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-134915", - "row": 2952, + "order": "CA-2017-133648", + "row": 1995, }, Object { "SUM(a.count)": "1", - "order": null, + "order": "CA-2017-134915", "row": 2952, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-131492", - "row": 3059, + "order": "CA-2017-135069", + "row": 7425, }, Object { "SUM(a.count)": "1", - "order": null, - "row": 3059, + "order": "CA-2017-138422", + "row": 2329, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-131492", - "row": 3060, + "order": "CA-2017-139661", + "row": 1494, }, Object { "SUM(a.count)": "1", - "order": null, - "row": 3060, + "order": "CA-2017-140949", + "row": 2455, }, Object { "SUM(a.count)": "1", - "order": "US-2017-132297", - "row": 3083, + "order": "CA-2017-143567", + "row": 4882, }, Object { "SUM(a.count)": "1", - "order": null, - "row": 3083, + "order": "CA-2017-144568", + "row": 3717, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-102554", - "row": 3448, + "order": "CA-2017-145142", + "row": 523, }, Object { "SUM(a.count)": "1", - "order": null, - "row": 3448, + "order": "CA-2017-145653", + "row": 5220, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-144568", - "row": 3717, + "order": "CA-2017-145660", + "row": 6205, }, Object { "SUM(a.count)": "1", - "order": null, - "row": 3717, + "order": "CA-2017-145772", + "row": 6125, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-123001", - "row": 3934, + "order": "CA-2017-147333", + "row": 5277, }, Object { "SUM(a.count)": "1", - "order": null, - "row": 3934, + "order": "CA-2017-149048", + "row": 2595, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-100811", - "row": 4012, + "order": "CA-2017-150091", + "row": 8425, }, Object { "SUM(a.count)": "1", - "order": null, - "row": 4012, + "order": "CA-2017-151799", + "row": 7698, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-124296", - "row": 4031, + "order": "CA-2017-160633", + "row": 9619, }, Object { "SUM(a.count)": "1", - "order": null, - "row": 4031, + "order": "CA-2017-160633", + "row": 9618, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-115546", - "row": 4161, + "order": "CA-2017-163265", + "row": 8673, }, Object { "SUM(a.count)": "1", - "order": null, - "row": 4161, + "order": "US-2017-119319", + "row": 8621, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-120327", - "row": 4227, + "order": "US-2017-124779", + "row": 6651, }, Object { "SUM(a.count)": "1", - "order": null, - "row": 4227, + "order": "US-2017-132297", + "row": 3083, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-143567", - "row": 4882, + "order": "US-2017-133361", + "row": 6459, }, Object { "SUM(a.count)": "1", - "order": null, - "row": 4882, + "order": "US-2017-141677", + "row": 7174, }, Object { - "SUM(a.count)": "1", - "order": "CA-2017-145653", - "row": 5220, + "SUM(a.count)": "44", + "order": null, + "row": null, }, Object { "SUM(a.count)": "1", "order": null, - "row": 5220, + "row": 9619, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-147333", - "row": 5277, + "order": null, + "row": 9618, }, Object { "SUM(a.count)": "1", "order": null, - "row": 5277, + "row": 9584, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-145772", - "row": 6125, + "order": null, + "row": 9473, }, Object { "SUM(a.count)": "1", "order": null, - "row": 6125, + "row": 8958, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-145660", - "row": 6205, + "order": null, + "row": 8878, }, Object { "SUM(a.count)": "1", "order": null, - "row": 6205, + "row": 8697, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-102379", - "row": 6272, + "order": null, + "row": 8673, }, Object { "SUM(a.count)": "1", "order": null, - "row": 6272, + "row": 8621, }, Object { "SUM(a.count)": "1", - "order": "US-2017-133361", - "row": 6459, + "order": null, + "row": 8425, }, Object { "SUM(a.count)": "1", "order": null, - "row": 6459, + "row": 7698, }, Object { "SUM(a.count)": "1", - "order": "US-2017-124779", - "row": 6651, + "order": null, + "row": 7425, }, Object { "SUM(a.count)": "1", "order": null, - "row": 6651, + "row": 7310, }, Object { "SUM(a.count)": "1", - "order": "US-2017-141677", - "row": 7174, + "order": null, + "row": 7293, }, Object { "SUM(a.count)": "1", @@ -2101,148 +2101,148 @@ Array [ }, Object { "SUM(a.count)": "1", - "order": "CA-2017-109183", - "row": 7293, + "order": null, + "row": 6651, }, Object { "SUM(a.count)": "1", "order": null, - "row": 7293, + "row": 6459, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-112172", - "row": 7310, + "order": null, + "row": 6272, }, Object { "SUM(a.count)": "1", "order": null, - "row": 7310, + "row": 6205, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-135069", - "row": 7425, + "order": null, + "row": 6125, }, Object { "SUM(a.count)": "1", "order": null, - "row": 7425, + "row": 5277, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-151799", - "row": 7698, + "order": null, + "row": 5220, }, Object { "SUM(a.count)": "1", "order": null, - "row": 7698, + "row": 4882, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-150091", - "row": 8425, + "order": null, + "row": 4227, }, Object { "SUM(a.count)": "1", "order": null, - "row": 8425, + "row": 4161, }, Object { "SUM(a.count)": "1", - "order": "US-2017-119319", - "row": 8621, + "order": null, + "row": 4031, }, Object { "SUM(a.count)": "1", "order": null, - "row": 8621, + "row": 4012, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-163265", - "row": 8673, + "order": null, + "row": 3934, }, Object { "SUM(a.count)": "1", "order": null, - "row": 8673, + "row": 3717, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-119284", - "row": 8697, + "order": null, + "row": 3448, }, Object { "SUM(a.count)": "1", "order": null, - "row": 8697, + "row": 3083, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-126928", - "row": 8878, + "order": null, + "row": 3060, }, Object { "SUM(a.count)": "1", "order": null, - "row": 8878, + "row": 3059, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-105620", - "row": 8958, + "order": null, + "row": 2952, }, Object { "SUM(a.count)": "1", "order": null, - "row": 8958, + "row": 2661, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-102925", - "row": 9473, + "order": null, + "row": 2655, }, Object { "SUM(a.count)": "1", "order": null, - "row": 9473, + "row": 2595, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-116127", - "row": 9584, + "order": null, + "row": 2455, }, Object { "SUM(a.count)": "1", "order": null, - "row": 9584, + "row": 2329, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-160633", - "row": 9618, + "order": null, + "row": 1995, }, Object { "SUM(a.count)": "1", "order": null, - "row": 9618, + "row": 1494, }, Object { "SUM(a.count)": "1", - "order": "CA-2017-160633", - "row": 9619, + "order": null, + "row": 1013, }, Object { "SUM(a.count)": "1", "order": null, - "row": 9619, + "row": 849, }, Object { - "SUM(a.count)": "44", + "SUM(a.count)": "1", "order": null, - "row": null, + "row": 523, }, ] `; diff --git a/packages/cubejs-testing-shared/package.json b/packages/cubejs-testing-shared/package.json index 857333bb7dc01..47de7439da699 100644 --- a/packages/cubejs-testing-shared/package.json +++ b/packages/cubejs-testing-shared/package.json @@ -34,7 +34,7 @@ "@jest/globals": "^27", "@types/dedent": "^0.7.0", "@types/jest": "^27", - "@types/node": "^16", + "@types/node": "^18", "jest": "^27", "typescript": "~5.2.2" }, diff --git a/packages/cubejs-testing/package.json b/packages/cubejs-testing/package.json index 33846aa62147c..501e52c78289c 100644 --- a/packages/cubejs-testing/package.json +++ b/packages/cubejs-testing/package.json @@ -114,7 +114,7 @@ "@types/dedent": "^0.7.0", "@types/http-proxy": "^1.17.5", "@types/jest": "^27", - "@types/node": "^16", + "@types/node": "^18", "cypress": "6.9.1", "cypress-image-snapshot": "^4.0.1", "cypress-localstorage-commands": "^1.4.5", diff --git a/packages/cubejs-testing/test/smoke-lambda.test.ts b/packages/cubejs-testing/test/smoke-lambda.test.ts index 05369fec8197e..a76955541bc5d 100644 --- a/packages/cubejs-testing/test/smoke-lambda.test.ts +++ b/packages/cubejs-testing/test/smoke-lambda.test.ts @@ -1,4 +1,3 @@ -import R from 'ramda'; import { StartedTestContainer, Network, StartedNetwork } from 'testcontainers'; import { pausePromise } from '@cubejs-backend/shared'; import fetch from 'node-fetch'; @@ -17,15 +16,6 @@ import { const CubeStoreDriver = require('@cubejs-backend/cubestore-driver'); const PostgresDriver = require('@cubejs-backend/postgres-driver'); -async function runScheduledRefresh(client: any) { - return client.loadMethod( - () => client.request('run-scheduled-refresh'), - (response: any) => response, - {}, - undefined - ); -} - describe('lambda', () => { jest.setTimeout(60 * 5 * 1000); @@ -121,7 +111,7 @@ describe('lambda', () => { 'req-1', 'req-stream-2' ]); - + // @ts-ignore expect(response.loadResponse.results[0].data.length).toEqual(3); }); @@ -323,10 +313,6 @@ describe('lambda', () => { ); }); - test('refresh', async () => { - await runScheduledRefresh(client); - }); - it('Pre-aggregations API', async () => { const preAggs = await fetch(`${birdbox.configuration.playgroundUrl}/cubejs-system/v1/pre-aggregations`, { method: 'GET', diff --git a/rust/cubesql/cubesql/e2e/tests/postgres.rs b/rust/cubesql/cubesql/e2e/tests/postgres.rs index cc1f64ac7683d..d0ed86409bef8 100644 --- a/rust/cubesql/cubesql/e2e/tests/postgres.rs +++ b/rust/cubesql/cubesql/e2e/tests/postgres.rs @@ -1167,7 +1167,8 @@ impl AsyncTestSuite for PostgresIntegrationTestSuite { self.test_simple_cursors_close_all().await?; self.test_simple_query_prepare().await?; self.test_snapshot_execute_query( - "SELECT COUNT(*) count, status FROM Orders GROUP BY status".to_string(), + "SELECT COUNT(*) count, status FROM Orders GROUP BY status ORDER BY count DESC" + .to_string(), None, false, ) diff --git a/rust/cubesql/cubesql/e2e/tests/snapshots/e2e__tests__postgres__select_count(asterisk)_count_status_from_orders_group_by_status.snap b/rust/cubesql/cubesql/e2e/tests/snapshots/e2e__tests__postgres__select_count(asterisk)_count_status_from_orders_group_by_status_order_by_count_desc.snap similarity index 93% rename from rust/cubesql/cubesql/e2e/tests/snapshots/e2e__tests__postgres__select_count(asterisk)_count_status_from_orders_group_by_status.snap rename to rust/cubesql/cubesql/e2e/tests/snapshots/e2e__tests__postgres__select_count(asterisk)_count_status_from_orders_group_by_status_order_by_count_desc.snap index a458b2cf5a7ba..49b52cc1d2202 100644 --- a/rust/cubesql/cubesql/e2e/tests/snapshots/e2e__tests__postgres__select_count(asterisk)_count_status_from_orders_group_by_status.snap +++ b/rust/cubesql/cubesql/e2e/tests/snapshots/e2e__tests__postgres__select_count(asterisk)_count_status_from_orders_group_by_status_order_by_count_desc.snap @@ -1,6 +1,5 @@ --- source: cubesql/e2e/tests/postgres.rs -assertion_line: 297 expression: "self.print_query_result(res, with_description, true).await" --- +-------+------------+ diff --git a/rust/cubesql/cubesql/src/compile/mod.rs b/rust/cubesql/cubesql/src/compile/mod.rs index 051e4a98126d8..d517a2ff65369 100644 --- a/rust/cubesql/cubesql/src/compile/mod.rs +++ b/rust/cubesql/cubesql/src/compile/mod.rs @@ -80,7 +80,7 @@ mod tests { segments: Some(vec![]), dimensions: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -124,7 +124,7 @@ mod tests { "MultiTypeCube.dim_num2".to_string(), ]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -163,7 +163,7 @@ mod tests { "MultiTypeCube.dim_str1".to_string(), ]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -186,7 +186,7 @@ mod tests { segments: Some(vec![]), dimensions: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -209,7 +209,7 @@ mod tests { segments: Some(vec![]), dimensions: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -237,7 +237,7 @@ mod tests { segments: Some(vec![]), dimensions: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -269,7 +269,7 @@ mod tests { segments: Some(vec![]), dimensions: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -308,7 +308,7 @@ mod tests { segments: Some(vec![]), dimensions: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { @@ -343,7 +343,7 @@ mod tests { segments: Some(vec![]), dimensions: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { @@ -995,7 +995,7 @@ mod tests { "KibanaSampleDataEcommerce.taxful_total_price".to_string() ]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { @@ -1030,7 +1030,7 @@ mod tests { segments: Some(vec![]), dimensions: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -1126,7 +1126,7 @@ mod tests { segments: Some(vec!["KibanaSampleDataEcommerce.is_female".to_string()]), dimensions: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { @@ -1153,7 +1153,7 @@ mod tests { segments: Some(vec![]), dimensions: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: Some(vec![ @@ -1196,7 +1196,7 @@ mod tests { "KibanaSampleDataEcommerce.taxful_total_price".to_string() ]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { @@ -1254,7 +1254,7 @@ mod tests { "2022-04-01T00:00:00.000Z".to_string() ])) }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -1536,7 +1536,7 @@ ORDER BY \"COUNT(count)\" DESC" segments: Some(vec![]), dimensions: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { @@ -1623,7 +1623,7 @@ ORDER BY \"COUNT(count)\" DESC" segments: Some(vec![]), dimensions: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { @@ -1675,7 +1675,7 @@ ORDER BY \"COUNT(count)\" DESC" granularity: Some("month".to_string()), date_range: None, }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -1701,7 +1701,7 @@ ORDER BY \"COUNT(count)\" DESC" segments: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -1731,7 +1731,7 @@ ORDER BY \"COUNT(count)\" DESC" granularity: Some("year".to_string()), date_range: None, }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -1756,7 +1756,7 @@ ORDER BY \"COUNT(count)\" DESC" granularity: Some("year".to_string()), date_range: None, }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -1786,7 +1786,7 @@ ORDER BY \"COUNT(count)\" DESC" granularity: Some("week".to_string()), date_range: None, }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -1812,7 +1812,7 @@ ORDER BY \"COUNT(count)\" DESC" segments: Some(vec![]), dimensions: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { @@ -1844,7 +1844,7 @@ ORDER BY \"COUNT(count)\" DESC" segments: Some(vec![]), dimensions: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { @@ -1876,7 +1876,7 @@ ORDER BY \"COUNT(count)\" DESC" segments: Some(vec![]), dimensions: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { @@ -1922,7 +1922,7 @@ GROUP BY segments: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.order_date".to_string()]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -1981,7 +1981,7 @@ GROUP BY dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: Some(1000001), offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { @@ -2041,7 +2041,7 @@ GROUP BY date_range: None, }, ]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -2095,7 +2095,7 @@ GROUP BY "2022-06-12T23:59:59.999Z".to_string() ])), }]), - order: None, + order: Some(vec![]), limit: Some(1000001), offset: None, filters: None, @@ -2206,7 +2206,7 @@ limit dimensions: Some(vec!["WideCube.dim1".to_string()]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: Some(1000001), offset: None, filters: Some(vec![ @@ -2401,7 +2401,7 @@ limit date_range: None, } ]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -2553,7 +2553,7 @@ from // dimensions: Some(vec![]), // segments: Some(vec![]), // time_dimensions: None, - // order: None, + // order: Some(vec![]), // limit: None, // offset: None, // filters: None, @@ -2580,7 +2580,7 @@ from dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: Some(1000001), offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { @@ -2628,7 +2628,7 @@ from dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -2682,7 +2682,7 @@ from // dimensions: Some(vec!["Logs.content".to_string()]), // segments: Some(vec![]), // time_dimensions: None, - // order: None, + // order: Some(vec![]), // limit: Some(1000001), // offset: None, // filters: Some(vec![V1LoadRequestQueryFilterItem { @@ -2702,7 +2702,7 @@ from dimensions: Some(vec!["Logs.content".to_string()]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -2774,7 +2774,7 @@ limit "2024-01-01T00:00:00.000Z".to_string() ])), }]), - order: None, + order: Some(vec![]), limit: Some(1000001), offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { @@ -2842,7 +2842,7 @@ limit dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: Some(1000001), offset: None, filters: None, @@ -2913,7 +2913,7 @@ limit // "2024-01-01T00:00:00.000Z".to_string() // ])), // }]), - // order: None, + // order: Some(vec![]), // limit: Some(1000001), // offset: None, // filters: Some(vec![V1LoadRequestQueryFilterItem { @@ -2938,7 +2938,7 @@ limit dimensions: Some(vec![]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -2952,7 +2952,7 @@ limit dimensions: Some(vec![]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -2966,7 +2966,7 @@ limit dimensions: Some(vec![]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -2980,7 +2980,7 @@ limit dimensions: Some(vec![]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -2994,7 +2994,7 @@ limit dimensions: Some(vec![]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -3008,7 +3008,7 @@ limit dimensions: Some(vec![]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -3022,7 +3022,7 @@ limit dimensions: Some(vec![]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -3062,7 +3062,7 @@ limit dimensions: Some(vec![]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -3209,7 +3209,7 @@ limit granularity: Some(expected_granularity.to_string()), date_range: None, }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -3263,7 +3263,7 @@ limit granularity: Some("quarter".to_string()), date_range: None, }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -4959,7 +4959,7 @@ limit segments: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: Some(1000), offset: None, filters: None, @@ -5028,7 +5028,7 @@ ORDER BY "ca_4" ASC segments: Some(vec![]), dimensions: Some(vec!["Logs.read".to_string()]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -5092,7 +5092,7 @@ ORDER BY granularity: Some("month".to_string()), date_range: None, }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -5131,7 +5131,7 @@ ORDER BY granularity: Some("quarter".to_string()), date_range: None, }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -5216,7 +5216,7 @@ ORDER BY granularity: Some("day".to_string()), date_range: None, }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -5257,7 +5257,7 @@ ORDER BY granularity: Some("year".to_string()), date_range: None, }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -5304,7 +5304,7 @@ ORDER BY segments: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: Some(1000), offset: None, filters: None, @@ -6734,7 +6734,7 @@ ORDER BY granularity: Some("day".to_string()), date_range: None, }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -6814,6 +6814,7 @@ ORDER BY MIN(month_count) min_month_count FROM count_by_month GROUP BY quarter0 + ORDER BY quarter0 ASC "#; let expected_cube_scan = V1LoadRequestQuery { @@ -6825,7 +6826,7 @@ ORDER BY granularity: Some("month".to_string()), date_range: None, }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -6934,7 +6935,7 @@ ORDER BY granularity: Some("day".to_string()), date_range: None, }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -7213,7 +7214,7 @@ ORDER BY segments: Some(vec![]), dimensions: Some(vec!["KibanaSampleDataEcommerce.order_date".to_string()]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -7483,7 +7484,7 @@ ORDER BY dimensions: Some(vec![]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { @@ -7567,7 +7568,7 @@ ORDER BY dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: Some(1000), offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { @@ -7789,7 +7790,7 @@ ORDER BY "source"."str0" ASC granularity: Some("year".to_owned()), date_range: None }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -8034,7 +8035,7 @@ ORDER BY "source"."str0" ASC ]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -8257,7 +8258,7 @@ ORDER BY "source"."str0" ASC granularity: Some("week".to_string()), date_range: None, },]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -8354,7 +8355,7 @@ ORDER BY "source"."str0" ASC granularity: Some(expected_granularity.to_string()), date_range: None, }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -8441,7 +8442,7 @@ ORDER BY "source"."str0" ASC "2022-07-11T19:00:00.000Z".to_string() ])), }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -8481,7 +8482,7 @@ ORDER BY "source"."str0" ASC granularity: Some("second".to_string()), date_range: None, }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { @@ -8536,7 +8537,7 @@ ORDER BY "source"."str0" ASC granularity: Some(granularity.to_string()), date_range: None, }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -8808,7 +8809,7 @@ ORDER BY "source"."str0" ASC dimensions: Some(vec!["KibanaSampleDataEcommerce.order_date".to_string()]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: Some(50000), offset: None, filters: None, @@ -8829,7 +8830,7 @@ ORDER BY "source"."str0" ASC dimensions: Some(vec!["KibanaSampleDataEcommerce.order_date".to_string()]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: Some(200), offset: Some(200), filters: None, @@ -8897,7 +8898,7 @@ ORDER BY "source"."str0" ASC granularity: Some(granularity.to_string()), date_range: None }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -8943,7 +8944,7 @@ ORDER BY "source"."str0" ASC dimensions: Some(vec![]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -8981,7 +8982,7 @@ ORDER BY "source"."str0" ASC granularity: Some("month".to_owned()), date_range: None }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -9089,7 +9090,7 @@ ORDER BY "source"."str0" ASC dimensions: Some(vec![]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -9108,7 +9109,7 @@ ORDER BY "source"."str0" ASC dimensions: Some(vec![]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -9171,7 +9172,7 @@ ORDER BY "source"."str0" ASC dimensions: Some(vec![]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -9193,7 +9194,7 @@ ORDER BY "source"."str0" ASC granularity: Some("quarter".to_string()), date_range: None, }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -9428,7 +9429,7 @@ ORDER BY "source"."str0" ASC dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { @@ -9470,7 +9471,7 @@ ORDER BY "source"."str0" ASC dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { @@ -9516,7 +9517,7 @@ ORDER BY "source"."str0" ASC dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { @@ -9563,7 +9564,7 @@ ORDER BY "source"."str0" ASC dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: Some(vec![ @@ -9617,7 +9618,7 @@ ORDER BY "source"."str0" ASC dimensions: Some(vec![]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { @@ -9662,7 +9663,7 @@ ORDER BY "source"."str0" ASC dimensions: Some(vec![]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { @@ -9711,7 +9712,7 @@ ORDER BY "source"."str0" ASC dimensions: Some(vec![]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { @@ -9761,7 +9762,7 @@ ORDER BY "source"."str0" ASC dimensions: Some(vec![]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: Some(vec![ @@ -9818,7 +9819,7 @@ ORDER BY "source"."str0" ASC "2019-12-31".to_string(), ])), },]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -9994,7 +9995,7 @@ ORDER BY "source"."str0" ASC dimensions: Some(vec![]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -10021,7 +10022,7 @@ ORDER BY "source"."str0" ASC segments: Some(vec![]), dimensions: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { @@ -10061,7 +10062,7 @@ ORDER BY "source"."str0" ASC dimensions: Some(vec![]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -11006,7 +11007,7 @@ ORDER BY "source"."str0" ASC }) .collect::>() ), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -11144,7 +11145,7 @@ ORDER BY "source"."str0" ASC granularity: Some("month".to_owned()), date_range: None }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { @@ -11553,7 +11554,7 @@ ORDER BY "source"."str0" ASC granularity: Some("month".to_string()), date_range: None, }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -11615,7 +11616,7 @@ ORDER BY "source"."str0" ASC granularity: Some("month".to_string()), date_range: None, }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -11782,7 +11783,7 @@ ORDER BY "source"."str0" ASC "2022-11-15T23:59:59.999Z".to_string(), ])) }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { @@ -11840,7 +11841,7 @@ ORDER BY "source"."str0" ASC dimensions: Some(vec!["KibanaSampleDataEcommerce.order_date".to_string()]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { @@ -11887,7 +11888,7 @@ ORDER BY "source"."str0" ASC dimensions: Some(vec!["KibanaSampleDataEcommerce.order_date".to_string()]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: Some(10001), offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { @@ -12309,7 +12310,7 @@ ORDER BY "source"."str0" ASC ]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -12398,7 +12399,7 @@ ORDER BY "source"."str0" ASC ]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -12438,7 +12439,7 @@ ORDER BY "source"."str0" ASC ]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -12479,7 +12480,7 @@ ORDER BY "source"."str0" ASC ]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -12556,7 +12557,7 @@ ORDER BY "source"."str0" ASC dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { @@ -12640,7 +12641,7 @@ ORDER BY "source"."str0" ASC dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -12677,7 +12678,7 @@ ORDER BY "source"."str0" ASC granularity: Some("day".to_string()), date_range: None }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -12721,7 +12722,7 @@ ORDER BY "source"."str0" ASC granularity: Some("month".to_string()), date_range: None }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -12765,7 +12766,7 @@ ORDER BY "source"."str0" ASC date_range: None }, ]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -12801,7 +12802,7 @@ ORDER BY "source"."str0" ASC dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -12835,7 +12836,7 @@ ORDER BY "source"."str0" ASC ]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -12903,7 +12904,7 @@ ORDER BY "source"."str0" ASC ]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -13022,7 +13023,7 @@ ORDER BY "source"."str0" ASC granularity: Some("day".to_string()), date_range: None }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -13242,7 +13243,7 @@ ORDER BY "source"."str0" ASC granularity: Some("week".to_string()), date_range: None }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -13288,7 +13289,7 @@ ORDER BY "source"."str0" ASC ]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -13370,7 +13371,7 @@ ORDER BY "source"."str0" ASC granularity: Some("quarter".to_owned()), date_range: None }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -13415,7 +13416,7 @@ ORDER BY "source"."str0" ASC granularity: Some("month".to_string()), date_range: None }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -13544,7 +13545,7 @@ ORDER BY "source"."str0" ASC dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -13585,7 +13586,7 @@ ORDER BY "source"."str0" ASC ]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -13763,7 +13764,7 @@ ORDER BY "source"."str0" ASC granularity: Some("month".to_string()), date_range: None }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -13883,7 +13884,7 @@ ORDER BY "source"."str0" ASC granularity: Some("year".to_string()), date_range: None, }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -13953,7 +13954,7 @@ ORDER BY "source"."str0" ASC // Order and Limit and nearly pushed to CubeScan but the Projection // before TableScan is a post-processing projection. // Splitting such projections into two may be a good idea. - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -14077,7 +14078,7 @@ ORDER BY "source"."str0" ASC "2022-11-20T23:59:59.999Z".to_string(), ])) }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -15100,7 +15101,7 @@ ORDER BY "source"."str0" ASC segments: Some(vec![]), dimensions: Some(vec!["MultiTypeCube.dim_date0".to_string()]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -15185,7 +15186,7 @@ ORDER BY "source"."str0" ASC granularity: Some(expected_granularity.to_string()), date_range: None, }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -15234,7 +15235,7 @@ ORDER BY "source"."str0" ASC segments: Some(vec![]), dimensions: Some(vec!["MultiTypeCube.dim_date0".to_string()]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -15318,7 +15319,7 @@ ORDER BY "source"."str0" ASC granularity: Some(expected_granularity.to_string()), date_range: None, }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -15368,7 +15369,7 @@ ORDER BY "source"."str0" ASC segments: Some(vec![]), dimensions: Some(vec!["MultiTypeCube.dim_str0".to_string()]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -15481,7 +15482,7 @@ ORDER BY "source"."str0" ASC segments: Some(vec![]), dimensions: Some(vec!["MultiTypeCube.dim_str0".to_string()]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -15809,7 +15810,7 @@ ORDER BY "source"."str0" ASC granularity: Some("quarter".to_string()), date_range: None, }]), - order: None, + order: Some(vec![]), limit: Some(1000), offset: None, filters: None, @@ -15847,7 +15848,7 @@ ORDER BY "source"."str0" ASC granularity: Some("month".to_string()), date_range: None, }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -15888,7 +15889,7 @@ ORDER BY "source"."str0" ASC granularity: Some("month".to_string()), date_range: None, }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -15959,7 +15960,7 @@ ORDER BY "source"."str0" ASC date_range: None, } ]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -16000,7 +16001,7 @@ ORDER BY "source"."str0" ASC granularity: Some("day".to_string()), date_range: None, }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -16062,7 +16063,7 @@ ORDER BY "source"."str0" ASC ]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -16104,7 +16105,7 @@ ORDER BY "source"."str0" ASC ]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: Some(25000), offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { @@ -16159,7 +16160,7 @@ ORDER BY "source"."str0" ASC "2020-01-01".to_string(), ])), }]), - order: None, + order: Some(vec![]), limit: Some(25000), offset: None, filters: None, @@ -16201,7 +16202,7 @@ ORDER BY "source"."str0" ASC ]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: Some(25000), offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { @@ -16344,7 +16345,7 @@ ORDER BY "source"."str0" ASC granularity: Some("day".to_string()), date_range: None, }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -16446,7 +16447,7 @@ ORDER BY "source"."str0" ASC dimensions: Some(vec!["KibanaSampleDataEcommerce.order_date".to_string()]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -16576,7 +16577,7 @@ ORDER BY "source"."str0" ASC ]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -17037,7 +17038,7 @@ ORDER BY "source"."str0" ASC granularity: Some("year".to_string()), date_range: None, }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -17237,7 +17238,7 @@ LIMIT {{ limit }}{% endif %}"#.to_string(), ]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { @@ -17542,7 +17543,7 @@ LIMIT {{ limit }}{% endif %}"#.to_string(), granularity: Some("day".to_owned()), date_range: None }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { @@ -17620,7 +17621,7 @@ LIMIT {{ limit }}{% endif %}"#.to_string(), "2023-12-31 23:59:59.999".to_string() ])), }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -17668,7 +17669,7 @@ LIMIT {{ limit }}{% endif %}"#.to_string(), granularity: Some("quarter".to_string()), date_range: None }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { @@ -17872,7 +17873,7 @@ LIMIT {{ limit }}{% endif %}"#.to_string(), date_range: None }, ]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -17926,7 +17927,7 @@ LIMIT {{ limit }}{% endif %}"#.to_string(), "2024-12-31T23:59:59.999Z".to_string(), ])), },]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -17969,7 +17970,7 @@ LIMIT {{ limit }}{% endif %}"#.to_string(), ]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: Some(500), offset: None, filters: None, @@ -18105,7 +18106,7 @@ LIMIT {{ limit }}{% endif %}"#.to_string(), ]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -18156,7 +18157,7 @@ LIMIT {{ limit }}{% endif %}"#.to_string(), "2019-01-31T23:59:59.999Z".to_string() ])) }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: Some(vec![ @@ -18242,7 +18243,7 @@ LIMIT {{ limit }}{% endif %}"#.to_string(), "2019-01-01T00:00:00.000Z".to_string() ])) }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -18406,7 +18407,7 @@ LIMIT {{ limit }}{% endif %}"#.to_string(), "2024-02-29".to_string() ])) }]), - order: None, + order: Some(vec![]), limit: None, offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { diff --git a/rust/cubesql/cubesql/src/compile/rewrite/converter.rs b/rust/cubesql/cubesql/src/compile/rewrite/converter.rs index 32fb6ec754778..fd908d44d21a9 100644 --- a/rust/cubesql/cubesql/src/compile/rewrite/converter.rs +++ b/rust/cubesql/cubesql/src/compile/rewrite/converter.rs @@ -2045,12 +2045,9 @@ impl LanguageToLogicalPlanConverter { query.order = if !query_order.is_empty() { Some(query_order) } else { - // Probably if no order was specified in client SQL, + // If no order was specified in client SQL, // there should be no order implicitly added. - // But this is a breaking change. So for now, - // only for ungrouped queries no implicit order is added - // and there is an env flag: CUBESQL_SQL_NO_IMPLICIT_ORDER - // in case when it is set to true - no implicit order is + // in case when CUBESQL_SQL_NO_IMPLICIT_ORDER it is set to true - no implicit order is // added for all queries. // We need to return empty array so the processing in // BaseQuery.js won't automatically add default order diff --git a/rust/cubesql/cubesql/src/compile/test/test_bi_workarounds.rs b/rust/cubesql/cubesql/src/compile/test/test_bi_workarounds.rs index 19e9b5b30b06f..fc8d990339dcc 100644 --- a/rust/cubesql/cubesql/src/compile/test/test_bi_workarounds.rs +++ b/rust/cubesql/cubesql/src/compile/test/test_bi_workarounds.rs @@ -44,7 +44,7 @@ async fn test_powerbi_count_distinct_with_max_case() { dimensions: Some(vec!["KibanaSampleDataEcommerce.customer_gender".to_string()]), segments: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: Some(1000001), offset: None, filters: None, diff --git a/rust/cubesql/cubesql/src/compile/test/test_user_change.rs b/rust/cubesql/cubesql/src/compile/test/test_user_change.rs index 87585ad463298..f59c8b2ff4cb1 100644 --- a/rust/cubesql/cubesql/src/compile/test/test_user_change.rs +++ b/rust/cubesql/cubesql/src/compile/test/test_user_change.rs @@ -33,7 +33,7 @@ async fn test_change_user_via_filter() { segments: Some(vec![]), dimensions: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -64,7 +64,7 @@ async fn test_change_user_via_in_filter() { segments: Some(vec![]), dimensions: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -88,7 +88,7 @@ async fn test_change_user_via_in_filter_thoughtspot() { segments: Some(vec![]), dimensions: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: None, @@ -129,7 +129,7 @@ async fn test_change_user_via_filter_and() { segments: Some(vec![]), dimensions: Some(vec![]), time_dimensions: None, - order: None, + order: Some(vec![]), limit: None, offset: None, filters: Some(vec![V1LoadRequestQueryFilterItem { diff --git a/rust/cubesql/cubesql/src/config/mod.rs b/rust/cubesql/cubesql/src/config/mod.rs index 1f73528e00df1..19c4110f894b1 100644 --- a/rust/cubesql/cubesql/src/config/mod.rs +++ b/rust/cubesql/cubesql/src/config/mod.rs @@ -168,7 +168,7 @@ impl ConfigObjImpl { stream_mode: env_parse("CUBESQL_STREAM_MODE", false), non_streaming_query_max_row_limit: env_parse("CUBEJS_DB_QUERY_LIMIT", 50000), max_sessions: env_parse("CUBEJS_MAX_SESSIONS", 1024), - no_implicit_order: env_parse("CUBESQL_SQL_NO_IMPLICIT_ORDER", false), + no_implicit_order: env_parse("CUBESQL_SQL_NO_IMPLICIT_ORDER", true), } } } @@ -266,7 +266,7 @@ impl Config { stream_mode: false, non_streaming_query_max_row_limit: 50000, max_sessions: 1024, - no_implicit_order: false, + no_implicit_order: true, }), } } diff --git a/yarn.lock b/yarn.lock index aa862e187d12b..a00ea7917347b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -13,9 +13,9 @@ integrity sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA== "@achrinza/node-ipc@^9.2.5": - version "9.2.8" - resolved "https://registry.yarnpkg.com/@achrinza/node-ipc/-/node-ipc-9.2.8.tgz#aabfe9fe84406c90bfb7319d5e68b5b517dd8686" - integrity sha512-DSzEEkbMYbAUVlhy7fg+BzccoRuSQzqHbIPGxGv19OJ2WKwS3/9ChAnQcII4g+GujcHhyJ8BUuOVAx/S5uAfQg== + version "9.2.9" + resolved "https://registry.yarnpkg.com/@achrinza/node-ipc/-/node-ipc-9.2.9.tgz#ab4815d9b16f1c83a479fe8791522a3abebb1c6a" + integrity sha512-7s0VcTwiK/0tNOVdSX9FWMeFdOEcsAOz9HesBldXxFMaGvIak7KC2z9tV9EgsQXn6KUsWsfIkViMNuIo0GoZDQ== dependencies: "@node-ipc/js-queue" "2.0.3" event-pubsub "4.3.0" @@ -316,684 +316,664 @@ resolved "https://registry.yarnpkg.com/@assemblyscript/loader/-/loader-0.10.1.tgz#70e45678f06c72fa2e350e8553ec4a4d72b92e06" integrity sha512-H71nDOOL8Y7kWRLqf6Sums+01Q5msqBW2KhDUTemh1tvY04eSkSXrK0uj/4mmY0Xr16/3zyZmsrxN7CKuRbNRg== -"@aws-crypto/crc32@3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@aws-crypto/crc32/-/crc32-3.0.0.tgz#07300eca214409c33e3ff769cd5697b57fdd38fa" - integrity sha512-IzSgsrxUcsrejQbPVilIKy16kAT52EwB6zSaI+M3xxIhKh5+aldEyvI+z6erM7TCLB2BJsFrtHjp6/4/sr+3dA== +"@aws-crypto/crc32@5.2.0": + version "5.2.0" + resolved "https://registry.yarnpkg.com/@aws-crypto/crc32/-/crc32-5.2.0.tgz#cfcc22570949c98c6689cfcbd2d693d36cdae2e1" + integrity sha512-nLbCWqQNgUiwwtFsen1AdzAtvuLRsQS8rYgMuxCrdKf9kOssamGLuPwyTY9wyYblNr9+1XM8v6zoDTPPSIeANg== dependencies: - "@aws-crypto/util" "^3.0.0" + "@aws-crypto/util" "^5.2.0" "@aws-sdk/types" "^3.222.0" - tslib "^1.11.1" + tslib "^2.6.2" -"@aws-crypto/crc32c@3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@aws-crypto/crc32c/-/crc32c-3.0.0.tgz#016c92da559ef638a84a245eecb75c3e97cb664f" - integrity sha512-ENNPPManmnVJ4BTXlOjAgD7URidbAznURqD0KvfREyc4o20DPYdEldU1f5cQ7Jbj0CJJSPaMIk/9ZshdB3210w== +"@aws-crypto/crc32c@5.2.0": + version "5.2.0" + resolved "https://registry.yarnpkg.com/@aws-crypto/crc32c/-/crc32c-5.2.0.tgz#4e34aab7f419307821509a98b9b08e84e0c1917e" + integrity sha512-+iWb8qaHLYKrNvGRbiYRHSdKRWhto5XlZUEBwDjYNf+ly5SVYG6zEoYIdxvf5R3zyeP16w4PLBn3rH1xc74Rag== dependencies: - "@aws-crypto/util" "^3.0.0" + "@aws-crypto/util" "^5.2.0" "@aws-sdk/types" "^3.222.0" - tslib "^1.11.1" - -"@aws-crypto/ie11-detection@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@aws-crypto/ie11-detection/-/ie11-detection-3.0.0.tgz#640ae66b4ec3395cee6a8e94ebcd9f80c24cd688" - integrity sha512-341lBBkiY1DfDNKai/wXM3aujNBkXR7tq1URPQDL9wi3AUbI80NR74uF1TXHMm7po1AcnFk8iu2S2IeU/+/A+Q== - dependencies: - tslib "^1.11.1" + tslib "^2.6.2" -"@aws-crypto/sha1-browser@3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@aws-crypto/sha1-browser/-/sha1-browser-3.0.0.tgz#f9083c00782b24714f528b1a1fef2174002266a3" - integrity sha512-NJth5c997GLHs6nOYTzFKTbYdMNA6/1XlKVgnZoaZcQ7z7UJlOgj2JdbHE8tiYLS3fzXNCguct77SPGat2raSw== +"@aws-crypto/sha1-browser@5.2.0": + version "5.2.0" + resolved "https://registry.yarnpkg.com/@aws-crypto/sha1-browser/-/sha1-browser-5.2.0.tgz#b0ee2d2821d3861f017e965ef3b4cb38e3b6a0f4" + integrity sha512-OH6lveCFfcDjX4dbAvCFSYUjJZjDr/3XJ3xHtjn3Oj5b9RjojQo8npoLeA/bNwkOkrSQ0wgrHzXk4tDRxGKJeg== dependencies: - "@aws-crypto/ie11-detection" "^3.0.0" - "@aws-crypto/supports-web-crypto" "^3.0.0" - "@aws-crypto/util" "^3.0.0" + "@aws-crypto/supports-web-crypto" "^5.2.0" + "@aws-crypto/util" "^5.2.0" "@aws-sdk/types" "^3.222.0" "@aws-sdk/util-locate-window" "^3.0.0" - "@aws-sdk/util-utf8-browser" "^3.0.0" - tslib "^1.11.1" + "@smithy/util-utf8" "^2.0.0" + tslib "^2.6.2" -"@aws-crypto/sha256-browser@3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@aws-crypto/sha256-browser/-/sha256-browser-3.0.0.tgz#05f160138ab893f1c6ba5be57cfd108f05827766" - integrity sha512-8VLmW2B+gjFbU5uMeqtQM6Nj0/F1bro80xQXCW6CQBWgosFWXTx77aeOF5CAIAmbOK64SdMBJdNr6J41yP5mvQ== +"@aws-crypto/sha256-browser@5.2.0": + version "5.2.0" + resolved "https://registry.yarnpkg.com/@aws-crypto/sha256-browser/-/sha256-browser-5.2.0.tgz#153895ef1dba6f9fce38af550e0ef58988eb649e" + integrity sha512-AXfN/lGotSQwu6HNcEsIASo7kWXZ5HYWvfOmSNKDsEqC4OashTp8alTmaz+F7TC2L083SFv5RdB+qU3Vs1kZqw== dependencies: - "@aws-crypto/ie11-detection" "^3.0.0" - "@aws-crypto/sha256-js" "^3.0.0" - "@aws-crypto/supports-web-crypto" "^3.0.0" - "@aws-crypto/util" "^3.0.0" + "@aws-crypto/sha256-js" "^5.2.0" + "@aws-crypto/supports-web-crypto" "^5.2.0" + "@aws-crypto/util" "^5.2.0" "@aws-sdk/types" "^3.222.0" "@aws-sdk/util-locate-window" "^3.0.0" - "@aws-sdk/util-utf8-browser" "^3.0.0" - tslib "^1.11.1" + "@smithy/util-utf8" "^2.0.0" + tslib "^2.6.2" -"@aws-crypto/sha256-js@3.0.0", "@aws-crypto/sha256-js@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@aws-crypto/sha256-js/-/sha256-js-3.0.0.tgz#f06b84d550d25521e60d2a0e2a90139341e007c2" - integrity sha512-PnNN7os0+yd1XvXAy23CFOmTbMaDxgxXtTKHybrJ39Y8kGzBATgBFibWJKH6BhytLI/Zyszs87xCOBNyBig6vQ== +"@aws-crypto/sha256-js@5.2.0", "@aws-crypto/sha256-js@^5.2.0": + version "5.2.0" + resolved "https://registry.yarnpkg.com/@aws-crypto/sha256-js/-/sha256-js-5.2.0.tgz#c4fdb773fdbed9a664fc1a95724e206cf3860042" + integrity sha512-FFQQyu7edu4ufvIZ+OadFpHHOt+eSTBaYaki44c+akjg7qZg9oOQeLlk77F6tSYqjDAFClrHJk9tMf0HdVyOvA== dependencies: - "@aws-crypto/util" "^3.0.0" + "@aws-crypto/util" "^5.2.0" "@aws-sdk/types" "^3.222.0" - tslib "^1.11.1" + tslib "^2.6.2" -"@aws-crypto/supports-web-crypto@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@aws-crypto/supports-web-crypto/-/supports-web-crypto-3.0.0.tgz#5d1bf825afa8072af2717c3e455f35cda0103ec2" - integrity sha512-06hBdMwUAb2WFTuGG73LSC0wfPu93xWwo5vL2et9eymgmu3Id5vFAHBbajVWiGhPO37qcsdCap/FqXvJGJWPIg== +"@aws-crypto/supports-web-crypto@^5.2.0": + version "5.2.0" + resolved "https://registry.yarnpkg.com/@aws-crypto/supports-web-crypto/-/supports-web-crypto-5.2.0.tgz#a1e399af29269be08e695109aa15da0a07b5b5fb" + integrity sha512-iAvUotm021kM33eCdNfwIN//F77/IADDSs58i+MDaOqFrVjZo9bAal0NK7HurRuWLLpF1iLX7gbWrjHjeo+YFg== dependencies: - tslib "^1.11.1" + tslib "^2.6.2" -"@aws-crypto/util@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@aws-crypto/util/-/util-3.0.0.tgz#1c7ca90c29293f0883468ad48117937f0fe5bfb0" - integrity sha512-2OJlpeJpCR48CC8r+uKVChzs9Iungj9wkZrl8Z041DWEWvyIHILYKCPNzJghKsivj+S3mLo6BVc7mBNzdxA46w== +"@aws-crypto/util@^5.2.0": + version "5.2.0" + resolved "https://registry.yarnpkg.com/@aws-crypto/util/-/util-5.2.0.tgz#71284c9cffe7927ddadac793c14f14886d3876da" + integrity sha512-4RkU9EsI6ZpBve5fseQlGNUWKMa1RLPQ1dnjnQoe07ldfIzcsGb5hC5W0Dm7u423KWzawlrpbjXBrXCEv9zazQ== dependencies: "@aws-sdk/types" "^3.222.0" - "@aws-sdk/util-utf8-browser" "^3.0.0" - tslib "^1.11.1" + "@smithy/util-utf8" "^2.0.0" + tslib "^2.6.2" "@aws-sdk/client-athena@^3.22.0": - version "3.525.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/client-athena/-/client-athena-3.525.0.tgz#4fdbac18f25a8c3127323e6bbcc4aa37b551c085" - integrity sha512-nW6DyqY4CgkpUqgOsCh9xiw8ieMD1UVc+cPhbuQIXgy3pZr3ze3tYsDUYAREpJfhADmG6ylHpa/DJKAI/Yi7YQ== - dependencies: - "@aws-crypto/sha256-browser" "3.0.0" - "@aws-crypto/sha256-js" "3.0.0" - "@aws-sdk/client-sts" "3.525.0" - "@aws-sdk/core" "3.525.0" - "@aws-sdk/credential-provider-node" "3.525.0" - "@aws-sdk/middleware-host-header" "3.523.0" - "@aws-sdk/middleware-logger" "3.523.0" - "@aws-sdk/middleware-recursion-detection" "3.523.0" - "@aws-sdk/middleware-user-agent" "3.525.0" - "@aws-sdk/region-config-resolver" "3.525.0" - "@aws-sdk/types" "3.523.0" - "@aws-sdk/util-endpoints" "3.525.0" - "@aws-sdk/util-user-agent-browser" "3.523.0" - "@aws-sdk/util-user-agent-node" "3.525.0" - "@smithy/config-resolver" "^2.1.4" - "@smithy/core" "^1.3.5" - "@smithy/fetch-http-handler" "^2.4.3" - "@smithy/hash-node" "^2.1.3" - "@smithy/invalid-dependency" "^2.1.3" - "@smithy/middleware-content-length" "^2.1.3" - "@smithy/middleware-endpoint" "^2.4.4" - "@smithy/middleware-retry" "^2.1.4" - "@smithy/middleware-serde" "^2.1.3" - "@smithy/middleware-stack" "^2.1.3" - "@smithy/node-config-provider" "^2.2.4" - "@smithy/node-http-handler" "^2.4.1" - "@smithy/protocol-http" "^3.2.1" - "@smithy/smithy-client" "^2.4.2" - "@smithy/types" "^2.10.1" - "@smithy/url-parser" "^2.1.3" - "@smithy/util-base64" "^2.1.1" - "@smithy/util-body-length-browser" "^2.1.1" - "@smithy/util-body-length-node" "^2.2.1" - "@smithy/util-defaults-mode-browser" "^2.1.4" - "@smithy/util-defaults-mode-node" "^2.2.3" - "@smithy/util-endpoints" "^1.1.4" - "@smithy/util-middleware" "^2.1.3" - "@smithy/util-retry" "^2.1.3" - "@smithy/util-utf8" "^2.1.1" - tslib "^2.5.0" + version "3.650.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/client-athena/-/client-athena-3.650.0.tgz#9b6cfd0a5ffda4739ae3ce3e9266c45b0072df8e" + integrity sha512-Cyq16h4DxBBRxXTdYDLzje1zJMb2e2DL2vkhKhp/KEh71FZzyr9DqeJCXvxTYvRnqvAp39huh9zQLiXoIwnLmQ== + dependencies: + "@aws-crypto/sha256-browser" "5.2.0" + "@aws-crypto/sha256-js" "5.2.0" + "@aws-sdk/client-sso-oidc" "3.650.0" + "@aws-sdk/client-sts" "3.650.0" + "@aws-sdk/core" "3.649.0" + "@aws-sdk/credential-provider-node" "3.650.0" + "@aws-sdk/middleware-host-header" "3.649.0" + "@aws-sdk/middleware-logger" "3.649.0" + "@aws-sdk/middleware-recursion-detection" "3.649.0" + "@aws-sdk/middleware-user-agent" "3.649.0" + "@aws-sdk/region-config-resolver" "3.649.0" + "@aws-sdk/types" "3.649.0" + "@aws-sdk/util-endpoints" "3.649.0" + "@aws-sdk/util-user-agent-browser" "3.649.0" + "@aws-sdk/util-user-agent-node" "3.649.0" + "@smithy/config-resolver" "^3.0.6" + "@smithy/core" "^2.4.1" + "@smithy/fetch-http-handler" "^3.2.5" + "@smithy/hash-node" "^3.0.4" + "@smithy/invalid-dependency" "^3.0.4" + "@smithy/middleware-content-length" "^3.0.6" + "@smithy/middleware-endpoint" "^3.1.1" + "@smithy/middleware-retry" "^3.0.16" + "@smithy/middleware-serde" "^3.0.4" + "@smithy/middleware-stack" "^3.0.4" + "@smithy/node-config-provider" "^3.1.5" + "@smithy/node-http-handler" "^3.2.0" + "@smithy/protocol-http" "^4.1.1" + "@smithy/smithy-client" "^3.3.0" + "@smithy/types" "^3.4.0" + "@smithy/url-parser" "^3.0.4" + "@smithy/util-base64" "^3.0.0" + "@smithy/util-body-length-browser" "^3.0.0" + "@smithy/util-body-length-node" "^3.0.0" + "@smithy/util-defaults-mode-browser" "^3.0.16" + "@smithy/util-defaults-mode-node" "^3.0.16" + "@smithy/util-endpoints" "^2.1.0" + "@smithy/util-middleware" "^3.0.4" + "@smithy/util-retry" "^3.0.4" + "@smithy/util-utf8" "^3.0.0" + tslib "^2.6.2" uuid "^9.0.1" "@aws-sdk/client-s3@^3.17.0", "@aws-sdk/client-s3@^3.49.0": - version "3.525.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/client-s3/-/client-s3-3.525.0.tgz#965ed5b70c067d74c7a3c4aea26dfce53db4cd06" - integrity sha512-hoMGH8G9rezZDiJPsMjsyRVNfVHHa4u6lcZ09SQMmtFHWK0FUcC0DIKR5ripV5qGDbnV54i2JotXlLzAv0aNCQ== - dependencies: - "@aws-crypto/sha1-browser" "3.0.0" - "@aws-crypto/sha256-browser" "3.0.0" - "@aws-crypto/sha256-js" "3.0.0" - "@aws-sdk/client-sts" "3.525.0" - "@aws-sdk/core" "3.525.0" - "@aws-sdk/credential-provider-node" "3.525.0" - "@aws-sdk/middleware-bucket-endpoint" "3.525.0" - "@aws-sdk/middleware-expect-continue" "3.523.0" - "@aws-sdk/middleware-flexible-checksums" "3.523.0" - "@aws-sdk/middleware-host-header" "3.523.0" - "@aws-sdk/middleware-location-constraint" "3.523.0" - "@aws-sdk/middleware-logger" "3.523.0" - "@aws-sdk/middleware-recursion-detection" "3.523.0" - "@aws-sdk/middleware-sdk-s3" "3.525.0" - "@aws-sdk/middleware-signing" "3.523.0" - "@aws-sdk/middleware-ssec" "3.523.0" - "@aws-sdk/middleware-user-agent" "3.525.0" - "@aws-sdk/region-config-resolver" "3.525.0" - "@aws-sdk/signature-v4-multi-region" "3.525.0" - "@aws-sdk/types" "3.523.0" - "@aws-sdk/util-endpoints" "3.525.0" - "@aws-sdk/util-user-agent-browser" "3.523.0" - "@aws-sdk/util-user-agent-node" "3.525.0" - "@aws-sdk/xml-builder" "3.523.0" - "@smithy/config-resolver" "^2.1.4" - "@smithy/core" "^1.3.5" - "@smithy/eventstream-serde-browser" "^2.1.3" - "@smithy/eventstream-serde-config-resolver" "^2.1.3" - "@smithy/eventstream-serde-node" "^2.1.3" - "@smithy/fetch-http-handler" "^2.4.3" - "@smithy/hash-blob-browser" "^2.1.3" - "@smithy/hash-node" "^2.1.3" - "@smithy/hash-stream-node" "^2.1.3" - "@smithy/invalid-dependency" "^2.1.3" - "@smithy/md5-js" "^2.1.3" - "@smithy/middleware-content-length" "^2.1.3" - "@smithy/middleware-endpoint" "^2.4.4" - "@smithy/middleware-retry" "^2.1.4" - "@smithy/middleware-serde" "^2.1.3" - "@smithy/middleware-stack" "^2.1.3" - "@smithy/node-config-provider" "^2.2.4" - "@smithy/node-http-handler" "^2.4.1" - "@smithy/protocol-http" "^3.2.1" - "@smithy/smithy-client" "^2.4.2" - "@smithy/types" "^2.10.1" - "@smithy/url-parser" "^2.1.3" - "@smithy/util-base64" "^2.1.1" - "@smithy/util-body-length-browser" "^2.1.1" - "@smithy/util-body-length-node" "^2.2.1" - "@smithy/util-defaults-mode-browser" "^2.1.4" - "@smithy/util-defaults-mode-node" "^2.2.3" - "@smithy/util-endpoints" "^1.1.4" - "@smithy/util-retry" "^2.1.3" - "@smithy/util-stream" "^2.1.3" - "@smithy/util-utf8" "^2.1.1" - "@smithy/util-waiter" "^2.1.3" - fast-xml-parser "4.2.5" - tslib "^2.5.0" - -"@aws-sdk/client-sso-oidc@3.525.0": - version "3.525.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/client-sso-oidc/-/client-sso-oidc-3.525.0.tgz#0f80242d997adc7cf259f50f9e590d515a123fac" - integrity sha512-zz13k/6RkjPSLmReSeGxd8wzGiiZa4Odr2Tv3wTcxClM4wOjD+zOgGv4Fe32b9AMqaueiCdjbvdu7AKcYxFA4A== - dependencies: - "@aws-crypto/sha256-browser" "3.0.0" - "@aws-crypto/sha256-js" "3.0.0" - "@aws-sdk/client-sts" "3.525.0" - "@aws-sdk/core" "3.525.0" - "@aws-sdk/middleware-host-header" "3.523.0" - "@aws-sdk/middleware-logger" "3.523.0" - "@aws-sdk/middleware-recursion-detection" "3.523.0" - "@aws-sdk/middleware-user-agent" "3.525.0" - "@aws-sdk/region-config-resolver" "3.525.0" - "@aws-sdk/types" "3.523.0" - "@aws-sdk/util-endpoints" "3.525.0" - "@aws-sdk/util-user-agent-browser" "3.523.0" - "@aws-sdk/util-user-agent-node" "3.525.0" - "@smithy/config-resolver" "^2.1.4" - "@smithy/core" "^1.3.5" - "@smithy/fetch-http-handler" "^2.4.3" - "@smithy/hash-node" "^2.1.3" - "@smithy/invalid-dependency" "^2.1.3" - "@smithy/middleware-content-length" "^2.1.3" - "@smithy/middleware-endpoint" "^2.4.4" - "@smithy/middleware-retry" "^2.1.4" - "@smithy/middleware-serde" "^2.1.3" - "@smithy/middleware-stack" "^2.1.3" - "@smithy/node-config-provider" "^2.2.4" - "@smithy/node-http-handler" "^2.4.1" - "@smithy/protocol-http" "^3.2.1" - "@smithy/smithy-client" "^2.4.2" - "@smithy/types" "^2.10.1" - "@smithy/url-parser" "^2.1.3" - "@smithy/util-base64" "^2.1.1" - "@smithy/util-body-length-browser" "^2.1.1" - "@smithy/util-body-length-node" "^2.2.1" - "@smithy/util-defaults-mode-browser" "^2.1.4" - "@smithy/util-defaults-mode-node" "^2.2.3" - "@smithy/util-endpoints" "^1.1.4" - "@smithy/util-middleware" "^2.1.3" - "@smithy/util-retry" "^2.1.3" - "@smithy/util-utf8" "^2.1.1" - tslib "^2.5.0" - -"@aws-sdk/client-sso@3.525.0": - version "3.525.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/client-sso/-/client-sso-3.525.0.tgz#2af5028a56a72a8067cb6b149ca1cc433beb9fa4" - integrity sha512-6KwGQWFoNLH1UupdWPFdKPfTgjSz1kN8/r8aCzuvvXBe4Pz+iDUZ6FEJzGWNc9AapjvZDNO1hs23slomM9rTaA== - dependencies: - "@aws-crypto/sha256-browser" "3.0.0" - "@aws-crypto/sha256-js" "3.0.0" - "@aws-sdk/core" "3.525.0" - "@aws-sdk/middleware-host-header" "3.523.0" - "@aws-sdk/middleware-logger" "3.523.0" - "@aws-sdk/middleware-recursion-detection" "3.523.0" - "@aws-sdk/middleware-user-agent" "3.525.0" - "@aws-sdk/region-config-resolver" "3.525.0" - "@aws-sdk/types" "3.523.0" - "@aws-sdk/util-endpoints" "3.525.0" - "@aws-sdk/util-user-agent-browser" "3.523.0" - "@aws-sdk/util-user-agent-node" "3.525.0" - "@smithy/config-resolver" "^2.1.4" - "@smithy/core" "^1.3.5" - "@smithy/fetch-http-handler" "^2.4.3" - "@smithy/hash-node" "^2.1.3" - "@smithy/invalid-dependency" "^2.1.3" - "@smithy/middleware-content-length" "^2.1.3" - "@smithy/middleware-endpoint" "^2.4.4" - "@smithy/middleware-retry" "^2.1.4" - "@smithy/middleware-serde" "^2.1.3" - "@smithy/middleware-stack" "^2.1.3" - "@smithy/node-config-provider" "^2.2.4" - "@smithy/node-http-handler" "^2.4.1" - "@smithy/protocol-http" "^3.2.1" - "@smithy/smithy-client" "^2.4.2" - "@smithy/types" "^2.10.1" - "@smithy/url-parser" "^2.1.3" - "@smithy/util-base64" "^2.1.1" - "@smithy/util-body-length-browser" "^2.1.1" - "@smithy/util-body-length-node" "^2.2.1" - "@smithy/util-defaults-mode-browser" "^2.1.4" - "@smithy/util-defaults-mode-node" "^2.2.3" - "@smithy/util-endpoints" "^1.1.4" - "@smithy/util-middleware" "^2.1.3" - "@smithy/util-retry" "^2.1.3" - "@smithy/util-utf8" "^2.1.1" - tslib "^2.5.0" - -"@aws-sdk/client-sts@3.525.0": - version "3.525.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/client-sts/-/client-sts-3.525.0.tgz#5c59c39950f24d9fb4a42b226ada6a72955c0672" - integrity sha512-a8NUGRvO6rkfTZCbMaCsjDjLbERCwIUU9dIywFYcRgbFhkupJ7fSaZz3Het98U51M9ZbTEpaTa3fz0HaJv8VJw== - dependencies: - "@aws-crypto/sha256-browser" "3.0.0" - "@aws-crypto/sha256-js" "3.0.0" - "@aws-sdk/core" "3.525.0" - "@aws-sdk/middleware-host-header" "3.523.0" - "@aws-sdk/middleware-logger" "3.523.0" - "@aws-sdk/middleware-recursion-detection" "3.523.0" - "@aws-sdk/middleware-user-agent" "3.525.0" - "@aws-sdk/region-config-resolver" "3.525.0" - "@aws-sdk/types" "3.523.0" - "@aws-sdk/util-endpoints" "3.525.0" - "@aws-sdk/util-user-agent-browser" "3.523.0" - "@aws-sdk/util-user-agent-node" "3.525.0" - "@smithy/config-resolver" "^2.1.4" - "@smithy/core" "^1.3.5" - "@smithy/fetch-http-handler" "^2.4.3" - "@smithy/hash-node" "^2.1.3" - "@smithy/invalid-dependency" "^2.1.3" - "@smithy/middleware-content-length" "^2.1.3" - "@smithy/middleware-endpoint" "^2.4.4" - "@smithy/middleware-retry" "^2.1.4" - "@smithy/middleware-serde" "^2.1.3" - "@smithy/middleware-stack" "^2.1.3" - "@smithy/node-config-provider" "^2.2.4" - "@smithy/node-http-handler" "^2.4.1" - "@smithy/protocol-http" "^3.2.1" - "@smithy/smithy-client" "^2.4.2" - "@smithy/types" "^2.10.1" - "@smithy/url-parser" "^2.1.3" - "@smithy/util-base64" "^2.1.1" - "@smithy/util-body-length-browser" "^2.1.1" - "@smithy/util-body-length-node" "^2.2.1" - "@smithy/util-defaults-mode-browser" "^2.1.4" - "@smithy/util-defaults-mode-node" "^2.2.3" - "@smithy/util-endpoints" "^1.1.4" - "@smithy/util-middleware" "^2.1.3" - "@smithy/util-retry" "^2.1.3" - "@smithy/util-utf8" "^2.1.1" - fast-xml-parser "4.2.5" - tslib "^2.5.0" - -"@aws-sdk/core@3.525.0": - version "3.525.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/core/-/core-3.525.0.tgz#710740ff96551e04f595fc156a40b54793a37b01" - integrity sha512-E3LtEtMWCriQOFZpVKpLYzbdw/v2PAOEAMhn2VRRZ1g0/g1TXzQrfhEU2yd8l/vQEJaCJ82ooGGg7YECviBUxA== - dependencies: - "@smithy/core" "^1.3.5" - "@smithy/protocol-http" "^3.2.1" - "@smithy/signature-v4" "^2.1.3" - "@smithy/smithy-client" "^2.4.2" - "@smithy/types" "^2.10.1" - tslib "^2.5.0" - -"@aws-sdk/credential-provider-env@3.523.0": - version "3.523.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-env/-/credential-provider-env-3.523.0.tgz#4bc04b32c15ff7237ba1de866b96ccea24e433c7" - integrity sha512-Y6DWdH6/OuMDoNKVzZlNeBc6f1Yjk1lYMjANKpIhMbkRCvLJw/PYZKOZa8WpXbTYdgg9XLjKybnLIb3ww3uuzA== - dependencies: - "@aws-sdk/types" "3.523.0" - "@smithy/property-provider" "^2.1.3" - "@smithy/types" "^2.10.1" - tslib "^2.5.0" - -"@aws-sdk/credential-provider-http@3.525.0": - version "3.525.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-http/-/credential-provider-http-3.525.0.tgz#3a785ea8724200596ad1a48cf8485658401eb589" - integrity sha512-RNWQGuSBQZhl3iqklOslUEfQ4br1V3DCPboMpeqFtddUWJV3m2u2extFur9/4Uy+1EHVF120IwZUKtd8dF+ibw== - dependencies: - "@aws-sdk/types" "3.523.0" - "@smithy/fetch-http-handler" "^2.4.3" - "@smithy/node-http-handler" "^2.4.1" - "@smithy/property-provider" "^2.1.3" - "@smithy/protocol-http" "^3.2.1" - "@smithy/smithy-client" "^2.4.2" - "@smithy/types" "^2.10.1" - "@smithy/util-stream" "^2.1.3" - tslib "^2.5.0" - -"@aws-sdk/credential-provider-ini@3.525.0": - version "3.525.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.525.0.tgz#e672842bfdc3bcde221def0284f4a8af30bee2bb" - integrity sha512-JDnccfK5JRb9jcgpc9lirL9PyCwGIqY0nKdw3LlX5WL5vTpTG4E1q7rLAlpNh7/tFD1n66Itarfv2tsyHMIqCw== - dependencies: - "@aws-sdk/client-sts" "3.525.0" - "@aws-sdk/credential-provider-env" "3.523.0" - "@aws-sdk/credential-provider-process" "3.523.0" - "@aws-sdk/credential-provider-sso" "3.525.0" - "@aws-sdk/credential-provider-web-identity" "3.525.0" - "@aws-sdk/types" "3.523.0" - "@smithy/credential-provider-imds" "^2.2.3" - "@smithy/property-provider" "^2.1.3" - "@smithy/shared-ini-file-loader" "^2.3.3" - "@smithy/types" "^2.10.1" - tslib "^2.5.0" - -"@aws-sdk/credential-provider-node@3.525.0": - version "3.525.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-node/-/credential-provider-node-3.525.0.tgz#fde02124df4f8afd4a58475452c9cd7f91a60b01" - integrity sha512-RJXlO8goGXpnoHQAyrCcJ0QtWEOFa34LSbfdqBIjQX/fwnjUuEmiGdXTV3AZmwYQ7juk49tfBneHbtOP3AGqsQ== - dependencies: - "@aws-sdk/credential-provider-env" "3.523.0" - "@aws-sdk/credential-provider-http" "3.525.0" - "@aws-sdk/credential-provider-ini" "3.525.0" - "@aws-sdk/credential-provider-process" "3.523.0" - "@aws-sdk/credential-provider-sso" "3.525.0" - "@aws-sdk/credential-provider-web-identity" "3.525.0" - "@aws-sdk/types" "3.523.0" - "@smithy/credential-provider-imds" "^2.2.3" - "@smithy/property-provider" "^2.1.3" - "@smithy/shared-ini-file-loader" "^2.3.3" - "@smithy/types" "^2.10.1" - tslib "^2.5.0" - -"@aws-sdk/credential-provider-process@3.523.0": - version "3.523.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-process/-/credential-provider-process-3.523.0.tgz#8cf85637f5075065a164d008f392d3ae3539ea23" - integrity sha512-f0LP9KlFmMvPWdKeUKYlZ6FkQAECUeZMmISsv6NKtvPCI9e4O4cLTeR09telwDK8P0HrgcRuZfXM7E30m8re0Q== - dependencies: - "@aws-sdk/types" "3.523.0" - "@smithy/property-provider" "^2.1.3" - "@smithy/shared-ini-file-loader" "^2.3.3" - "@smithy/types" "^2.10.1" - tslib "^2.5.0" - -"@aws-sdk/credential-provider-sso@3.525.0": - version "3.525.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.525.0.tgz#b79f263fcde291250b35af41ee83743bdfec7d13" - integrity sha512-7V7ybtufxdD3plxeIeB6aqHZeFIUlAyPphXIUgXrGY10iNcosL970rQPBeggsohe4gCM6UvY2TfMeEcr+ZE8FA== - dependencies: - "@aws-sdk/client-sso" "3.525.0" - "@aws-sdk/token-providers" "3.525.0" - "@aws-sdk/types" "3.523.0" - "@smithy/property-provider" "^2.1.3" - "@smithy/shared-ini-file-loader" "^2.3.3" - "@smithy/types" "^2.10.1" - tslib "^2.5.0" - -"@aws-sdk/credential-provider-web-identity@3.525.0": - version "3.525.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.525.0.tgz#f71a7a322209468de89b2dee6acd961e386a89cc" - integrity sha512-sAukOjR1oKb2JXG4nPpuBFpSwGUhrrY17PG/xbTy8NAoLLhrqRwnErcLfdTfmj6tH+3094k6ws/Sh8a35ae7fA== - dependencies: - "@aws-sdk/client-sts" "3.525.0" - "@aws-sdk/types" "3.523.0" - "@smithy/property-provider" "^2.1.3" - "@smithy/types" "^2.10.1" - tslib "^2.5.0" - -"@aws-sdk/middleware-bucket-endpoint@3.525.0": - version "3.525.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-bucket-endpoint/-/middleware-bucket-endpoint-3.525.0.tgz#f354fbc0b4a55b0b13ab704672382c5aeafae0b3" - integrity sha512-nYfQ2Xspfef7j8mZO7varUWLPH6HQlXateH7tBVtBNUAazyQE4UJEvC0fbQ+Y01e+FKlirim/m2umkdMXqAlTg== - dependencies: - "@aws-sdk/types" "3.523.0" - "@aws-sdk/util-arn-parser" "3.495.0" - "@smithy/node-config-provider" "^2.2.4" - "@smithy/protocol-http" "^3.2.1" - "@smithy/types" "^2.10.1" - "@smithy/util-config-provider" "^2.2.1" - tslib "^2.5.0" - -"@aws-sdk/middleware-expect-continue@3.523.0": - version "3.523.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-expect-continue/-/middleware-expect-continue-3.523.0.tgz#9db5a9dd54a41fb71d40e744ff800a697a82e969" - integrity sha512-E5DyRAHU39VHaAlQLqXYS/IKpgk3vsryuU6kkOcIIK8Dgw0a2tjoh5AOCaNa8pD+KgAGrFp35JIMSX1zui5diA== - dependencies: - "@aws-sdk/types" "3.523.0" - "@smithy/protocol-http" "^3.2.1" - "@smithy/types" "^2.10.1" - tslib "^2.5.0" - -"@aws-sdk/middleware-flexible-checksums@3.523.0": - version "3.523.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-flexible-checksums/-/middleware-flexible-checksums-3.523.0.tgz#7f0e4a98aac00f08b154cb283d33a36993dd730d" - integrity sha512-lIa1TdWY9q4zsDFarfSnYcdrwPR+nypaU4n6hb95i620/1F5M5s6H8P0hYtwTNNvx+slrR8F3VBML9pjBtzAHw== - dependencies: - "@aws-crypto/crc32" "3.0.0" - "@aws-crypto/crc32c" "3.0.0" - "@aws-sdk/types" "3.523.0" - "@smithy/is-array-buffer" "^2.1.1" - "@smithy/protocol-http" "^3.2.1" - "@smithy/types" "^2.10.1" - "@smithy/util-utf8" "^2.1.1" - tslib "^2.5.0" - -"@aws-sdk/middleware-host-header@3.523.0": - version "3.523.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-host-header/-/middleware-host-header-3.523.0.tgz#9aaa29edd668905eed8ee8af482b96162dafdeb1" - integrity sha512-4g3q7Ta9sdD9TMUuohBAkbx/e3I/juTqfKi7TPgP+8jxcYX72MOsgemAMHuP6CX27eyj4dpvjH+w4SIVDiDSmg== - dependencies: - "@aws-sdk/types" "3.523.0" - "@smithy/protocol-http" "^3.2.1" - "@smithy/types" "^2.10.1" - tslib "^2.5.0" - -"@aws-sdk/middleware-location-constraint@3.523.0": - version "3.523.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-location-constraint/-/middleware-location-constraint-3.523.0.tgz#c5b2395119ece973773f80f67eef43603d159c12" - integrity sha512-1QAUXX3U0jkARnU0yyjk81EO4Uw5dCeQOtvUY5s3bUOHatR3ThosQeIr6y9BCsbXHzNnDe1ytCjqAPyo8r/bYw== - dependencies: - "@aws-sdk/types" "3.523.0" - "@smithy/types" "^2.10.1" - tslib "^2.5.0" - -"@aws-sdk/middleware-logger@3.523.0": - version "3.523.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-logger/-/middleware-logger-3.523.0.tgz#ad61bfdd73b5983ab8a8926b9c01825bc048babf" - integrity sha512-PeDNJNhfiaZx54LBaLTXzUaJ9LXFwDFFIksipjqjvxMafnoVcQwKbkoPUWLe5ytT4nnL1LogD3s55mERFUsnwg== - dependencies: - "@aws-sdk/types" "3.523.0" - "@smithy/types" "^2.10.1" - tslib "^2.5.0" - -"@aws-sdk/middleware-recursion-detection@3.523.0": - version "3.523.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.523.0.tgz#21d9ec52700545d7935d6c943cb40bffa69ab4b4" - integrity sha512-nZ3Vt7ehfSDYnrcg/aAfjjvpdE+61B3Zk68i6/hSUIegT3IH9H1vSW67NDKVp+50hcEfzWwM2HMPXxlzuyFyrw== - dependencies: - "@aws-sdk/types" "3.523.0" - "@smithy/protocol-http" "^3.2.1" - "@smithy/types" "^2.10.1" - tslib "^2.5.0" - -"@aws-sdk/middleware-sdk-s3@3.525.0": - version "3.525.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-sdk-s3/-/middleware-sdk-s3-3.525.0.tgz#c3ce03940240fa7a42bfa3f1916d2ce9fa0fafbf" - integrity sha512-ewFyyFM6wdFTOqCiId5GQNi7owDdLEonQhB4h8tF6r3HV52bRlDvZA4aDos+ft6N/XY2J6L0qlFTFq+/oiurXw== - dependencies: - "@aws-sdk/types" "3.523.0" - "@aws-sdk/util-arn-parser" "3.495.0" - "@smithy/node-config-provider" "^2.2.4" - "@smithy/protocol-http" "^3.2.1" - "@smithy/signature-v4" "^2.1.3" - "@smithy/smithy-client" "^2.4.2" - "@smithy/types" "^2.10.1" - "@smithy/util-config-provider" "^2.2.1" - tslib "^2.5.0" - -"@aws-sdk/middleware-signing@3.523.0": - version "3.523.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-signing/-/middleware-signing-3.523.0.tgz#1b2c458eb6a00da45b0800916ee463ff727c0717" - integrity sha512-pFXV4don6qcmew/OvEjLUr2foVjzoJ8o5k57Oz9yAHz8INx3RHK8MP/K4mVhHo6n0SquRcWrm4kY/Tw+89gkEA== - dependencies: - "@aws-sdk/types" "3.523.0" - "@smithy/property-provider" "^2.1.3" - "@smithy/protocol-http" "^3.2.1" - "@smithy/signature-v4" "^2.1.3" - "@smithy/types" "^2.10.1" - "@smithy/util-middleware" "^2.1.3" - tslib "^2.5.0" - -"@aws-sdk/middleware-ssec@3.523.0": - version "3.523.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-ssec/-/middleware-ssec-3.523.0.tgz#1bc0b57859a3e90af7e6103341903896f601e622" - integrity sha512-FaqAZQeF5cQzZLOIboIJRaWVOQ2F2pJZAXGF5D7nJsxYNFChotA0O0iWimBRxU35RNn7yirVxz35zQzs20ddIw== - dependencies: - "@aws-sdk/types" "3.523.0" - "@smithy/types" "^2.10.1" - tslib "^2.5.0" - -"@aws-sdk/middleware-user-agent@3.525.0": - version "3.525.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.525.0.tgz#3ac154829460271c53ad49d8301d4c849e9afb9f" - integrity sha512-4al/6uO+t/QIYXK2OgqzDKQzzLAYJza1vWFS+S0lJ3jLNGyLB5BMU5KqWjDzevYZ4eCnz2Nn7z0FveUTNz8YdQ== - dependencies: - "@aws-sdk/types" "3.523.0" - "@aws-sdk/util-endpoints" "3.525.0" - "@smithy/protocol-http" "^3.2.1" - "@smithy/types" "^2.10.1" - tslib "^2.5.0" - -"@aws-sdk/region-config-resolver@3.525.0": - version "3.525.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/region-config-resolver/-/region-config-resolver-3.525.0.tgz#ebd7edd0059857f59ed605c37cf5752542cf8914" - integrity sha512-8kFqXk6UyKgTMi7N7QlhA6qM4pGPWbiUXqEY2RgUWngtxqNFGeM9JTexZeuavQI+qLLe09VPShPNX71fEDcM6w== - dependencies: - "@aws-sdk/types" "3.523.0" - "@smithy/node-config-provider" "^2.2.4" - "@smithy/types" "^2.10.1" - "@smithy/util-config-provider" "^2.2.1" - "@smithy/util-middleware" "^2.1.3" - tslib "^2.5.0" + version "3.650.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/client-s3/-/client-s3-3.650.0.tgz#9e8c441afa25575f960ca8b9c44b71c586f38f13" + integrity sha512-6ZfkDu2FMOtYPV1ah5vWMqFKNKEqlBQ3/NOVvLGscU1dR0ybbOwwm4ywWofZmz72uOts5NGqe12kzohb/AsGAA== + dependencies: + "@aws-crypto/sha1-browser" "5.2.0" + "@aws-crypto/sha256-browser" "5.2.0" + "@aws-crypto/sha256-js" "5.2.0" + "@aws-sdk/client-sso-oidc" "3.650.0" + "@aws-sdk/client-sts" "3.650.0" + "@aws-sdk/core" "3.649.0" + "@aws-sdk/credential-provider-node" "3.650.0" + "@aws-sdk/middleware-bucket-endpoint" "3.649.0" + "@aws-sdk/middleware-expect-continue" "3.649.0" + "@aws-sdk/middleware-flexible-checksums" "3.649.0" + "@aws-sdk/middleware-host-header" "3.649.0" + "@aws-sdk/middleware-location-constraint" "3.649.0" + "@aws-sdk/middleware-logger" "3.649.0" + "@aws-sdk/middleware-recursion-detection" "3.649.0" + "@aws-sdk/middleware-sdk-s3" "3.649.0" + "@aws-sdk/middleware-ssec" "3.649.0" + "@aws-sdk/middleware-user-agent" "3.649.0" + "@aws-sdk/region-config-resolver" "3.649.0" + "@aws-sdk/signature-v4-multi-region" "3.649.0" + "@aws-sdk/types" "3.649.0" + "@aws-sdk/util-endpoints" "3.649.0" + "@aws-sdk/util-user-agent-browser" "3.649.0" + "@aws-sdk/util-user-agent-node" "3.649.0" + "@aws-sdk/xml-builder" "3.649.0" + "@smithy/config-resolver" "^3.0.6" + "@smithy/core" "^2.4.1" + "@smithy/eventstream-serde-browser" "^3.0.7" + "@smithy/eventstream-serde-config-resolver" "^3.0.4" + "@smithy/eventstream-serde-node" "^3.0.6" + "@smithy/fetch-http-handler" "^3.2.5" + "@smithy/hash-blob-browser" "^3.1.3" + "@smithy/hash-node" "^3.0.4" + "@smithy/hash-stream-node" "^3.1.3" + "@smithy/invalid-dependency" "^3.0.4" + "@smithy/md5-js" "^3.0.4" + "@smithy/middleware-content-length" "^3.0.6" + "@smithy/middleware-endpoint" "^3.1.1" + "@smithy/middleware-retry" "^3.0.16" + "@smithy/middleware-serde" "^3.0.4" + "@smithy/middleware-stack" "^3.0.4" + "@smithy/node-config-provider" "^3.1.5" + "@smithy/node-http-handler" "^3.2.0" + "@smithy/protocol-http" "^4.1.1" + "@smithy/smithy-client" "^3.3.0" + "@smithy/types" "^3.4.0" + "@smithy/url-parser" "^3.0.4" + "@smithy/util-base64" "^3.0.0" + "@smithy/util-body-length-browser" "^3.0.0" + "@smithy/util-body-length-node" "^3.0.0" + "@smithy/util-defaults-mode-browser" "^3.0.16" + "@smithy/util-defaults-mode-node" "^3.0.16" + "@smithy/util-endpoints" "^2.1.0" + "@smithy/util-middleware" "^3.0.4" + "@smithy/util-retry" "^3.0.4" + "@smithy/util-stream" "^3.1.4" + "@smithy/util-utf8" "^3.0.0" + "@smithy/util-waiter" "^3.1.3" + tslib "^2.6.2" + +"@aws-sdk/client-sso-oidc@3.650.0": + version "3.650.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/client-sso-oidc/-/client-sso-oidc-3.650.0.tgz#7516b8a2f00ba3b1bdd59aafbbda0ddb66d0ab3f" + integrity sha512-6J7IS0f8ovhvbIAZaynOYP+jPX8344UlTjwHxjaXHgFvI8axu3+NslKtEEV5oHLhgzDvrKbinsu5lgE2n4Sqng== + dependencies: + "@aws-crypto/sha256-browser" "5.2.0" + "@aws-crypto/sha256-js" "5.2.0" + "@aws-sdk/core" "3.649.0" + "@aws-sdk/credential-provider-node" "3.650.0" + "@aws-sdk/middleware-host-header" "3.649.0" + "@aws-sdk/middleware-logger" "3.649.0" + "@aws-sdk/middleware-recursion-detection" "3.649.0" + "@aws-sdk/middleware-user-agent" "3.649.0" + "@aws-sdk/region-config-resolver" "3.649.0" + "@aws-sdk/types" "3.649.0" + "@aws-sdk/util-endpoints" "3.649.0" + "@aws-sdk/util-user-agent-browser" "3.649.0" + "@aws-sdk/util-user-agent-node" "3.649.0" + "@smithy/config-resolver" "^3.0.6" + "@smithy/core" "^2.4.1" + "@smithy/fetch-http-handler" "^3.2.5" + "@smithy/hash-node" "^3.0.4" + "@smithy/invalid-dependency" "^3.0.4" + "@smithy/middleware-content-length" "^3.0.6" + "@smithy/middleware-endpoint" "^3.1.1" + "@smithy/middleware-retry" "^3.0.16" + "@smithy/middleware-serde" "^3.0.4" + "@smithy/middleware-stack" "^3.0.4" + "@smithy/node-config-provider" "^3.1.5" + "@smithy/node-http-handler" "^3.2.0" + "@smithy/protocol-http" "^4.1.1" + "@smithy/smithy-client" "^3.3.0" + "@smithy/types" "^3.4.0" + "@smithy/url-parser" "^3.0.4" + "@smithy/util-base64" "^3.0.0" + "@smithy/util-body-length-browser" "^3.0.0" + "@smithy/util-body-length-node" "^3.0.0" + "@smithy/util-defaults-mode-browser" "^3.0.16" + "@smithy/util-defaults-mode-node" "^3.0.16" + "@smithy/util-endpoints" "^2.1.0" + "@smithy/util-middleware" "^3.0.4" + "@smithy/util-retry" "^3.0.4" + "@smithy/util-utf8" "^3.0.0" + tslib "^2.6.2" + +"@aws-sdk/client-sso@3.650.0": + version "3.650.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/client-sso/-/client-sso-3.650.0.tgz#03a02256bef9fa79ebd2791eb24cf950d7d268ea" + integrity sha512-YKm14gCMChD/jlCisFlsVqB8HJujR41bl4Fup2crHwNJxhD/9LTnzwMiVVlBqlXr41Sfa6fSxczX2AMP8NM14A== + dependencies: + "@aws-crypto/sha256-browser" "5.2.0" + "@aws-crypto/sha256-js" "5.2.0" + "@aws-sdk/core" "3.649.0" + "@aws-sdk/middleware-host-header" "3.649.0" + "@aws-sdk/middleware-logger" "3.649.0" + "@aws-sdk/middleware-recursion-detection" "3.649.0" + "@aws-sdk/middleware-user-agent" "3.649.0" + "@aws-sdk/region-config-resolver" "3.649.0" + "@aws-sdk/types" "3.649.0" + "@aws-sdk/util-endpoints" "3.649.0" + "@aws-sdk/util-user-agent-browser" "3.649.0" + "@aws-sdk/util-user-agent-node" "3.649.0" + "@smithy/config-resolver" "^3.0.6" + "@smithy/core" "^2.4.1" + "@smithy/fetch-http-handler" "^3.2.5" + "@smithy/hash-node" "^3.0.4" + "@smithy/invalid-dependency" "^3.0.4" + "@smithy/middleware-content-length" "^3.0.6" + "@smithy/middleware-endpoint" "^3.1.1" + "@smithy/middleware-retry" "^3.0.16" + "@smithy/middleware-serde" "^3.0.4" + "@smithy/middleware-stack" "^3.0.4" + "@smithy/node-config-provider" "^3.1.5" + "@smithy/node-http-handler" "^3.2.0" + "@smithy/protocol-http" "^4.1.1" + "@smithy/smithy-client" "^3.3.0" + "@smithy/types" "^3.4.0" + "@smithy/url-parser" "^3.0.4" + "@smithy/util-base64" "^3.0.0" + "@smithy/util-body-length-browser" "^3.0.0" + "@smithy/util-body-length-node" "^3.0.0" + "@smithy/util-defaults-mode-browser" "^3.0.16" + "@smithy/util-defaults-mode-node" "^3.0.16" + "@smithy/util-endpoints" "^2.1.0" + "@smithy/util-middleware" "^3.0.4" + "@smithy/util-retry" "^3.0.4" + "@smithy/util-utf8" "^3.0.0" + tslib "^2.6.2" + +"@aws-sdk/client-sts@3.650.0": + version "3.650.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/client-sts/-/client-sts-3.650.0.tgz#b4e5aeb0c6b516cc4db6db587f5daa72ec4c4b33" + integrity sha512-ISK0ZQYA7O5/WYgslpWy956lUBudGC9d7eL0FFbiL0j50N80Gx3RUv22ezvZgxJWE0W3DqNr4CE19sPYn4Lw8g== + dependencies: + "@aws-crypto/sha256-browser" "5.2.0" + "@aws-crypto/sha256-js" "5.2.0" + "@aws-sdk/client-sso-oidc" "3.650.0" + "@aws-sdk/core" "3.649.0" + "@aws-sdk/credential-provider-node" "3.650.0" + "@aws-sdk/middleware-host-header" "3.649.0" + "@aws-sdk/middleware-logger" "3.649.0" + "@aws-sdk/middleware-recursion-detection" "3.649.0" + "@aws-sdk/middleware-user-agent" "3.649.0" + "@aws-sdk/region-config-resolver" "3.649.0" + "@aws-sdk/types" "3.649.0" + "@aws-sdk/util-endpoints" "3.649.0" + "@aws-sdk/util-user-agent-browser" "3.649.0" + "@aws-sdk/util-user-agent-node" "3.649.0" + "@smithy/config-resolver" "^3.0.6" + "@smithy/core" "^2.4.1" + "@smithy/fetch-http-handler" "^3.2.5" + "@smithy/hash-node" "^3.0.4" + "@smithy/invalid-dependency" "^3.0.4" + "@smithy/middleware-content-length" "^3.0.6" + "@smithy/middleware-endpoint" "^3.1.1" + "@smithy/middleware-retry" "^3.0.16" + "@smithy/middleware-serde" "^3.0.4" + "@smithy/middleware-stack" "^3.0.4" + "@smithy/node-config-provider" "^3.1.5" + "@smithy/node-http-handler" "^3.2.0" + "@smithy/protocol-http" "^4.1.1" + "@smithy/smithy-client" "^3.3.0" + "@smithy/types" "^3.4.0" + "@smithy/url-parser" "^3.0.4" + "@smithy/util-base64" "^3.0.0" + "@smithy/util-body-length-browser" "^3.0.0" + "@smithy/util-body-length-node" "^3.0.0" + "@smithy/util-defaults-mode-browser" "^3.0.16" + "@smithy/util-defaults-mode-node" "^3.0.16" + "@smithy/util-endpoints" "^2.1.0" + "@smithy/util-middleware" "^3.0.4" + "@smithy/util-retry" "^3.0.4" + "@smithy/util-utf8" "^3.0.0" + tslib "^2.6.2" + +"@aws-sdk/core@3.649.0": + version "3.649.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/core/-/core-3.649.0.tgz#8c2a375e3c2e937e2f699f38cbbe031882ce99de" + integrity sha512-dheG/X2y25RHE7K+TlS32kcy7TgDg1OpWV44BQRoE0OBPAWmFR1D1qjjTZ7WWrdqRPKzcnDj1qED8ncyncOX8g== + dependencies: + "@smithy/core" "^2.4.1" + "@smithy/node-config-provider" "^3.1.5" + "@smithy/property-provider" "^3.1.4" + "@smithy/protocol-http" "^4.1.1" + "@smithy/signature-v4" "^4.1.1" + "@smithy/smithy-client" "^3.3.0" + "@smithy/types" "^3.4.0" + "@smithy/util-middleware" "^3.0.4" + fast-xml-parser "4.4.1" + tslib "^2.6.2" + +"@aws-sdk/credential-provider-env@3.649.0": + version "3.649.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-env/-/credential-provider-env-3.649.0.tgz#8832e8a3b396c54c3663c2730e41746969fb7e49" + integrity sha512-tViwzM1dauksA3fdRjsg0T8mcHklDa8EfveyiQKK6pUJopkqV6FQx+X5QNda0t/LrdEVlFZvwHNdXqOEfc83TA== + dependencies: + "@aws-sdk/types" "3.649.0" + "@smithy/property-provider" "^3.1.4" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" + +"@aws-sdk/credential-provider-http@3.649.0": + version "3.649.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-http/-/credential-provider-http-3.649.0.tgz#5c7f8556ea79f23435b0b637a96acf7367df9469" + integrity sha512-ODAJ+AJJq6ozbns6ejGbicpsQ0dyMOpnGlg0J9J0jITQ05DKQZ581hdB8APDOZ9N8FstShP6dLZflSj8jb5fNA== + dependencies: + "@aws-sdk/types" "3.649.0" + "@smithy/fetch-http-handler" "^3.2.5" + "@smithy/node-http-handler" "^3.2.0" + "@smithy/property-provider" "^3.1.4" + "@smithy/protocol-http" "^4.1.1" + "@smithy/smithy-client" "^3.3.0" + "@smithy/types" "^3.4.0" + "@smithy/util-stream" "^3.1.4" + tslib "^2.6.2" + +"@aws-sdk/credential-provider-ini@3.650.0": + version "3.650.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.650.0.tgz#4fc98d0caf9c8427a3e6691344cdbe90db0b8fd2" + integrity sha512-x2M9buZxIsKuUbuDgkGHhAKYBpn0/rYdKlwuFuOhXyyAcnhvPj0lgNF2KE4ld/GF1mKr7FF/uV3G9lM6PFaYmA== + dependencies: + "@aws-sdk/credential-provider-env" "3.649.0" + "@aws-sdk/credential-provider-http" "3.649.0" + "@aws-sdk/credential-provider-process" "3.649.0" + "@aws-sdk/credential-provider-sso" "3.650.0" + "@aws-sdk/credential-provider-web-identity" "3.649.0" + "@aws-sdk/types" "3.649.0" + "@smithy/credential-provider-imds" "^3.2.1" + "@smithy/property-provider" "^3.1.4" + "@smithy/shared-ini-file-loader" "^3.1.5" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" + +"@aws-sdk/credential-provider-node@3.650.0": + version "3.650.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-node/-/credential-provider-node-3.650.0.tgz#6a4d0793997976b9892600f130770913ae089cf0" + integrity sha512-uBra5YjzS/gWSekAogfqJfY6c+oKQkkou7Cjc4d/cpMNvQtF1IBdekJ7NaE1RfsDEz3uH1+Myd07YWZAJo/2Qw== + dependencies: + "@aws-sdk/credential-provider-env" "3.649.0" + "@aws-sdk/credential-provider-http" "3.649.0" + "@aws-sdk/credential-provider-ini" "3.650.0" + "@aws-sdk/credential-provider-process" "3.649.0" + "@aws-sdk/credential-provider-sso" "3.650.0" + "@aws-sdk/credential-provider-web-identity" "3.649.0" + "@aws-sdk/types" "3.649.0" + "@smithy/credential-provider-imds" "^3.2.1" + "@smithy/property-provider" "^3.1.4" + "@smithy/shared-ini-file-loader" "^3.1.5" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" + +"@aws-sdk/credential-provider-process@3.649.0": + version "3.649.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-process/-/credential-provider-process-3.649.0.tgz#9924873a68cfec037c83f7bebf113ad86098bc79" + integrity sha512-6VYPQpEVpU+6DDS/gLoI40ppuNM5RPIEprK30qZZxnhTr5wyrGOeJ7J7wbbwPOZ5dKwta290BiJDU2ipV8Y9BQ== + dependencies: + "@aws-sdk/types" "3.649.0" + "@smithy/property-provider" "^3.1.4" + "@smithy/shared-ini-file-loader" "^3.1.5" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" + +"@aws-sdk/credential-provider-sso@3.650.0": + version "3.650.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.650.0.tgz#fc0d727730c44e481f66a32eb0492d04dc0dcac9" + integrity sha512-069nkhcwximbvyGiAC6Fr2G+yrG/p1S3NQ5BZ2cMzB1hgUKo6TvgFK7nriYI4ljMQ+UWxqPwIdTqiUmn2iJmhg== + dependencies: + "@aws-sdk/client-sso" "3.650.0" + "@aws-sdk/token-providers" "3.649.0" + "@aws-sdk/types" "3.649.0" + "@smithy/property-provider" "^3.1.4" + "@smithy/shared-ini-file-loader" "^3.1.5" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" + +"@aws-sdk/credential-provider-web-identity@3.649.0": + version "3.649.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.649.0.tgz#9b111964076ba238640c0a6338e5f6740d2d4510" + integrity sha512-XVk3WsDa0g3kQFPmnCH/LaCtGY/0R2NDv7gscYZSXiBZcG/fixasglTprgWSp8zcA0t7tEIGu9suyjz8ZwhymQ== + dependencies: + "@aws-sdk/types" "3.649.0" + "@smithy/property-provider" "^3.1.4" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" + +"@aws-sdk/middleware-bucket-endpoint@3.649.0": + version "3.649.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-bucket-endpoint/-/middleware-bucket-endpoint-3.649.0.tgz#6fe42dad034bcafcb4ce4a82e53fd74c41ef43d5" + integrity sha512-ZdDICtUU4YZkrVllTUOH1Fj/F3WShLhkfNKJE3HJ/yj6pS8JS9P2lWzHiHkHiidjrHSxc6NuBo6vuZ+182XLbw== + dependencies: + "@aws-sdk/types" "3.649.0" + "@aws-sdk/util-arn-parser" "3.568.0" + "@smithy/node-config-provider" "^3.1.5" + "@smithy/protocol-http" "^4.1.1" + "@smithy/types" "^3.4.0" + "@smithy/util-config-provider" "^3.0.0" + tslib "^2.6.2" + +"@aws-sdk/middleware-expect-continue@3.649.0": + version "3.649.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-expect-continue/-/middleware-expect-continue-3.649.0.tgz#c0c472e025c49b75ac9d2621d0a0b299b885cfef" + integrity sha512-pW2id/mWNd+L0/hZKp5yL3J+8rTwsamu9E69Hc5pM3qTF4K4DTZZ+A0sQbY6duIvZvc8IbQHbSMulBOLyWNP3A== + dependencies: + "@aws-sdk/types" "3.649.0" + "@smithy/protocol-http" "^4.1.1" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" + +"@aws-sdk/middleware-flexible-checksums@3.649.0": + version "3.649.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-flexible-checksums/-/middleware-flexible-checksums-3.649.0.tgz#cc1da37cea5c9a3ce52af63e9e5a7ff994116dc8" + integrity sha512-8mzMBEA+Tk6rbrS8iqnXX119C6z+Id84cuzvUc6dAiYcbnOVbus8M4XKKsAFzGGXHCRc2gMwYhKdnoVz2ijaFA== + dependencies: + "@aws-crypto/crc32" "5.2.0" + "@aws-crypto/crc32c" "5.2.0" + "@aws-sdk/types" "3.649.0" + "@smithy/is-array-buffer" "^3.0.0" + "@smithy/protocol-http" "^4.1.1" + "@smithy/types" "^3.4.0" + "@smithy/util-utf8" "^3.0.0" + tslib "^2.6.2" + +"@aws-sdk/middleware-host-header@3.649.0": + version "3.649.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-host-header/-/middleware-host-header-3.649.0.tgz#ab7929cbf19ef9aeda0a16982a4753d0c5201822" + integrity sha512-PjAe2FocbicHVgNNwdSZ05upxIO7AgTPFtQLpnIAmoyzMcgv/zNB5fBn3uAnQSAeEPPCD+4SYVEUD1hw1ZBvEg== + dependencies: + "@aws-sdk/types" "3.649.0" + "@smithy/protocol-http" "^4.1.1" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" + +"@aws-sdk/middleware-location-constraint@3.649.0": + version "3.649.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-location-constraint/-/middleware-location-constraint-3.649.0.tgz#66eadced47919177d674443942a829d89350cdda" + integrity sha512-O9AXhaFUQx34UTnp/cKCcaWW/IVk4mntlWfFjsIxvRatamKaY33b5fOiakGG+J1t0QFK0niDBSvOYUR1fdlHzw== + dependencies: + "@aws-sdk/types" "3.649.0" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" + +"@aws-sdk/middleware-logger@3.649.0": + version "3.649.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-logger/-/middleware-logger-3.649.0.tgz#6de0f7015b1039e23c0f008516a8492a334ac33e" + integrity sha512-qdqRx6q7lYC6KL/NT9x3ShTL0TBuxdkCczGzHzY3AnOoYUjnCDH7Vlq867O6MAvb4EnGNECFzIgtkZkQ4FhY5w== + dependencies: + "@aws-sdk/types" "3.649.0" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" + +"@aws-sdk/middleware-recursion-detection@3.649.0": + version "3.649.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.649.0.tgz#1b4ed4d96aadaa18ee7900c5f8c8a7f91a49077e" + integrity sha512-IPnO4wlmaLRf6IYmJW2i8gJ2+UPXX0hDRv1it7Qf8DpBW+lGyF2rnoN7NrFX0WIxdGOlJF1RcOr/HjXb2QeXfQ== + dependencies: + "@aws-sdk/types" "3.649.0" + "@smithy/protocol-http" "^4.1.1" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" + +"@aws-sdk/middleware-sdk-s3@3.649.0": + version "3.649.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-sdk-s3/-/middleware-sdk-s3-3.649.0.tgz#17eb015b148d2c1fd51c4164bc06a7ec4f1e7148" + integrity sha512-3H8735xTAD7IxNdreT6qv2YRk4CGOGfz8ufZo5pROJYZ4N5rfcdDMvb8szMSLvQHegqS4v1DqO9nrOPgc0I2Qg== + dependencies: + "@aws-sdk/core" "3.649.0" + "@aws-sdk/types" "3.649.0" + "@aws-sdk/util-arn-parser" "3.568.0" + "@smithy/core" "^2.4.1" + "@smithy/node-config-provider" "^3.1.5" + "@smithy/protocol-http" "^4.1.1" + "@smithy/signature-v4" "^4.1.1" + "@smithy/smithy-client" "^3.3.0" + "@smithy/types" "^3.4.0" + "@smithy/util-config-provider" "^3.0.0" + "@smithy/util-middleware" "^3.0.4" + "@smithy/util-stream" "^3.1.4" + "@smithy/util-utf8" "^3.0.0" + tslib "^2.6.2" + +"@aws-sdk/middleware-ssec@3.649.0": + version "3.649.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-ssec/-/middleware-ssec-3.649.0.tgz#2a946fea6d85164409d40b0279d89c91e2520758" + integrity sha512-r/WBIpX+Kcx+AV5vJ+LbdDOuibk7spBqcFK2LytQjOZKPksZNRAM99khbFe9vr9S1+uDmCLVjAVkIfQ5seJrOw== + dependencies: + "@aws-sdk/types" "3.649.0" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" + +"@aws-sdk/middleware-user-agent@3.649.0": + version "3.649.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.649.0.tgz#16be52850fd754797aeb0633232b41fd1504dd89" + integrity sha512-q6sO10dnCXoxe9thobMJxekhJumzd1j6dxcE1+qJdYKHJr6yYgWbogJqrLCpWd30w0lEvnuAHK8lN2kWLdJxJw== + dependencies: + "@aws-sdk/types" "3.649.0" + "@aws-sdk/util-endpoints" "3.649.0" + "@smithy/protocol-http" "^4.1.1" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" + +"@aws-sdk/region-config-resolver@3.649.0": + version "3.649.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/region-config-resolver/-/region-config-resolver-3.649.0.tgz#bb45a3c4c53f80ad0c66d6f6dc62223eb8af5656" + integrity sha512-xURBvdQXvRvca5Du8IlC5FyCj3pkw8Z75+373J3Wb+vyg8GjD14HfKk1Je1HCCQDyIE9VB/scYDcm9ri0ppePw== + dependencies: + "@aws-sdk/types" "3.649.0" + "@smithy/node-config-provider" "^3.1.5" + "@smithy/types" "^3.4.0" + "@smithy/util-config-provider" "^3.0.0" + "@smithy/util-middleware" "^3.0.4" + tslib "^2.6.2" "@aws-sdk/s3-request-presigner@^3.17.0", "@aws-sdk/s3-request-presigner@^3.49.0": - version "3.525.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/s3-request-presigner/-/s3-request-presigner-3.525.0.tgz#8c56b44431bfea57946e6e6c479d7dd371b357aa" - integrity sha512-EllqWqzzzLs8QgUENgOF8qlSuZI6QiPypazSVbCuaAR5B6+s6E8XuBPlX99bV28pGbmtG06d/qqwu2pzXORbBg== - dependencies: - "@aws-sdk/signature-v4-multi-region" "3.525.0" - "@aws-sdk/types" "3.523.0" - "@aws-sdk/util-format-url" "3.523.0" - "@smithy/middleware-endpoint" "^2.4.4" - "@smithy/protocol-http" "^3.2.1" - "@smithy/smithy-client" "^2.4.2" - "@smithy/types" "^2.10.1" - tslib "^2.5.0" - -"@aws-sdk/signature-v4-multi-region@3.525.0": - version "3.525.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.525.0.tgz#b9b7e1079b0a8a1df4bb282216aa20b56d139ba5" - integrity sha512-j8gkdfiokaherRgokfZBl2azYBMHlegT7pOnR/3Y79TSz6G+bJeIkuNk8aUbJArr6R8nvAM1j4dt1rBM+efolQ== - dependencies: - "@aws-sdk/middleware-sdk-s3" "3.525.0" - "@aws-sdk/types" "3.523.0" - "@smithy/protocol-http" "^3.2.1" - "@smithy/signature-v4" "^2.1.3" - "@smithy/types" "^2.10.1" - tslib "^2.5.0" - -"@aws-sdk/token-providers@3.525.0": - version "3.525.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/token-providers/-/token-providers-3.525.0.tgz#370d206a06e77e29ec0f76408654b16d6612f0d2" - integrity sha512-puVjbxuK0Dq7PTQ2HdddHy2eQjOH8GZbump74yWJa6JVpRW84LlOcNmP+79x4Kscvz2ldWB8XDFw/pcCiSDe5A== - dependencies: - "@aws-sdk/client-sso-oidc" "3.525.0" - "@aws-sdk/types" "3.523.0" - "@smithy/property-provider" "^2.1.3" - "@smithy/shared-ini-file-loader" "^2.3.3" - "@smithy/types" "^2.10.1" - tslib "^2.5.0" - -"@aws-sdk/types@3.523.0", "@aws-sdk/types@^3.222.0": - version "3.523.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/types/-/types-3.523.0.tgz#2bb11390023949f31d9211212f41e245a7f03489" - integrity sha512-AqGIu4u+SxPiUuNBp2acCVcq80KDUFjxe6e3cMTvKWTzCbrVk1AXv0dAaJnCmdkWIha6zJDWxpIk/aL4EGhZ9A== - dependencies: - "@smithy/types" "^2.10.1" - tslib "^2.5.0" - -"@aws-sdk/util-arn-parser@3.495.0": - version "3.495.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-arn-parser/-/util-arn-parser-3.495.0.tgz#539f2d6dfef343a80324348f1f9a1b7eed2390f3" - integrity sha512-hwdA3XAippSEUxs7jpznwD63YYFR+LtQvlEcebPTgWR9oQgG9TfS+39PUfbnEeje1ICuOrN3lrFqFbmP9uzbMg== - dependencies: - tslib "^2.5.0" - -"@aws-sdk/util-endpoints@3.525.0": - version "3.525.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-endpoints/-/util-endpoints-3.525.0.tgz#d9f53b60e69dbe4623a4200d10be1be2ac73438f" - integrity sha512-DIW7WWU5tIGkeeKX6NJUyrEIdWMiqjLQG3XBzaUj+ufIENwNjdAHhlD8l2vX7Yr3JZRT6yN/84wBCj7Tw1xd1g== - dependencies: - "@aws-sdk/types" "3.523.0" - "@smithy/types" "^2.10.1" - "@smithy/util-endpoints" "^1.1.4" - tslib "^2.5.0" - -"@aws-sdk/util-format-url@3.523.0": - version "3.523.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-format-url/-/util-format-url-3.523.0.tgz#4c769d46f34dd351051d7f10c2cdd4499244219d" - integrity sha512-OWi+8bsEfxG4DvHkWauxyWVZMbYrezC49DbGDEu1lJgk9eqQALlyGkZHt9O8KKfyT/mdqQbR8qbpkxqYcGuHVA== - dependencies: - "@aws-sdk/types" "3.523.0" - "@smithy/querystring-builder" "^2.1.3" - "@smithy/types" "^2.10.1" - tslib "^2.5.0" + version "3.650.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/s3-request-presigner/-/s3-request-presigner-3.650.0.tgz#7719881e173b112b6e85118a298472827a0853a2" + integrity sha512-/tAzAOYjN8oTX7dYG/koNc8WI/2htJ6w2cv0Y3smkRyD9nC/s33ZJ6VplC3WBTeGv9lzHazP/EQkXz1IvJKd/Q== + dependencies: + "@aws-sdk/signature-v4-multi-region" "3.649.0" + "@aws-sdk/types" "3.649.0" + "@aws-sdk/util-format-url" "3.649.0" + "@smithy/middleware-endpoint" "^3.1.1" + "@smithy/protocol-http" "^4.1.1" + "@smithy/smithy-client" "^3.3.0" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" -"@aws-sdk/util-locate-window@^3.0.0": - version "3.495.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-locate-window/-/util-locate-window-3.495.0.tgz#9034fd8db77991b28ed20e067acdd53e8b8f824b" - integrity sha512-MfaPXT0kLX2tQaR90saBT9fWQq2DHqSSJRzW+MZWsmF+y5LGCOhO22ac/2o6TKSQm7h0HRc2GaADqYYYor62yg== +"@aws-sdk/signature-v4-multi-region@3.649.0": + version "3.649.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.649.0.tgz#04d1c8fd378ad656747ac7677bd474b7d37e096a" + integrity sha512-feJfSHtCarFmTMZSE5k7/A+m4FrdCrmotljc/AmXArWy3wl8XFyxE5tFVW/PiUgbgeoVDN+ZLt3YYtItHfNUWQ== dependencies: - tslib "^2.5.0" + "@aws-sdk/middleware-sdk-s3" "3.649.0" + "@aws-sdk/types" "3.649.0" + "@smithy/protocol-http" "^4.1.1" + "@smithy/signature-v4" "^4.1.1" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" -"@aws-sdk/util-user-agent-browser@3.523.0": - version "3.523.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.523.0.tgz#77188e83f9d470ddf140fe8c5d4d51049c9d5898" - integrity sha512-6ZRNdGHX6+HQFqTbIA5+i8RWzxFyxsZv8D3soRfpdyWIKkzhSz8IyRKXRciwKBJDaC7OX2jzGE90wxRQft27nA== +"@aws-sdk/token-providers@3.649.0": + version "3.649.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/token-providers/-/token-providers-3.649.0.tgz#19a9bb26c191e4fe761f73a2f818cda2554a7767" + integrity sha512-ZBqr+JuXI9RiN+4DSZykMx5gxpL8Dr3exIfFhxMiwAP3DQojwl0ub8ONjMuAjq9OvmX6n+jHZL6fBnNgnNFC8w== dependencies: - "@aws-sdk/types" "3.523.0" - "@smithy/types" "^2.10.1" - bowser "^2.11.0" - tslib "^2.5.0" + "@aws-sdk/types" "3.649.0" + "@smithy/property-provider" "^3.1.4" + "@smithy/shared-ini-file-loader" "^3.1.5" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" + +"@aws-sdk/types@3.649.0", "@aws-sdk/types@^3.222.0": + version "3.649.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/types/-/types-3.649.0.tgz#a6828e6338dc755e0c30b5f77321e63425a88aed" + integrity sha512-PuPw8RysbhJNlaD2d/PzOTf8sbf4Dsn2b7hwyGh7YVG3S75yTpxSAZxrnhKsz9fStgqFmnw/jUfV/G+uQAeTVw== + dependencies: + "@smithy/types" "^3.4.0" + tslib "^2.6.2" -"@aws-sdk/util-user-agent-node@3.525.0": - version "3.525.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.525.0.tgz#aa96c28bad8360d2a350c30c3c209c35f99ac5ee" - integrity sha512-88Wjt4efyUSBGcyIuh1dvoMqY1k15jpJc5A/3yi67clBQEFsu9QCodQCQPqmRjV3VRcMtBOk+jeCTiUzTY5dRQ== +"@aws-sdk/util-arn-parser@3.568.0": + version "3.568.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-arn-parser/-/util-arn-parser-3.568.0.tgz#6a19a8c6bbaa520b6be1c278b2b8c17875b91527" + integrity sha512-XUKJWWo+KOB7fbnPP0+g/o5Ulku/X53t7i/h+sPHr5xxYTJJ9CYnbToo95mzxe7xWvkLrsNtJ8L+MnNn9INs2w== dependencies: - "@aws-sdk/types" "3.523.0" - "@smithy/node-config-provider" "^2.2.4" - "@smithy/types" "^2.10.1" - tslib "^2.5.0" + tslib "^2.6.2" -"@aws-sdk/util-utf8-browser@^3.0.0": - version "3.259.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/util-utf8-browser/-/util-utf8-browser-3.259.0.tgz#3275a6f5eb334f96ca76635b961d3c50259fd9ff" - integrity sha512-UvFa/vR+e19XookZF8RzFZBrw2EUkQWxiBW0yYQAhvk3C+QVGl0H3ouca8LDBlBfQKXwmW3huo/59H8rwb1wJw== +"@aws-sdk/util-endpoints@3.649.0": + version "3.649.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-endpoints/-/util-endpoints-3.649.0.tgz#0f359a87ddbe8a4dbce11a8f7f9e295a3b9e6612" + integrity sha512-bZI1Wc3R/KibdDVWFxX/N4AoJFG4VJ92Dp4WYmOrVD6VPkb8jPz7ZeiYc7YwPl8NoDjYyPneBV0lEoK/V8OKAA== dependencies: - tslib "^2.3.1" + "@aws-sdk/types" "3.649.0" + "@smithy/types" "^3.4.0" + "@smithy/util-endpoints" "^2.1.0" + tslib "^2.6.2" -"@aws-sdk/xml-builder@3.523.0": - version "3.523.0" - resolved "https://registry.yarnpkg.com/@aws-sdk/xml-builder/-/xml-builder-3.523.0.tgz#6abdaf5716f6c7153c328bbbd499345fae755dce" - integrity sha512-wfvyVymj2TUw7SuDor9IuFcAzJZvWRBZotvY/wQJOlYa3UP3Oezzecy64N4FWfBJEsZdrTN+HOZFl+IzTWWnUA== +"@aws-sdk/util-format-url@3.649.0": + version "3.649.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-format-url/-/util-format-url-3.649.0.tgz#abcaaa618088dbcd8b24ab51d82d259ecb041388" + integrity sha512-I5olOLkXQRJWAaoTSTXcycNBJ26daeEpgxYD6VPpQma9StFVK7a0MbHa1QGkOy9eVTTuf6xb2U1eiCWDWn3TXA== dependencies: - "@smithy/types" "^2.10.1" - tslib "^2.5.0" + "@aws-sdk/types" "3.649.0" + "@smithy/querystring-builder" "^3.0.4" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" + +"@aws-sdk/util-locate-window@^3.0.0": + version "3.568.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-locate-window/-/util-locate-window-3.568.0.tgz#2acc4b2236af0d7494f7e517401ba6b3c4af11ff" + integrity sha512-3nh4TINkXYr+H41QaPelCceEB2FXP3fxp93YZXB/kqJvX0U9j0N0Uk45gvsjmEPzG8XxkPEeLIfT2I1M7A6Lig== + dependencies: + tslib "^2.6.2" + +"@aws-sdk/util-user-agent-browser@3.649.0": + version "3.649.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.649.0.tgz#fa533fe882757f82b7b9f2927dda8111f3601b33" + integrity sha512-IY43r256LhKAvdEVQO/FPdUyVpcZS5EVxh/WHVdNzuN1bNLoUK2rIzuZqVA0EGguvCxoXVmQv9m50GvG7cGktg== + dependencies: + "@aws-sdk/types" "3.649.0" + "@smithy/types" "^3.4.0" + bowser "^2.11.0" + tslib "^2.6.2" + +"@aws-sdk/util-user-agent-node@3.649.0": + version "3.649.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.649.0.tgz#715e490b190fe7fb7df0d83be7e84a31be99cb11" + integrity sha512-x5DiLpZDG/AJmCIBnE3Xhpwy35QIo3WqNiOpw6ExVs1NydbM/e90zFPSfhME0FM66D/WorigvluBxxwjxDm/GA== + dependencies: + "@aws-sdk/types" "3.649.0" + "@smithy/node-config-provider" "^3.1.5" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" + +"@aws-sdk/xml-builder@3.649.0": + version "3.649.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/xml-builder/-/xml-builder-3.649.0.tgz#b61ecce737444a3b2f2102f00544db1ef7a90e2e" + integrity sha512-XVESKkK7m5LdCVzZ3NvAja40BEyCrfPqtaiFAAhJIvW2U1Edyugf2o3XikuQY62crGT6BZagxJFgOiLKvuTiTg== + dependencies: + "@smithy/types" "^3.4.0" + tslib "^2.6.2" "@azure/abort-controller@^1.0.0": version "1.1.0" @@ -8184,469 +8164,495 @@ dependencies: "@sinonjs/commons" "^1.7.0" -"@smithy/abort-controller@^2.1.3": - version "2.1.3" - resolved "https://registry.yarnpkg.com/@smithy/abort-controller/-/abort-controller-2.1.3.tgz#19997b701b36294c8d27bbc5e59167da2c719fae" - integrity sha512-c2aYH2Wu1RVE3rLlVgg2kQOBJGM0WbjReQi5DnPTm2Zb7F0gk7J2aeQeaX2u/lQZoHl6gv8Oac7mt9alU3+f4A== +"@smithy/abort-controller@^3.1.2": + version "3.1.2" + resolved "https://registry.yarnpkg.com/@smithy/abort-controller/-/abort-controller-3.1.2.tgz#95ac6b07480d0d2afbcface3f0f1ddc3ae6373d7" + integrity sha512-b5g+PNujlfqIib9BjkNB108NyO5aZM/RXjfOCXRCqXQ1oPnIkfvdORrztbGgCZdPe/BN/MKDlrGA7PafKPM2jw== dependencies: - "@smithy/types" "^2.10.1" - tslib "^2.5.0" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" -"@smithy/chunked-blob-reader-native@^2.1.1": - version "2.1.1" - resolved "https://registry.yarnpkg.com/@smithy/chunked-blob-reader-native/-/chunked-blob-reader-native-2.1.1.tgz#6b98479c8f6ea94832dd6a6e5ca78969a44eafe1" - integrity sha512-zNW+43dltfNMUrBEYLMWgI8lQr0uhtTcUyxkgC9EP4j17WREzgSFMPUFVrVV6Rc2+QtWERYjb4tzZnQGa7R9fQ== +"@smithy/chunked-blob-reader-native@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/chunked-blob-reader-native/-/chunked-blob-reader-native-3.0.0.tgz#f1104b30030f76f9aadcbd3cdca4377bd1ba2695" + integrity sha512-VDkpCYW+peSuM4zJip5WDfqvg2Mo/e8yxOv3VF1m11y7B8KKMKVFtmZWDe36Fvk8rGuWrPZHHXZ7rR7uM5yWyg== dependencies: - "@smithy/util-base64" "^2.1.1" - tslib "^2.5.0" + "@smithy/util-base64" "^3.0.0" + tslib "^2.6.2" -"@smithy/chunked-blob-reader@^2.1.1": - version "2.1.1" - resolved "https://registry.yarnpkg.com/@smithy/chunked-blob-reader/-/chunked-blob-reader-2.1.1.tgz#997faba8e197e0cb9824dad30ae581466e386e57" - integrity sha512-NjNFCKxC4jVvn+lUr3Yo4/PmUJj3tbyqH6GNHueyTGS5Q27vlEJ1MkNhUDV8QGxJI7Bodnc2pD18lU2zRfhHlQ== +"@smithy/chunked-blob-reader@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/chunked-blob-reader/-/chunked-blob-reader-3.0.0.tgz#e5d3b04e9b273ba8b7ede47461e2aa96c8aa49e0" + integrity sha512-sbnURCwjF0gSToGlsBiAmd1lRCmSn72nu9axfJu5lIx6RUEgHu6GwTMbqCdhQSi0Pumcm5vFxsi9XWXb2mTaoA== dependencies: - tslib "^2.5.0" + tslib "^2.6.2" -"@smithy/config-resolver@^2.1.4": - version "2.1.4" - resolved "https://registry.yarnpkg.com/@smithy/config-resolver/-/config-resolver-2.1.4.tgz#cb870f82494b10c223c60ba4298b438d9185b4be" - integrity sha512-AW2WUZmBAzgO3V3ovKtsUbI3aBNMeQKFDumoqkNxaVDWF/xfnxAWqBKDr/NuG7c06N2Rm4xeZLPiJH/d+na0HA== +"@smithy/config-resolver@^3.0.6": + version "3.0.6" + resolved "https://registry.yarnpkg.com/@smithy/config-resolver/-/config-resolver-3.0.6.tgz#5906cb8fcbadb784930c55a578589aaa6650a52f" + integrity sha512-j7HuVNoRd8EhcFp0MzcUb4fG40C7BcyshH+fAd3Jhd8bINNFvEQYBrZoS/SK6Pun9WPlfoI8uuU2SMz8DsEGlA== dependencies: - "@smithy/node-config-provider" "^2.2.4" - "@smithy/types" "^2.10.1" - "@smithy/util-config-provider" "^2.2.1" - "@smithy/util-middleware" "^2.1.3" - tslib "^2.5.0" + "@smithy/node-config-provider" "^3.1.5" + "@smithy/types" "^3.4.0" + "@smithy/util-config-provider" "^3.0.0" + "@smithy/util-middleware" "^3.0.4" + tslib "^2.6.2" -"@smithy/core@^1.3.5": - version "1.3.5" - resolved "https://registry.yarnpkg.com/@smithy/core/-/core-1.3.5.tgz#7523da67b49e165e09ee8019601bea410bf92c38" - integrity sha512-Rrc+e2Jj6Gu7Xbn0jvrzZlSiP2CZocIOfZ9aNUA82+1sa6GBnxqL9+iZ9EKHeD9aqD1nU8EK4+oN2EiFpSv7Yw== - dependencies: - "@smithy/middleware-endpoint" "^2.4.4" - "@smithy/middleware-retry" "^2.1.4" - "@smithy/middleware-serde" "^2.1.3" - "@smithy/protocol-http" "^3.2.1" - "@smithy/smithy-client" "^2.4.2" - "@smithy/types" "^2.10.1" - "@smithy/util-middleware" "^2.1.3" - tslib "^2.5.0" - -"@smithy/credential-provider-imds@^2.2.3", "@smithy/credential-provider-imds@^2.2.4": - version "2.2.4" - resolved "https://registry.yarnpkg.com/@smithy/credential-provider-imds/-/credential-provider-imds-2.2.4.tgz#7b237ad8623b782578335b61a616c5463b13451b" - integrity sha512-DdatjmBZQnhGe1FhI8gO98f7NmvQFSDiZTwC3WMvLTCKQUY+Y1SVkhJqIuLu50Eb7pTheoXQmK+hKYUgpUWsNA== +"@smithy/core@^2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@smithy/core/-/core-2.4.1.tgz#6694d79ba6e4a185a0baa731ba6584420291521e" + integrity sha512-7cts7/Oni7aCHebHGiBeWoz5z+vmH+Vx2Z/UW3XtXMslcxI3PEwBZxNinepwZjixS3n12fPc247PHWmjU7ndsQ== + dependencies: + "@smithy/middleware-endpoint" "^3.1.1" + "@smithy/middleware-retry" "^3.0.16" + "@smithy/middleware-serde" "^3.0.4" + "@smithy/protocol-http" "^4.1.1" + "@smithy/smithy-client" "^3.3.0" + "@smithy/types" "^3.4.0" + "@smithy/util-body-length-browser" "^3.0.0" + "@smithy/util-middleware" "^3.0.4" + "@smithy/util-utf8" "^3.0.0" + tslib "^2.6.2" + +"@smithy/credential-provider-imds@^3.2.1": + version "3.2.1" + resolved "https://registry.yarnpkg.com/@smithy/credential-provider-imds/-/credential-provider-imds-3.2.1.tgz#f5871549d01db304c3d5c52dd6591652ebfdfa9e" + integrity sha512-4z/oTWpRF2TqQI3aCM89/PWu3kim58XU4kOCTtuTJnoaS4KT95cPWMxbQfTN2vzcOe96SOKO8QouQW/+ESB1fQ== dependencies: - "@smithy/node-config-provider" "^2.2.4" - "@smithy/property-provider" "^2.1.3" - "@smithy/types" "^2.10.1" - "@smithy/url-parser" "^2.1.3" - tslib "^2.5.0" + "@smithy/node-config-provider" "^3.1.5" + "@smithy/property-provider" "^3.1.4" + "@smithy/types" "^3.4.0" + "@smithy/url-parser" "^3.0.4" + tslib "^2.6.2" -"@smithy/eventstream-codec@^2.1.3": - version "2.1.3" - resolved "https://registry.yarnpkg.com/@smithy/eventstream-codec/-/eventstream-codec-2.1.3.tgz#6be114d3c4d94f3bfd2e32cb258851baa6129acf" - integrity sha512-rGlCVuwSDv6qfKH4/lRxFjcZQnIE0LZ3D4lkMHg7ZSltK9rA74r0VuGSvWVQ4N/d70VZPaniFhp4Z14QYZsa+A== +"@smithy/eventstream-codec@^3.1.3": + version "3.1.3" + resolved "https://registry.yarnpkg.com/@smithy/eventstream-codec/-/eventstream-codec-3.1.3.tgz#a1ac71108c349b6f156ff91dbbf38b4b20d95aee" + integrity sha512-mKBrmhg6Zd3j07G9dkKTGmrU7pdJGTNz8LbZtIOR3QoodS5yDNqEqoXU4Eg38snZcnCAh7NPBsw5ndxtJPLiCg== dependencies: - "@aws-crypto/crc32" "3.0.0" - "@smithy/types" "^2.10.1" - "@smithy/util-hex-encoding" "^2.1.1" - tslib "^2.5.0" + "@aws-crypto/crc32" "5.2.0" + "@smithy/types" "^3.4.0" + "@smithy/util-hex-encoding" "^3.0.0" + tslib "^2.6.2" -"@smithy/eventstream-serde-browser@^2.1.3": - version "2.1.3" - resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-browser/-/eventstream-serde-browser-2.1.3.tgz#97427465aa277e66d3dcacab5f2bae890949a890" - integrity sha512-qAgKbZ9m2oBfSyJWWurX/MvQFRPrYypj79cDSleEgDwBoez6Tfd+FTpu2L/j3ZeC3mDlDHIKWksoeaXZpLLAHw== +"@smithy/eventstream-serde-browser@^3.0.7": + version "3.0.7" + resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-browser/-/eventstream-serde-browser-3.0.7.tgz#0448ada47cf7e99abdfefe980090ea2b8abbff8d" + integrity sha512-UC4RQqyM8B0g5cX/xmWtsNgSBmZ13HrzCqoe5Ulcz6R462/egbIdfTXnayik7jkjvwOrCPL1N11Q9S+n68jPLA== dependencies: - "@smithy/eventstream-serde-universal" "^2.1.3" - "@smithy/types" "^2.10.1" - tslib "^2.5.0" + "@smithy/eventstream-serde-universal" "^3.0.6" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" -"@smithy/eventstream-serde-config-resolver@^2.1.3": - version "2.1.3" - resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-config-resolver/-/eventstream-serde-config-resolver-2.1.3.tgz#09487fd5e3c22c7e53ff74d14de3924ab16b8751" - integrity sha512-48rvsNv/MgAFCxOE0qwR7ZwKhaEdDoTxqH5HM+T6SDxICmPGb7gEuQzjTxQhcieCPgqyXeZFW8cU0QJxdowuIg== +"@smithy/eventstream-serde-config-resolver@^3.0.4": + version "3.0.4" + resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-config-resolver/-/eventstream-serde-config-resolver-3.0.4.tgz#1ef67a2f78da7b30ec728a8863933fa2d088330b" + integrity sha512-saIs5rtAMpifqL7u7nc5YeE/6gkenzXpSz5NwEyhIesRWtHK+zEuYn9KY8SArZEbPSHyGxvvgKk1z86VzfUGHw== dependencies: - "@smithy/types" "^2.10.1" - tslib "^2.5.0" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" -"@smithy/eventstream-serde-node@^2.1.3": - version "2.1.3" - resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-node/-/eventstream-serde-node-2.1.3.tgz#f51bf8e4eba9d1aaa995200a36c3d3fb5a29734d" - integrity sha512-RPJWWDhj8isk3NtGfm3Xt1WdHyX9ZE42V+m1nLU1I0zZ1hEol/oawHsTnhva/VR5bn+bJ2zscx+BYr0cEPRtmg== +"@smithy/eventstream-serde-node@^3.0.6": + version "3.0.6" + resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-node/-/eventstream-serde-node-3.0.6.tgz#d04c31f8fe4aab29f2edbff8ea6519fe50405e43" + integrity sha512-gRKGBdZah3EjZZgWcsTpShq4cZ4Q4JTTe1OPob+jrftmbYj6CvpeydZbH0roO5SvBG8SI3aBZIet9TGN3zUxUw== dependencies: - "@smithy/eventstream-serde-universal" "^2.1.3" - "@smithy/types" "^2.10.1" - tslib "^2.5.0" + "@smithy/eventstream-serde-universal" "^3.0.6" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" -"@smithy/eventstream-serde-universal@^2.1.3": - version "2.1.3" - resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-universal/-/eventstream-serde-universal-2.1.3.tgz#79ab2e313c4e6621d8d9ecb98e0c826e9d8d21da" - integrity sha512-ssvSMk1LX2jRhiOVgVLGfNJXdB8SvyjieKcJDHq698Gi3LOog6g/+l7ggrN+hZxyjUiDF4cUxgKaZTBUghzhLw== +"@smithy/eventstream-serde-universal@^3.0.6": + version "3.0.6" + resolved "https://registry.yarnpkg.com/@smithy/eventstream-serde-universal/-/eventstream-serde-universal-3.0.6.tgz#d233d08bf4b27d9bf4b1e727d866694470966797" + integrity sha512-1jvXd4sFG+zKaL6WqrJXpL6E+oAMafuM5GPd4qF0+ccenZTX3DZugoCCjlooQyTh+TZho2FpdVYUf5J/bB/j6Q== dependencies: - "@smithy/eventstream-codec" "^2.1.3" - "@smithy/types" "^2.10.1" - tslib "^2.5.0" + "@smithy/eventstream-codec" "^3.1.3" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" -"@smithy/fetch-http-handler@^2.4.3": - version "2.4.3" - resolved "https://registry.yarnpkg.com/@smithy/fetch-http-handler/-/fetch-http-handler-2.4.3.tgz#568bd2031af242fc9172e41dfb364d36d48631d1" - integrity sha512-Fn/KYJFo6L5I4YPG8WQb2hOmExgRmNpVH5IK2zU3JKrY5FKW7y9ar5e0BexiIC9DhSKqKX+HeWq/Y18fq7Dkpw== +"@smithy/fetch-http-handler@^3.2.5": + version "3.2.5" + resolved "https://registry.yarnpkg.com/@smithy/fetch-http-handler/-/fetch-http-handler-3.2.5.tgz#c9a6c6c35895ffdfd98b992ecebb1344418d1932" + integrity sha512-DjRtGmK8pKQMIo9+JlAKUt14Z448bg8nAN04yKIvlrrpmpRSG57s5d2Y83npks1r4gPtTRNbAFdQCoj9l3P2KQ== dependencies: - "@smithy/protocol-http" "^3.2.1" - "@smithy/querystring-builder" "^2.1.3" - "@smithy/types" "^2.10.1" - "@smithy/util-base64" "^2.1.1" - tslib "^2.5.0" + "@smithy/protocol-http" "^4.1.1" + "@smithy/querystring-builder" "^3.0.4" + "@smithy/types" "^3.4.0" + "@smithy/util-base64" "^3.0.0" + tslib "^2.6.2" -"@smithy/hash-blob-browser@^2.1.3": - version "2.1.3" - resolved "https://registry.yarnpkg.com/@smithy/hash-blob-browser/-/hash-blob-browser-2.1.3.tgz#f63b391a8bedf640ad120d576c485a10f16c280b" - integrity sha512-sHLTM5xQYw5Wxz07DFo+eh1PVC6P5+kazQRF1k5nsvOhZG5VnkIy4LZ7N0ZNWqJx16g9otGd5MvqUOpb3WWtgA== +"@smithy/hash-blob-browser@^3.1.3": + version "3.1.3" + resolved "https://registry.yarnpkg.com/@smithy/hash-blob-browser/-/hash-blob-browser-3.1.3.tgz#6649bf55590fc0489e0d91d310017b8359c0d7ae" + integrity sha512-im9wAU9mANWW0OP0YGqwX3lw0nXG0ngyIcKQ8V/MUz1r7A6uO2lpPqKmAsH4VPGNLP2JPUhj4aW/m5UKkxX/IA== dependencies: - "@smithy/chunked-blob-reader" "^2.1.1" - "@smithy/chunked-blob-reader-native" "^2.1.1" - "@smithy/types" "^2.10.1" - tslib "^2.5.0" + "@smithy/chunked-blob-reader" "^3.0.0" + "@smithy/chunked-blob-reader-native" "^3.0.0" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" -"@smithy/hash-node@^2.1.3": - version "2.1.3" - resolved "https://registry.yarnpkg.com/@smithy/hash-node/-/hash-node-2.1.3.tgz#649b056966e1cba9f738236cbf4f05e8e9820deb" - integrity sha512-FsAPCUj7VNJIdHbSxMd5uiZiF20G2zdSDgrgrDrHqIs/VMxK85Vqk5kMVNNDMCZmMezp6UKnac0B4nAyx7HJ9g== +"@smithy/hash-node@^3.0.4": + version "3.0.4" + resolved "https://registry.yarnpkg.com/@smithy/hash-node/-/hash-node-3.0.4.tgz#4d1770a73698292997b9ff27435ed4d51a39e758" + integrity sha512-6FgTVqEfCr9z/7+Em8BwSkJKA2y3krf1em134x3yr2NHWVCo2KYI8tcA53cjeO47y41jwF84ntsEE0Pe6pNKlg== dependencies: - "@smithy/types" "^2.10.1" - "@smithy/util-buffer-from" "^2.1.1" - "@smithy/util-utf8" "^2.1.1" - tslib "^2.5.0" + "@smithy/types" "^3.4.0" + "@smithy/util-buffer-from" "^3.0.0" + "@smithy/util-utf8" "^3.0.0" + tslib "^2.6.2" -"@smithy/hash-stream-node@^2.1.3": - version "2.1.3" - resolved "https://registry.yarnpkg.com/@smithy/hash-stream-node/-/hash-stream-node-2.1.3.tgz#c61f5d10cc236cef69af1278a552a42162bc254c" - integrity sha512-fWpUx2ca/u5lcD5RhNJogEG5FD7H0RDDpYmfQgxFqIUv3Ow7bZsapMukh8uzQPVO8R+NDAvSdxmgXoy4Hz8sFw== +"@smithy/hash-stream-node@^3.1.3": + version "3.1.3" + resolved "https://registry.yarnpkg.com/@smithy/hash-stream-node/-/hash-stream-node-3.1.3.tgz#dfd3efb60a2bb9fe6c3131dd73cb8d0c5ecc1b4b" + integrity sha512-Tz/eTlo1ffqYn+19VaMjDDbmEWqYe4DW1PAWaS8HvgRdO6/k9hxNPt8Wv5laXoilxE20YzKugiHvxHyO6J7kGA== dependencies: - "@smithy/types" "^2.10.1" - "@smithy/util-utf8" "^2.1.1" - tslib "^2.5.0" + "@smithy/types" "^3.4.0" + "@smithy/util-utf8" "^3.0.0" + tslib "^2.6.2" -"@smithy/invalid-dependency@^2.1.3": - version "2.1.3" - resolved "https://registry.yarnpkg.com/@smithy/invalid-dependency/-/invalid-dependency-2.1.3.tgz#0f0895d3db2e03493f933e10c27551f059b92b6c" - integrity sha512-wkra7d/G4CbngV4xsjYyAYOvdAhahQje/WymuQdVEnXFExJopEu7fbL5AEAlBPgWHXwu94VnCSG00gVzRfExyg== +"@smithy/invalid-dependency@^3.0.4": + version "3.0.4" + resolved "https://registry.yarnpkg.com/@smithy/invalid-dependency/-/invalid-dependency-3.0.4.tgz#aabb949b6aa15e38d8054b2397c143ef32efe14a" + integrity sha512-MJBUrojC4SEXi9aJcnNOE3oNAuYNphgCGFXscaCj2TA/59BTcXhzHACP8jnnEU3n4yir/NSLKzxqez0T4x4tjA== dependencies: - "@smithy/types" "^2.10.1" - tslib "^2.5.0" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" -"@smithy/is-array-buffer@^2.1.1": - version "2.1.1" - resolved "https://registry.yarnpkg.com/@smithy/is-array-buffer/-/is-array-buffer-2.1.1.tgz#07b4c77ae67ed58a84400c76edd482271f9f957b" - integrity sha512-xozSQrcUinPpNPNPds4S7z/FakDTh1MZWtRP/2vQtYB/u3HYrX2UXuZs+VhaKBd6Vc7g2XPr2ZtwGBNDN6fNKQ== +"@smithy/is-array-buffer@^2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@smithy/is-array-buffer/-/is-array-buffer-2.2.0.tgz#f84f0d9f9a36601a9ca9381688bd1b726fd39111" + integrity sha512-GGP3O9QFD24uGeAXYUjwSTXARoqpZykHadOmA8G5vfJPK0/DC67qa//0qvqrJzL1xc8WQWX7/yc7fwudjPHPhA== dependencies: - tslib "^2.5.0" + tslib "^2.6.2" -"@smithy/md5-js@^2.1.3": - version "2.1.3" - resolved "https://registry.yarnpkg.com/@smithy/md5-js/-/md5-js-2.1.3.tgz#edf6a570a06fe84a126db90e335d6a5a12b25c69" - integrity sha512-zmn3M6+mP4IJlSmXBN9964AztgkIO8b5lRzAgdJn9AdCFwA6xLkcW2B6uEnpBjvotxtQMmXTUP19tIO7NmFPpw== +"@smithy/is-array-buffer@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/is-array-buffer/-/is-array-buffer-3.0.0.tgz#9a95c2d46b8768946a9eec7f935feaddcffa5e7a" + integrity sha512-+Fsu6Q6C4RSJiy81Y8eApjEB5gVtM+oFKTffg+jSuwtvomJJrhUJBu2zS8wjXSgH/g1MKEWrzyChTBe6clb5FQ== dependencies: - "@smithy/types" "^2.10.1" - "@smithy/util-utf8" "^2.1.1" - tslib "^2.5.0" + tslib "^2.6.2" -"@smithy/middleware-content-length@^2.1.3": - version "2.1.3" - resolved "https://registry.yarnpkg.com/@smithy/middleware-content-length/-/middleware-content-length-2.1.3.tgz#243d74789a311366948dec5a85b03146ac580c51" - integrity sha512-aJduhkC+dcXxdnv5ZpM3uMmtGmVFKx412R1gbeykS5HXDmRU6oSsyy2SoHENCkfOGKAQOjVE2WVqDJibC0d21g== +"@smithy/md5-js@^3.0.4": + version "3.0.4" + resolved "https://registry.yarnpkg.com/@smithy/md5-js/-/md5-js-3.0.4.tgz#6a8d40cf9e51c65fc6074aed977acd23ff4f6589" + integrity sha512-qSlqr/+hybufIJgxQW2gYzGE6ywfOxkjjJVojbbmv4MtxfdDFfzRew+NOIOXcYgazW0f8OYBTIKsmNsjxpvnng== dependencies: - "@smithy/protocol-http" "^3.2.1" - "@smithy/types" "^2.10.1" - tslib "^2.5.0" + "@smithy/types" "^3.4.0" + "@smithy/util-utf8" "^3.0.0" + tslib "^2.6.2" -"@smithy/middleware-endpoint@^2.4.4": - version "2.4.4" - resolved "https://registry.yarnpkg.com/@smithy/middleware-endpoint/-/middleware-endpoint-2.4.4.tgz#aa42dc8340a8511a8c66d597cf774e27f0109dd9" - integrity sha512-4yjHyHK2Jul4JUDBo2sTsWY9UshYUnXeb/TAK/MTaPEb8XQvDmpwSFnfIRDU45RY1a6iC9LCnmJNg/yHyfxqkw== - dependencies: - "@smithy/middleware-serde" "^2.1.3" - "@smithy/node-config-provider" "^2.2.4" - "@smithy/shared-ini-file-loader" "^2.3.4" - "@smithy/types" "^2.10.1" - "@smithy/url-parser" "^2.1.3" - "@smithy/util-middleware" "^2.1.3" - tslib "^2.5.0" - -"@smithy/middleware-retry@^2.1.4": - version "2.1.4" - resolved "https://registry.yarnpkg.com/@smithy/middleware-retry/-/middleware-retry-2.1.4.tgz#a468c64b0186b8edeef444ee9249a88675f3fe23" - integrity sha512-Cyolv9YckZTPli1EkkaS39UklonxMd08VskiuMhURDjC0HHa/AD6aK/YoD21CHv9s0QLg0WMLvk9YeLTKkXaFQ== - dependencies: - "@smithy/node-config-provider" "^2.2.4" - "@smithy/protocol-http" "^3.2.1" - "@smithy/service-error-classification" "^2.1.3" - "@smithy/smithy-client" "^2.4.2" - "@smithy/types" "^2.10.1" - "@smithy/util-middleware" "^2.1.3" - "@smithy/util-retry" "^2.1.3" - tslib "^2.5.0" - uuid "^8.3.2" +"@smithy/middleware-content-length@^3.0.6": + version "3.0.6" + resolved "https://registry.yarnpkg.com/@smithy/middleware-content-length/-/middleware-content-length-3.0.6.tgz#4837dafcfc085f1b9523d0784d05b87b569ad4ce" + integrity sha512-AFyHCfe8rumkJkz+hCOVJmBagNBj05KypyDwDElA4TgMSA4eYDZRjVePFZuyABrJZFDc7uVj3dpFIDCEhf59SA== + dependencies: + "@smithy/protocol-http" "^4.1.1" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" -"@smithy/middleware-serde@^2.1.3": - version "2.1.3" - resolved "https://registry.yarnpkg.com/@smithy/middleware-serde/-/middleware-serde-2.1.3.tgz#dbb3c4257b66fdab3019809106b02f953bd42a44" - integrity sha512-s76LId+TwASrHhUa9QS4k/zeXDUAuNuddKklQzRgumbzge5BftVXHXIqL4wQxKGLocPwfgAOXWx+HdWhQk9hTg== +"@smithy/middleware-endpoint@^3.1.1": + version "3.1.1" + resolved "https://registry.yarnpkg.com/@smithy/middleware-endpoint/-/middleware-endpoint-3.1.1.tgz#d718719e45e8f7087cf0d9bbfff5fc6364c5fde0" + integrity sha512-Irv+soW8NKluAtFSEsF8O3iGyLxa5oOevJb/e1yNacV9H7JP/yHyJuKST5YY2ORS1+W34VR8EuUrOF+K29Pl4g== + dependencies: + "@smithy/middleware-serde" "^3.0.4" + "@smithy/node-config-provider" "^3.1.5" + "@smithy/shared-ini-file-loader" "^3.1.5" + "@smithy/types" "^3.4.0" + "@smithy/url-parser" "^3.0.4" + "@smithy/util-middleware" "^3.0.4" + tslib "^2.6.2" + +"@smithy/middleware-retry@^3.0.16": + version "3.0.16" + resolved "https://registry.yarnpkg.com/@smithy/middleware-retry/-/middleware-retry-3.0.16.tgz#aca6099a2e73c9be0c7a49eccbca5d1d73eaadf3" + integrity sha512-08kI36p1yB4CWO3Qi+UQxjzobt8iQJpnruF0K5BkbZmA/N/sJ51A1JJGJ36GgcbFyPfWw2FU48S5ZoqXt0h0jw== + dependencies: + "@smithy/node-config-provider" "^3.1.5" + "@smithy/protocol-http" "^4.1.1" + "@smithy/service-error-classification" "^3.0.4" + "@smithy/smithy-client" "^3.3.0" + "@smithy/types" "^3.4.0" + "@smithy/util-middleware" "^3.0.4" + "@smithy/util-retry" "^3.0.4" + tslib "^2.6.2" + uuid "^9.0.1" + +"@smithy/middleware-serde@^3.0.4": + version "3.0.4" + resolved "https://registry.yarnpkg.com/@smithy/middleware-serde/-/middleware-serde-3.0.4.tgz#86f0d3c2bf17334b165be96f504a37357a70f576" + integrity sha512-1lPDB2O6IJ50Ucxgn7XrvZXbbuI48HmPCcMTuSoXT1lDzuTUfIuBjgAjpD8YLVMfnrjdepi/q45556LA51Pubw== dependencies: - "@smithy/types" "^2.10.1" - tslib "^2.5.0" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" -"@smithy/middleware-stack@^2.1.3": - version "2.1.3" - resolved "https://registry.yarnpkg.com/@smithy/middleware-stack/-/middleware-stack-2.1.3.tgz#7cf77e6ad5c885bc0b8b0857e9349017d530f7d1" - integrity sha512-opMFufVQgvBSld/b7mD7OOEBxF6STyraVr1xel1j0abVILM8ALJvRoFbqSWHGmaDlRGIiV9Q5cGbWi0sdiEaLQ== +"@smithy/middleware-stack@^3.0.4": + version "3.0.4" + resolved "https://registry.yarnpkg.com/@smithy/middleware-stack/-/middleware-stack-3.0.4.tgz#85b98320fff51457e9720b2c17e8f3f97c39a88c" + integrity sha512-sLMRjtMCqtVcrOqaOZ10SUnlFE25BSlmLsi4bRSGFD7dgR54eqBjfqkVkPBQyrKBortfGM0+2DJoUPcGECR+nQ== dependencies: - "@smithy/types" "^2.10.1" - tslib "^2.5.0" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" -"@smithy/node-config-provider@^2.2.4": - version "2.2.4" - resolved "https://registry.yarnpkg.com/@smithy/node-config-provider/-/node-config-provider-2.2.4.tgz#6c2406a47c4ece45f158a282bb148a6be7867817" - integrity sha512-nqazHCp8r4KHSFhRQ+T0VEkeqvA0U+RhehBSr1gunUuNW3X7j0uDrWBxB2gE9eutzy6kE3Y7L+Dov/UXT871vg== +"@smithy/node-config-provider@^3.1.5": + version "3.1.5" + resolved "https://registry.yarnpkg.com/@smithy/node-config-provider/-/node-config-provider-3.1.5.tgz#983fa77aa6782acb7d4f0facf5ff27f5bd2fac5c" + integrity sha512-dq/oR3/LxgCgizVk7in7FGTm0w9a3qM4mg3IIXLTCHeW3fV+ipssSvBZ2bvEx1+asfQJTyCnVLeYf7JKfd9v3Q== dependencies: - "@smithy/property-provider" "^2.1.3" - "@smithy/shared-ini-file-loader" "^2.3.4" - "@smithy/types" "^2.10.1" - tslib "^2.5.0" + "@smithy/property-provider" "^3.1.4" + "@smithy/shared-ini-file-loader" "^3.1.5" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" -"@smithy/node-http-handler@^2.4.1": - version "2.4.1" - resolved "https://registry.yarnpkg.com/@smithy/node-http-handler/-/node-http-handler-2.4.1.tgz#08409108460fcfaa9068f78e1ef655d7af952fef" - integrity sha512-HCkb94soYhJMxPCa61wGKgmeKpJ3Gftx1XD6bcWEB2wMV1L9/SkQu/6/ysKBnbOzWRE01FGzwrTxucHypZ8rdg== +"@smithy/node-http-handler@^3.2.0": + version "3.2.0" + resolved "https://registry.yarnpkg.com/@smithy/node-http-handler/-/node-http-handler-3.2.0.tgz#0473f3cfb88779dacdcbafa877dbf74aac4f1c82" + integrity sha512-5TFqaABbiY7uJMKbqR4OARjwI/l4TRoysDJ75pLpVQyO3EcmeloKYwDGyCtgB9WJniFx3BMkmGCB9+j+QiB+Ww== dependencies: - "@smithy/abort-controller" "^2.1.3" - "@smithy/protocol-http" "^3.2.1" - "@smithy/querystring-builder" "^2.1.3" - "@smithy/types" "^2.10.1" - tslib "^2.5.0" + "@smithy/abort-controller" "^3.1.2" + "@smithy/protocol-http" "^4.1.1" + "@smithy/querystring-builder" "^3.0.4" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" -"@smithy/property-provider@^2.1.3": - version "2.1.3" - resolved "https://registry.yarnpkg.com/@smithy/property-provider/-/property-provider-2.1.3.tgz#faaa9b7f605725168493e74600a74beca1b059fb" - integrity sha512-bMz3se+ySKWNrgm7eIiQMa2HO/0fl2D0HvLAdg9pTMcpgp4SqOAh6bz7Ik6y7uQqSrk4rLjIKgbQ6yzYgGehCQ== +"@smithy/property-provider@^3.1.4": + version "3.1.4" + resolved "https://registry.yarnpkg.com/@smithy/property-provider/-/property-provider-3.1.4.tgz#2d4f0db3a517d283c2b879f3a01673324955013b" + integrity sha512-BmhefQbfkSl9DeU0/e6k9N4sT5bya5etv2epvqLUz3eGyfRBhtQq60nDkc1WPp4c+KWrzK721cUc/3y0f2psPQ== dependencies: - "@smithy/types" "^2.10.1" - tslib "^2.5.0" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" -"@smithy/protocol-http@^3.2.1": - version "3.2.1" - resolved "https://registry.yarnpkg.com/@smithy/protocol-http/-/protocol-http-3.2.1.tgz#946fcd076525f8208d659fbc70e2a32d21ed1291" - integrity sha512-KLrQkEw4yJCeAmAH7hctE8g9KwA7+H2nSJwxgwIxchbp/L0B5exTdOQi9D5HinPLlothoervGmhpYKelZ6AxIA== +"@smithy/protocol-http@^4.1.1": + version "4.1.1" + resolved "https://registry.yarnpkg.com/@smithy/protocol-http/-/protocol-http-4.1.1.tgz#ffd9c3f8ada9b25add3277b7de84c22dc320f1a6" + integrity sha512-Fm5+8LkeIus83Y8jTL1XHsBGP8sPvE1rEVyKf/87kbOPTbzEDMcgOlzcmYXat2h+nC3wwPtRy8hFqtJS71+Wow== dependencies: - "@smithy/types" "^2.10.1" - tslib "^2.5.0" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" -"@smithy/querystring-builder@^2.1.3": - version "2.1.3" - resolved "https://registry.yarnpkg.com/@smithy/querystring-builder/-/querystring-builder-2.1.3.tgz#e64e126f565b2aae6e9abd1bebc9aa0839842e8d" - integrity sha512-kFD3PnNqKELe6m9GRHQw/ftFFSZpnSeQD4qvgDB6BQN6hREHELSosVFUMPN4M3MDKN2jAwk35vXHLoDrNfKu0A== +"@smithy/querystring-builder@^3.0.4": + version "3.0.4" + resolved "https://registry.yarnpkg.com/@smithy/querystring-builder/-/querystring-builder-3.0.4.tgz#1124dfe533e60fd131acffbf78656b8db0a38bbf" + integrity sha512-NEoPAsZPdpfVbF98qm8i5k1XMaRKeEnO47CaL5ja6Y1Z2DgJdwIJuJkTJypKm/IKfp8gc0uimIFLwhml8+/pAw== dependencies: - "@smithy/types" "^2.10.1" - "@smithy/util-uri-escape" "^2.1.1" - tslib "^2.5.0" + "@smithy/types" "^3.4.0" + "@smithy/util-uri-escape" "^3.0.0" + tslib "^2.6.2" -"@smithy/querystring-parser@^2.1.3": - version "2.1.3" - resolved "https://registry.yarnpkg.com/@smithy/querystring-parser/-/querystring-parser-2.1.3.tgz#2786dfa36ac6c7a691eb651339fbcaf160891e69" - integrity sha512-3+CWJoAqcBMR+yvz6D+Fc5VdoGFtfenW6wqSWATWajrRMGVwJGPT3Vy2eb2bnMktJc4HU4bpjeovFa566P3knQ== +"@smithy/querystring-parser@^3.0.4": + version "3.0.4" + resolved "https://registry.yarnpkg.com/@smithy/querystring-parser/-/querystring-parser-3.0.4.tgz#2a1e2d7fb4d2ec726fb4b4dac8b63a8e5294bcf4" + integrity sha512-7CHPXffFcakFzhO0OZs/rn6fXlTHrSDdLhIT6/JIk1u2bvwguTL3fMCc1+CfcbXA7TOhjWXu3TcB1EGMqJQwHg== dependencies: - "@smithy/types" "^2.10.1" - tslib "^2.5.0" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" -"@smithy/service-error-classification@^2.1.3": - version "2.1.3" - resolved "https://registry.yarnpkg.com/@smithy/service-error-classification/-/service-error-classification-2.1.3.tgz#13dd43ad56576e2b1b7c5a1581affdb9e34dc8ed" - integrity sha512-iUrpSsem97bbXHHT/v3s7vaq8IIeMo6P6cXdeYHrx0wOJpMeBGQF7CB0mbJSiTm3//iq3L55JiEm8rA7CTVI8A== +"@smithy/service-error-classification@^3.0.4": + version "3.0.4" + resolved "https://registry.yarnpkg.com/@smithy/service-error-classification/-/service-error-classification-3.0.4.tgz#60e07b596b38d316aca453e06bfe33464c622fb5" + integrity sha512-KciDHHKFVTb9A1KlJHBt2F26PBaDtoE23uTZy5qRvPzHPqrooXFi6fmx98lJb3Jl38PuUTqIuCUmmY3pacuMBQ== dependencies: - "@smithy/types" "^2.10.1" + "@smithy/types" "^3.4.0" -"@smithy/shared-ini-file-loader@^2.3.3", "@smithy/shared-ini-file-loader@^2.3.4": - version "2.3.4" - resolved "https://registry.yarnpkg.com/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-2.3.4.tgz#2357bd9dfbb67a951ccd06ca9c872aa845fad888" - integrity sha512-CiZmPg9GeDKbKmJGEFvJBsJcFnh0AQRzOtQAzj1XEa8N/0/uSN/v1LYzgO7ry8hhO8+9KB7+DhSW0weqBra4Aw== +"@smithy/shared-ini-file-loader@^3.1.5": + version "3.1.5" + resolved "https://registry.yarnpkg.com/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-3.1.5.tgz#cc44501343c395fc005ded0396446d86408c062d" + integrity sha512-6jxsJ4NOmY5Du4FD0enYegNJl4zTSuKLiChIMqIkh+LapxiP7lmz5lYUNLE9/4cvA65mbBmtdzZ8yxmcqM5igg== dependencies: - "@smithy/types" "^2.10.1" - tslib "^2.5.0" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" -"@smithy/signature-v4@^2.1.3": - version "2.1.3" - resolved "https://registry.yarnpkg.com/@smithy/signature-v4/-/signature-v4-2.1.3.tgz#ff6b812ce562be97ce182376aeb22e558b64776b" - integrity sha512-Jq4iPPdCmJojZTsPePn4r1ULShh6ONkokLuxp1Lnk4Sq7r7rJp4HlA1LbPBq4bD64TIzQezIpr1X+eh5NYkNxw== - dependencies: - "@smithy/eventstream-codec" "^2.1.3" - "@smithy/is-array-buffer" "^2.1.1" - "@smithy/types" "^2.10.1" - "@smithy/util-hex-encoding" "^2.1.1" - "@smithy/util-middleware" "^2.1.3" - "@smithy/util-uri-escape" "^2.1.1" - "@smithy/util-utf8" "^2.1.1" - tslib "^2.5.0" - -"@smithy/smithy-client@^2.4.2": - version "2.4.2" - resolved "https://registry.yarnpkg.com/@smithy/smithy-client/-/smithy-client-2.4.2.tgz#79e960c8761ae7dc06f592d2691419706745aab7" - integrity sha512-ntAFYN51zu3N3mCd95YFcFi/8rmvm//uX+HnK24CRbI6k5Rjackn0JhgKz5zOx/tbNvOpgQIwhSX+1EvEsBLbA== +"@smithy/signature-v4@^4.1.1": + version "4.1.1" + resolved "https://registry.yarnpkg.com/@smithy/signature-v4/-/signature-v4-4.1.1.tgz#b47a5cb018ff48d2fcfb846ba6d2d16a08553932" + integrity sha512-SH9J9be81TMBNGCmjhrgMWu4YSpQ3uP1L06u/K9SDrE2YibUix1qxedPCxEQu02At0P0SrYDjvz+y91vLG0KRQ== + dependencies: + "@smithy/is-array-buffer" "^3.0.0" + "@smithy/protocol-http" "^4.1.1" + "@smithy/types" "^3.4.0" + "@smithy/util-hex-encoding" "^3.0.0" + "@smithy/util-middleware" "^3.0.4" + "@smithy/util-uri-escape" "^3.0.0" + "@smithy/util-utf8" "^3.0.0" + tslib "^2.6.2" + +"@smithy/smithy-client@^3.3.0": + version "3.3.0" + resolved "https://registry.yarnpkg.com/@smithy/smithy-client/-/smithy-client-3.3.0.tgz#ee15e7b5ec150f6048ee2ef0e3751c6ed38900c3" + integrity sha512-H32nVo8tIX82kB0xI2LBrIcj8jx/3/ITotNLbeG1UL0b3b440YPR/hUvqjFJiaB24pQrMjRbU8CugqH5sV0hkw== + dependencies: + "@smithy/middleware-endpoint" "^3.1.1" + "@smithy/middleware-stack" "^3.0.4" + "@smithy/protocol-http" "^4.1.1" + "@smithy/types" "^3.4.0" + "@smithy/util-stream" "^3.1.4" + tslib "^2.6.2" + +"@smithy/types@^3.4.0": + version "3.4.0" + resolved "https://registry.yarnpkg.com/@smithy/types/-/types-3.4.0.tgz#08b7b3d6af30c66fd0682c73c206a5baf8b40a63" + integrity sha512-0shOWSg/pnFXPcsSU8ZbaJ4JBHZJPPzLCJxafJvbMVFo9l1w81CqpgUqjlKGNHVrVB7fhIs+WS82JDTyzaLyLA== dependencies: - "@smithy/middleware-endpoint" "^2.4.4" - "@smithy/middleware-stack" "^2.1.3" - "@smithy/protocol-http" "^3.2.1" - "@smithy/types" "^2.10.1" - "@smithy/util-stream" "^2.1.3" - tslib "^2.5.0" + tslib "^2.6.2" -"@smithy/types@^2.10.1": - version "2.10.1" - resolved "https://registry.yarnpkg.com/@smithy/types/-/types-2.10.1.tgz#f2a923fd080447ad2ca19bfd8a77abf15be0b8e8" - integrity sha512-hjQO+4ru4cQ58FluQvKKiyMsFg0A6iRpGm2kqdH8fniyNd2WyanoOsYJfMX/IFLuLxEoW6gnRkNZy1y6fUUhtA== +"@smithy/url-parser@^3.0.4": + version "3.0.4" + resolved "https://registry.yarnpkg.com/@smithy/url-parser/-/url-parser-3.0.4.tgz#d24a0304117dc26b81b8a58a3d5eda79cdb09bee" + integrity sha512-XdXfObA8WrloavJYtDuzoDhJAYc5rOt+FirFmKBRKaihu7QtU/METAxJgSo7uMK6hUkx0vFnqxV75urtRaLkLg== dependencies: - tslib "^2.5.0" + "@smithy/querystring-parser" "^3.0.4" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" -"@smithy/url-parser@^2.1.3": - version "2.1.3" - resolved "https://registry.yarnpkg.com/@smithy/url-parser/-/url-parser-2.1.3.tgz#f8a7176fb6fdd38a960d546606576541ae6eb7c0" - integrity sha512-X1NRA4WzK/ihgyzTpeGvI9Wn45y8HmqF4AZ/FazwAv8V203Ex+4lXqcYI70naX9ETqbqKVzFk88W6WJJzCggTQ== +"@smithy/util-base64@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/util-base64/-/util-base64-3.0.0.tgz#f7a9a82adf34e27a72d0719395713edf0e493017" + integrity sha512-Kxvoh5Qtt0CDsfajiZOCpJxgtPHXOKwmM+Zy4waD43UoEMA+qPxxa98aE/7ZhdnBFZFXMOiBR5xbcaMhLtznQQ== dependencies: - "@smithy/querystring-parser" "^2.1.3" - "@smithy/types" "^2.10.1" - tslib "^2.5.0" + "@smithy/util-buffer-from" "^3.0.0" + "@smithy/util-utf8" "^3.0.0" + tslib "^2.6.2" -"@smithy/util-base64@^2.1.1": - version "2.1.1" - resolved "https://registry.yarnpkg.com/@smithy/util-base64/-/util-base64-2.1.1.tgz#af729085cc9d92ebd54a5d2c5d0aa5a0c31f83bf" - integrity sha512-UfHVpY7qfF/MrgndI5PexSKVTxSZIdz9InghTFa49QOvuu9I52zLPLUHXvHpNuMb1iD2vmc6R+zbv/bdMipR/g== +"@smithy/util-body-length-browser@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/util-body-length-browser/-/util-body-length-browser-3.0.0.tgz#86ec2f6256310b4845a2f064e2f571c1ca164ded" + integrity sha512-cbjJs2A1mLYmqmyVl80uoLTJhAcfzMOyPgjwAYusWKMdLeNtzmMz9YxNl3/jRLoxSS3wkqkf0jwNdtXWtyEBaQ== dependencies: - "@smithy/util-buffer-from" "^2.1.1" - tslib "^2.5.0" + tslib "^2.6.2" -"@smithy/util-body-length-browser@^2.1.1": - version "2.1.1" - resolved "https://registry.yarnpkg.com/@smithy/util-body-length-browser/-/util-body-length-browser-2.1.1.tgz#1fc77072768013ae646415eedb9833cd252d055d" - integrity sha512-ekOGBLvs1VS2d1zM2ER4JEeBWAvIOUKeaFch29UjjJsxmZ/f0L3K3x0dEETgh3Q9bkZNHgT+rkdl/J/VUqSRag== +"@smithy/util-body-length-node@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/util-body-length-node/-/util-body-length-node-3.0.0.tgz#99a291bae40d8932166907fe981d6a1f54298a6d" + integrity sha512-Tj7pZ4bUloNUP6PzwhN7K386tmSmEET9QtQg0TgdNOnxhZvCssHji+oZTUIuzxECRfG8rdm2PMw2WCFs6eIYkA== dependencies: - tslib "^2.5.0" + tslib "^2.6.2" -"@smithy/util-body-length-node@^2.2.1": - version "2.2.1" - resolved "https://registry.yarnpkg.com/@smithy/util-body-length-node/-/util-body-length-node-2.2.1.tgz#a6f5c9911f1c3e23efb340d5ce7a590b62f2056e" - integrity sha512-/ggJG+ta3IDtpNVq4ktmEUtOkH1LW64RHB5B0hcr5ZaWBmo96UX2cIOVbjCqqDickTXqBWZ4ZO0APuaPrD7Abg== +"@smithy/util-buffer-from@^2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@smithy/util-buffer-from/-/util-buffer-from-2.2.0.tgz#6fc88585165ec73f8681d426d96de5d402021e4b" + integrity sha512-IJdWBbTcMQ6DA0gdNhh/BwrLkDR+ADW5Kr1aZmd4k3DIF6ezMV4R2NIAmT08wQJ3yUK82thHWmC/TnK/wpMMIA== dependencies: - tslib "^2.5.0" + "@smithy/is-array-buffer" "^2.2.0" + tslib "^2.6.2" -"@smithy/util-buffer-from@^2.1.1": - version "2.1.1" - resolved "https://registry.yarnpkg.com/@smithy/util-buffer-from/-/util-buffer-from-2.1.1.tgz#f9346bf8b23c5ba6f6bdb61dd9db779441ba8d08" - integrity sha512-clhNjbyfqIv9Md2Mg6FffGVrJxw7bgK7s3Iax36xnfVj6cg0fUG7I4RH0XgXJF8bxi+saY5HR21g2UPKSxVCXg== +"@smithy/util-buffer-from@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/util-buffer-from/-/util-buffer-from-3.0.0.tgz#559fc1c86138a89b2edaefc1e6677780c24594e3" + integrity sha512-aEOHCgq5RWFbP+UDPvPot26EJHjOC+bRgse5A8V3FSShqd5E5UN4qc7zkwsvJPPAVsf73QwYcHN1/gt/rtLwQA== dependencies: - "@smithy/is-array-buffer" "^2.1.1" - tslib "^2.5.0" + "@smithy/is-array-buffer" "^3.0.0" + tslib "^2.6.2" -"@smithy/util-config-provider@^2.2.1": - version "2.2.1" - resolved "https://registry.yarnpkg.com/@smithy/util-config-provider/-/util-config-provider-2.2.1.tgz#aea0a80236d6cedaee60473802899cff4a8cc0ba" - integrity sha512-50VL/tx9oYYcjJn/qKqNy7sCtpD0+s8XEBamIFo4mFFTclKMNp+rsnymD796uybjiIquB7VCB/DeafduL0y2kw== +"@smithy/util-config-provider@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/util-config-provider/-/util-config-provider-3.0.0.tgz#62c6b73b22a430e84888a8f8da4b6029dd5b8efe" + integrity sha512-pbjk4s0fwq3Di/ANL+rCvJMKM5bzAQdE5S/6RL5NXgMExFAi6UgQMPOm5yPaIWPpr+EOXKXRonJ3FoxKf4mCJQ== dependencies: - tslib "^2.5.0" + tslib "^2.6.2" -"@smithy/util-defaults-mode-browser@^2.1.4": - version "2.1.4" - resolved "https://registry.yarnpkg.com/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-2.1.4.tgz#e3e85f44480bf8c83a2e22247dd5a7a820ceb655" - integrity sha512-J6XAVY+/g7jf03QMnvqPyU+8jqGrrtXoKWFVOS+n1sz0Lg8HjHJ1ANqaDN+KTTKZRZlvG8nU5ZrJOUL6VdwgcQ== +"@smithy/util-defaults-mode-browser@^3.0.16": + version "3.0.16" + resolved "https://registry.yarnpkg.com/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-3.0.16.tgz#7d4978a90cee569fdeb6c38c89a09a39371f44d7" + integrity sha512-Os8ddfNBe7hmc5UMWZxygIHCyAqY0aWR8Wnp/aKbti3f8Df/r0J9ttMZIxeMjsFgtVjEryB0q7SGcwBsHk8WEw== dependencies: - "@smithy/property-provider" "^2.1.3" - "@smithy/smithy-client" "^2.4.2" - "@smithy/types" "^2.10.1" + "@smithy/property-provider" "^3.1.4" + "@smithy/smithy-client" "^3.3.0" + "@smithy/types" "^3.4.0" bowser "^2.11.0" - tslib "^2.5.0" + tslib "^2.6.2" -"@smithy/util-defaults-mode-node@^2.2.3": - version "2.2.3" - resolved "https://registry.yarnpkg.com/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-2.2.3.tgz#23f876eb107ef066c042b4dfdeef637a7c330bb5" - integrity sha512-ttUISrv1uVOjTlDa3nznX33f0pthoUlP+4grhTvOzcLhzArx8qHB94/untGACOG3nlf8vU20nI2iWImfzoLkYA== - dependencies: - "@smithy/config-resolver" "^2.1.4" - "@smithy/credential-provider-imds" "^2.2.4" - "@smithy/node-config-provider" "^2.2.4" - "@smithy/property-provider" "^2.1.3" - "@smithy/smithy-client" "^2.4.2" - "@smithy/types" "^2.10.1" - tslib "^2.5.0" - -"@smithy/util-endpoints@^1.1.4": - version "1.1.4" - resolved "https://registry.yarnpkg.com/@smithy/util-endpoints/-/util-endpoints-1.1.4.tgz#4a75de883ac59d042ae5426c9a7d8e274d047980" - integrity sha512-/qAeHmK5l4yQ4/bCIJ9p49wDe9rwWtOzhPHblu386fwPNT3pxmodgcs9jDCV52yK9b4rB8o9Sj31P/7Vzka1cg== +"@smithy/util-defaults-mode-node@^3.0.16": + version "3.0.16" + resolved "https://registry.yarnpkg.com/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-3.0.16.tgz#5747d886720d4f5acdde8fdf8240a6c1bad42f1f" + integrity sha512-rNhFIYRtrOrrhRlj6RL8jWA6/dcwrbGYAmy8+OAHjjzQ6zdzUBB1P+3IuJAgwWN6Y5GxI+mVXlM/pOjaoIgHow== + dependencies: + "@smithy/config-resolver" "^3.0.6" + "@smithy/credential-provider-imds" "^3.2.1" + "@smithy/node-config-provider" "^3.1.5" + "@smithy/property-provider" "^3.1.4" + "@smithy/smithy-client" "^3.3.0" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" + +"@smithy/util-endpoints@^2.1.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@smithy/util-endpoints/-/util-endpoints-2.1.0.tgz#33395d918a43f0df44a453c6bfa0cf3d35ed1367" + integrity sha512-ilS7/0jcbS2ELdg0fM/4GVvOiuk8/U3bIFXUW25xE1Vh1Ol4DP6vVHQKqM40rCMizCLmJ9UxK+NeJrKlhI3HVA== dependencies: - "@smithy/node-config-provider" "^2.2.4" - "@smithy/types" "^2.10.1" - tslib "^2.5.0" + "@smithy/node-config-provider" "^3.1.5" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" -"@smithy/util-hex-encoding@^2.1.1": - version "2.1.1" - resolved "https://registry.yarnpkg.com/@smithy/util-hex-encoding/-/util-hex-encoding-2.1.1.tgz#978252b9fb242e0a59bae4ead491210688e0d15f" - integrity sha512-3UNdP2pkYUUBGEXzQI9ODTDK+Tcu1BlCyDBaRHwyxhA+8xLP8agEKQq4MGmpjqb4VQAjq9TwlCQX0kP6XDKYLg== +"@smithy/util-hex-encoding@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/util-hex-encoding/-/util-hex-encoding-3.0.0.tgz#32938b33d5bf2a15796cd3f178a55b4155c535e6" + integrity sha512-eFndh1WEK5YMUYvy3lPlVmYY/fZcQE1D8oSf41Id2vCeIkKJXPcYDCZD+4+xViI6b1XSd7tE+s5AmXzz5ilabQ== dependencies: - tslib "^2.5.0" + tslib "^2.6.2" -"@smithy/util-middleware@^2.1.3": - version "2.1.3" - resolved "https://registry.yarnpkg.com/@smithy/util-middleware/-/util-middleware-2.1.3.tgz#6169d7b1088d2bb29d0129c9146c856a61026e98" - integrity sha512-/+2fm7AZ2ozl5h8wM++ZP0ovE9/tiUUAHIbCfGfb3Zd3+Dyk17WODPKXBeJ/TnK5U+x743QmA0xHzlSm8I/qhw== +"@smithy/util-middleware@^3.0.4": + version "3.0.4" + resolved "https://registry.yarnpkg.com/@smithy/util-middleware/-/util-middleware-3.0.4.tgz#a541edb8d3f2923ab06460ec3f1217c143ae5706" + integrity sha512-uSXHTBhstb1c4nHdmQEdkNMv9LiRNaJ/lWV2U/GO+5F236YFpdPw+hyWI9Zc0Rp9XKzwD9kVZvhZmEgp0UCVnA== + dependencies: + "@smithy/types" "^3.4.0" + tslib "^2.6.2" + +"@smithy/util-retry@^3.0.4": + version "3.0.4" + resolved "https://registry.yarnpkg.com/@smithy/util-retry/-/util-retry-3.0.4.tgz#281de3f89458b5e3b86ca92937eb1212bcecf67f" + integrity sha512-JJr6g0tO1qO2tCQyK+n3J18r34ZpvatlFN5ULcLranFIBZPxqoivb77EPyNTVwTGMEvvq2qMnyjm4jMIxjdLFg== dependencies: - "@smithy/types" "^2.10.1" - tslib "^2.5.0" + "@smithy/service-error-classification" "^3.0.4" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" -"@smithy/util-retry@^2.1.3": - version "2.1.3" - resolved "https://registry.yarnpkg.com/@smithy/util-retry/-/util-retry-2.1.3.tgz#715a5c02c194ae56b9be49fda510b362fb075af3" - integrity sha512-Kbvd+GEMuozbNUU3B89mb99tbufwREcyx2BOX0X2+qHjq6Gvsah8xSDDgxISDwcOHoDqUWO425F0Uc/QIRhYkg== +"@smithy/util-stream@^3.1.4": + version "3.1.4" + resolved "https://registry.yarnpkg.com/@smithy/util-stream/-/util-stream-3.1.4.tgz#f4041a979dfafcbccdc64fa7ee8c376e39c8dc41" + integrity sha512-txU3EIDLhrBZdGfon6E9V6sZz/irYnKFMblz4TLVjyq8hObNHNS2n9a2t7GIrl7d85zgEPhwLE0gANpZsvpsKg== + dependencies: + "@smithy/fetch-http-handler" "^3.2.5" + "@smithy/node-http-handler" "^3.2.0" + "@smithy/types" "^3.4.0" + "@smithy/util-base64" "^3.0.0" + "@smithy/util-buffer-from" "^3.0.0" + "@smithy/util-hex-encoding" "^3.0.0" + "@smithy/util-utf8" "^3.0.0" + tslib "^2.6.2" + +"@smithy/util-uri-escape@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/util-uri-escape/-/util-uri-escape-3.0.0.tgz#e43358a78bf45d50bb736770077f0f09195b6f54" + integrity sha512-LqR7qYLgZTD7nWLBecUi4aqolw8Mhza9ArpNEQ881MJJIU2sE5iHCK6TdyqqzcDLy0OPe10IY4T8ctVdtynubg== dependencies: - "@smithy/service-error-classification" "^2.1.3" - "@smithy/types" "^2.10.1" - tslib "^2.5.0" + tslib "^2.6.2" -"@smithy/util-stream@^2.1.3": - version "2.1.3" - resolved "https://registry.yarnpkg.com/@smithy/util-stream/-/util-stream-2.1.3.tgz#fd0de1d8dcb0015a95735df7229b4a1ded06b50e" - integrity sha512-HvpEQbP8raTy9n86ZfXiAkf3ezp1c3qeeO//zGqwZdrfaoOpGKQgF2Sv1IqZp7wjhna7pvczWaGUHjcOPuQwKw== - dependencies: - "@smithy/fetch-http-handler" "^2.4.3" - "@smithy/node-http-handler" "^2.4.1" - "@smithy/types" "^2.10.1" - "@smithy/util-base64" "^2.1.1" - "@smithy/util-buffer-from" "^2.1.1" - "@smithy/util-hex-encoding" "^2.1.1" - "@smithy/util-utf8" "^2.1.1" - tslib "^2.5.0" - -"@smithy/util-uri-escape@^2.1.1": - version "2.1.1" - resolved "https://registry.yarnpkg.com/@smithy/util-uri-escape/-/util-uri-escape-2.1.1.tgz#7eedc93b73ecda68f12fb9cf92e9fa0fbbed4d83" - integrity sha512-saVzI1h6iRBUVSqtnlOnc9ssU09ypo7n+shdQ8hBTZno/9rZ3AuRYvoHInV57VF7Qn7B+pFJG7qTzFiHxWlWBw== +"@smithy/util-utf8@^2.0.0": + version "2.3.0" + resolved "https://registry.yarnpkg.com/@smithy/util-utf8/-/util-utf8-2.3.0.tgz#dd96d7640363259924a214313c3cf16e7dd329c5" + integrity sha512-R8Rdn8Hy72KKcebgLiv8jQcQkXoLMOGGv5uI1/k0l+snqkOzQ1R0ChUBCxWMlBsFMekWjq0wRudIweFs7sKT5A== dependencies: - tslib "^2.5.0" + "@smithy/util-buffer-from" "^2.2.0" + tslib "^2.6.2" -"@smithy/util-utf8@^2.1.1": - version "2.1.1" - resolved "https://registry.yarnpkg.com/@smithy/util-utf8/-/util-utf8-2.1.1.tgz#690018dd28f47f014114497735e51417ea5900a6" - integrity sha512-BqTpzYEcUMDwAKr7/mVRUtHDhs6ZoXDi9NypMvMfOr/+u1NW7JgqodPDECiiLboEm6bobcPcECxzjtQh865e9A== +"@smithy/util-utf8@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/util-utf8/-/util-utf8-3.0.0.tgz#1a6a823d47cbec1fd6933e5fc87df975286d9d6a" + integrity sha512-rUeT12bxFnplYDe815GXbq/oixEGHfRFFtcTF3YdDi/JaENIM6aSYYLJydG83UNzLXeRI5K8abYd/8Sp/QM0kA== dependencies: - "@smithy/util-buffer-from" "^2.1.1" - tslib "^2.5.0" + "@smithy/util-buffer-from" "^3.0.0" + tslib "^2.6.2" -"@smithy/util-waiter@^2.1.3": - version "2.1.3" - resolved "https://registry.yarnpkg.com/@smithy/util-waiter/-/util-waiter-2.1.3.tgz#b3e4c0374e5ee46ecc9eae7812fa870d7b192897" - integrity sha512-3R0wNFAQQoH9e4m+bVLDYNOst2qNxtxFgq03WoNHWTBOqQT3jFnOBRj1W51Rf563xDA5kwqjziksxn6RKkHB+Q== +"@smithy/util-waiter@^3.1.3": + version "3.1.3" + resolved "https://registry.yarnpkg.com/@smithy/util-waiter/-/util-waiter-3.1.3.tgz#a633257cc65f83cf5714a0f66665070868c3aa91" + integrity sha512-OU0YllH51/CxD8iyr3UHSMwYqTGTyuxFdCMH/0F978t+iDmJseC/ttrWPb22zmYkhkrjqtipzC1xaMuax5QKIA== dependencies: - "@smithy/abort-controller" "^2.1.3" - "@smithy/types" "^2.10.1" - tslib "^2.5.0" + "@smithy/abort-controller" "^3.1.2" + "@smithy/types" "^3.4.0" + tslib "^2.6.2" "@soda/friendly-errors-webpack-plugin@^1.8.0": version "1.8.1" @@ -9129,13 +9135,6 @@ "@types/through" "*" rxjs "^6.4.0" -"@types/ioredis@^4.19.3": - version "4.28.4" - resolved "https://registry.yarnpkg.com/@types/ioredis/-/ioredis-4.28.4.tgz#a69a4045aadd89b5098c065626360b72ea43a4ee" - integrity sha512-pIIR1f1HmtbSMiQkMBoJwi7ZFj00OmxLwlZ3cuvgqc9m61+q7cVN3uAsYIZu07pmXw8A8V+apLvkd+ckgGdxwg== - dependencies: - "@types/node" "*" - "@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1": version "2.0.3" resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.3.tgz#4ba8ddb720221f432e443bd5f9117fd22cfd4762" @@ -9251,12 +9250,12 @@ "@types/node" "*" "@types/node-fetch@^2.5.0", "@types/node-fetch@^2.5.7", "@types/node-fetch@^2.5.8": - version "2.5.12" - resolved "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.5.12.tgz#8a6f779b1d4e60b7a57fb6fd48d84fb545b9cc66" - integrity sha512-MKgC4dlq4kKNa/mYrwpKfzQMB5X3ee5U6fSprkKpToBqBmX4nFZL9cW5jl6sWn+xpRJ7ypWh2yyqqr8UUCstSw== + version "2.6.11" + resolved "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.6.11.tgz#9b39b78665dae0e82a08f02f4967d62c66f95d24" + integrity sha512-24xFj9R5+rfQJLRyM56qh+wnVSYhyXC2tkoBndtY0U+vubqNsYXGjufB2nn8Q6gt0LrARwL6UBtMCSVCwl4B1g== dependencies: "@types/node" "*" - form-data "^3.0.0" + form-data "^4.0.0" "@types/node-forge@^1.3.0": version "1.3.9" @@ -9401,13 +9400,6 @@ "@types/node" "*" safe-buffer "~5.1.1" -"@types/redis@^2.8.28": - version "2.8.32" - resolved "https://registry.yarnpkg.com/@types/redis/-/redis-2.8.32.tgz#1d3430219afbee10f8cfa389dad2571a05ecfb11" - integrity sha512-7jkMKxcGq9p242exlbsVzuJb57KqHRhNl4dHoQu2Y5v9bCAbtIXXH0R3HleSQW4CTOqpHIYUW3t6tpUj4BVQ+w== - dependencies: - "@types/node" "*" - "@types/request-promise@^4.1.46": version "4.1.48" resolved "https://registry.yarnpkg.com/@types/request-promise/-/request-promise-4.1.48.tgz#46f4225a58cefaa342c87fe5f2efb8ad3cb2c2e3" @@ -12926,11 +12918,6 @@ clsx@^2.0.0: resolved "https://registry.yarnpkg.com/clsx/-/clsx-2.1.0.tgz#e851283bcb5c80ee7608db18487433f7b23f77cb" integrity sha512-m3iNNWpd9rl3jvvcBnu70ylMdrXt8Vlq4HYadnU5fwcOtvkSQWPmj7amUcDT2qYI7risszBjI5AUIUox9D16pg== -cluster-key-slot@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/cluster-key-slot/-/cluster-key-slot-1.1.0.tgz#30474b2a981fb12172695833052bc0d01336d10d" - integrity sha512-2Nii8p3RwAPiFwsnZvukotvow2rIHM+yQ6ZcBXGHdniadkYGZYiGmkHJIbZPIV9nfv7m/U1IPMVVcAhoWFeklw== - cmd-shim@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/cmd-shim/-/cmd-shim-4.1.0.tgz#b3a904a6743e9fede4148c6f3800bf2a08135bdd" @@ -14622,11 +14609,6 @@ delegates@^1.0.0: resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" integrity sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o= -denque@^1.1.0, denque@^1.5.0: - version "1.5.1" - resolved "https://registry.yarnpkg.com/denque/-/denque-1.5.1.tgz#07f670e29c9a78f8faecb2566a1e2c11929c5cbf" - integrity sha512-XwE+iZ4D6ZUB7mfYRMb5wByE8L74HCn30FBN7sWnXksWc1LO1bPDl67pBR9o/kC4z/xSNAwkMYcGgqDV3BE3Hw== - denque@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/denque/-/denque-2.0.1.tgz#bcef4c1b80dc32efe97515744f21a4229ab8934a" @@ -16435,10 +16417,10 @@ fast-text-encoding@^1.0.0: resolved "https://registry.yarnpkg.com/fast-text-encoding/-/fast-text-encoding-1.0.3.tgz#ec02ac8e01ab8a319af182dae2681213cfe9ce53" integrity sha512-dtm4QZH9nZtcDt8qJiOH9fcQd1NAgi+K1O2DbE6GG1PPCK/BWfOH3idCTRQ4ImXRUOyopDEgDEnVEE7Y/2Wrig== -fast-xml-parser@4.2.5: - version "4.2.5" - resolved "https://registry.yarnpkg.com/fast-xml-parser/-/fast-xml-parser-4.2.5.tgz#a6747a09296a6cb34f2ae634019bf1738f3b421f" - integrity sha512-B9/wizE4WngqQftFPmdaMYlXoJlJOYxGQOanC77fq9k8+Z0v5dDSVh+3glErdIROP//s/jgb7ZuxKfB8nVyo0g== +fast-xml-parser@4.4.1: + version "4.4.1" + resolved "https://registry.yarnpkg.com/fast-xml-parser/-/fast-xml-parser-4.4.1.tgz#86dbf3f18edf8739326447bcaac31b4ae7f6514f" + integrity sha512-xkjOecfnKGkSsOwtZ5Pz7Us/T6mrbPQrq0nh+aCO5V9nk5NLWmasAHumTKjiPJPWANe+kAZ84Jc8ooJkzZ88Sw== dependencies: strnum "^1.0.5" @@ -18583,23 +18565,6 @@ intl-messageformat@^10.1.0: "@formatjs/icu-messageformat-parser" "2.7.6" tslib "^2.4.0" -ioredis@^4.27.8: - version "4.28.2" - resolved "https://registry.yarnpkg.com/ioredis/-/ioredis-4.28.2.tgz#493ccd5d869fd0ec86c96498192718171f6c9203" - integrity sha512-kQ+Iv7+c6HsDdPP2XUHaMv8DhnSeAeKEwMbaoqsXYbO+03dItXt7+5jGQDRyjdRUV2rFJbzg7P4Qt1iX2tqkOg== - dependencies: - cluster-key-slot "^1.1.0" - debug "^4.3.1" - denque "^1.1.0" - lodash.defaults "^4.2.0" - lodash.flatten "^4.4.0" - lodash.isarguments "^3.1.0" - p-map "^2.1.0" - redis-commands "1.7.0" - redis-errors "^1.2.0" - redis-parser "^3.0.0" - standard-as-callback "^2.1.0" - ip-regex@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/ip-regex/-/ip-regex-2.1.0.tgz#fa78bf5d2e6913c911ce9f819ee5146bb6d844e9" @@ -20731,11 +20696,6 @@ lodash.includes@^4.3.0: resolved "https://registry.yarnpkg.com/lodash.includes/-/lodash.includes-4.3.0.tgz#60bb98a87cb923c68ca1e51325483314849f553f" integrity sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8= -lodash.isarguments@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz#2f573d85c6a24289ff00663b491c1d338ff3458a" - integrity sha1-L1c9hcaiQon/AGY7SRwdM4/zRYo= - lodash.isboolean@^3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz#6c2e171db2a257cd96802fd43b01b20d5f5870f6" @@ -21995,7 +21955,7 @@ node-dijkstra@^2.5.0: resolved "https://registry.yarnpkg.com/node-dijkstra/-/node-dijkstra-2.5.0.tgz#0feb76c5a05f35b56e786de6df4d3364af28d4e8" integrity sha1-D+t2xaBfNbVueG3m300zZK8o1Og= -node-fetch@2.6.7, node-fetch@^2.6.0, node-fetch@^2.6.1, node-fetch@^2.6.6, node-fetch@^2.6.7: +node-fetch@2.6.7: version "2.6.7" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad" integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ== @@ -22010,14 +21970,7 @@ node-fetch@^1.0.1: encoding "^0.1.11" is-stream "^1.0.1" -node-fetch@^2.6.9: - version "2.6.9" - resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.9.tgz#7c7f744b5cc6eb5fd404e0c7a9fec630a55657e6" - integrity sha512-DJm/CJkZkRjKKj4Zi4BsKVZh3ValV5IR5s7LVZnW+6YMh0W1BfNA8XSs6DLMGYlId5F3KnA70uu2qepcR08Qqg== - dependencies: - whatwg-url "^5.0.0" - -node-fetch@^2.7.0: +node-fetch@^2.6.0, node-fetch@^2.6.1, node-fetch@^2.6.6, node-fetch@^2.6.7, node-fetch@^2.6.9, node-fetch@^2.7.0: version "2.7.0" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d" integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A== @@ -22886,7 +22839,7 @@ p-map-series@^2.1.0: resolved "https://registry.yarnpkg.com/p-map-series/-/p-map-series-2.1.0.tgz#7560d4c452d9da0c07e692fdbfe6e2c81a2a91f2" integrity sha512-RpYIIK1zXSNEOdwxcfe7FdvGcs7+y5n8rifMhMNWvaxRNMPINJHF5GDeuVxWqnfrcHPSCnp7Oo5yNXHId9Av2Q== -p-map@^2.0.0, p-map@^2.1.0: +p-map@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/p-map/-/p-map-2.1.0.tgz#310928feef9c9ecc65b68b17693018a665cea175" integrity sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw== @@ -25803,33 +25756,6 @@ redeyed@~2.1.0: dependencies: esprima "~4.0.0" -redis-commands@1.7.0, redis-commands@^1.7.0: - version "1.7.0" - resolved "https://registry.yarnpkg.com/redis-commands/-/redis-commands-1.7.0.tgz#15a6fea2d58281e27b1cd1acfb4b293e278c3a89" - integrity sha512-nJWqw3bTFy21hX/CPKHth6sfhZbdiHP6bTawSgQBlKOVRG7EZkfHbbHwQJnrE4vsQf0CMNE+3gJ4Fmm16vdVlQ== - -redis-errors@^1.0.0, redis-errors@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/redis-errors/-/redis-errors-1.2.0.tgz#eb62d2adb15e4eaf4610c04afe1529384250abad" - integrity sha1-62LSrbFeTq9GEMBK/hUpOEJQq60= - -redis-parser@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/redis-parser/-/redis-parser-3.0.0.tgz#b66d828cdcafe6b4b8a428a7def4c6bcac31c8b4" - integrity sha1-tm2CjNyv5rS4pCin3vTGvKwxyLQ= - dependencies: - redis-errors "^1.0.0" - -redis@^3.0.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/redis/-/redis-3.1.2.tgz#766851117e80653d23e0ed536254677ab647638c" - integrity sha512-grn5KoZLr/qrRQVwoSkmzdbw6pwF+/rwODtrOr6vuBRiR/f3rjSTGupbF90Zpqm2oenix8Do6RV7pYEkGwlKkw== - dependencies: - denque "^1.5.0" - redis-commands "^1.7.0" - redis-errors "^1.2.0" - redis-parser "^3.0.0" - redux@^4.0.0, redux@^4.0.4: version "4.1.2" resolved "https://registry.yarnpkg.com/redux/-/redux-4.1.2.tgz#140f35426d99bb4729af760afcf79eaaac407104" @@ -27530,11 +27456,6 @@ stackframe@^1.1.1: resolved "https://registry.yarnpkg.com/stackframe/-/stackframe-1.2.0.tgz#52429492d63c62eb989804c11552e3d22e779303" integrity sha512-GrdeshiRmS1YLMYgzF16olf2jJ/IzxXY9lhKOskuVziubpTYcYqyOwYeJKzQkwy7uN0fYSsbsC4RQaXf9LCrYA== -standard-as-callback@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/standard-as-callback/-/standard-as-callback-2.1.0.tgz#8953fc05359868a77b5b9739a665c5977bb7df45" - integrity sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A== - static-extend@^0.1.1: version "0.1.2" resolved "https://registry.yarnpkg.com/static-extend/-/static-extend-0.1.2.tgz#60809c39cbff55337226fd5e0b520f341f1fb5c6" @@ -28759,12 +28680,12 @@ tslib@2.3.0: resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.0.tgz#803b8cdab3e12ba581a4ca41c8839bbb0dacb09e" integrity sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg== -tslib@2.6.2, tslib@^2.1.0, tslib@^2.4.0, tslib@^2.5.0, tslib@^2.6.2: +tslib@2.6.2, tslib@^2.1.0, tslib@^2.4.0, tslib@^2.6.2: version "2.6.2" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== -tslib@^1, tslib@^1.10.0, tslib@^1.11.1, tslib@^1.8.1, tslib@^1.9.0: +tslib@^1, tslib@^1.10.0, tslib@^1.8.1, tslib@^1.9.0: version "1.14.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==