Skip to content

Commit 6499d71

Browse files
authored
Merge branch 'master' into patch-1
2 parents 13b8b02 + 044341e commit 6499d71

File tree

297 files changed

+13964
-3253
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

297 files changed

+13964
-3253
lines changed

.github/actions/integration/athena.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ set -eo pipefail
55
export DEBUG=testcontainers
66

77
echo "::group::Athena [cloud]"
8+
export CUBEJS_AWS_KEY=$DRIVERS_TESTS_SNOWFLAKE_CUBEJS_AWS_KEY
9+
export CUBEJS_AWS_SECRET=$DRIVERS_TESTS_SNOWFLAKE_CUBEJS_AWS_SECRET
10+
811
export CUBEJS_AWS_REGION=us-east-1
912
export CUBEJS_AWS_S3_OUTPUT_LOCATION=s3://cubejs-opensource/testing/output
1013
export CUBEJS_DB_EXPORT_BUCKET=s3://cubejs-opensource/testing/export/

.github/actions/integration/bigquery.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ set -eo pipefail
55
export DEBUG=testcontainers
66

77
echo "::group::BigQuery [cloud]"
8+
export CUBEJS_DB_BQ_CREDENTIALS=$DRIVERS_TESTS_SNOWFLAKE_CUBEJS_DB_BQ_CREDENTIALS
89
export CUBEJS_DB_BQ_PROJECT_ID=cube-open-source
910
export CUBEJS_DB_EXPORT_BUCKET=cube-open-source-export-bucket
1011
yarn lerna run --concurrency 1 --stream --no-prefix integration:bigquery

.github/actions/integration/snowflake.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ export CUBEJS_DB_NAME=DEMO_DB
99
export CUBEJS_DB_SNOWFLAKE_ACCOUNT=lxb31104
1010
export CUBEJS_DB_SNOWFLAKE_REGION=us-west-2
1111
export CUBEJS_DB_SNOWFLAKE_WAREHOUSE=COMPUTE_WH
12+
export CUBEJS_DB_USER=$DRIVERS_TESTS_SNOWFLAKE_CUBEJS_DB_USER
13+
export CUBEJS_DB_PASS=$DRIVERS_TESTS_SNOWFLAKE_CUBEJS_DB_PASS
1214

1315
yarn lerna run --concurrency 1 --stream --no-prefix smoke:snowflake
1416

.github/workflows/cloud.yml

Lines changed: 0 additions & 130 deletions
This file was deleted.

.github/workflows/push.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
paths:
66
- '.github/actions/smoke.sh'
7+
- '.github/actions/integration/**'
78
- '.github/workflows/push.yml'
89
- '.github/workflows/master.yml'
910
- 'packages/**'
@@ -18,11 +19,14 @@ on:
1819
- 'package.json'
1920
- 'lerna.json'
2021
- 'rollup.config.js'
22+
- 'jest.base.config.js'
2123
- 'yarn.lock'
2224
branches:
2325
- 'master'
2426
pull_request:
2527
paths:
28+
- '.github/actions/smoke.sh'
29+
- '.github/actions/integration/**'
2630
- '.github/workflows/push.yml'
2731
- '.github/workflows/master.yml'
2832
- 'packages/**'
@@ -37,6 +41,7 @@ on:
3741
- 'package.json'
3842
- 'lerna.json'
3943
- 'rollup.config.js'
44+
- 'jest.base.config.js'
4045
- 'yarn.lock'
4146

4247
env:
@@ -389,6 +394,9 @@ jobs:
389394
if: (needs['latest-tag-sha'].outputs.sha != github.sha)
390395
env:
391396
CLOUD_DATABASES: >
397+
athena
398+
bigquery
399+
snowflake
392400
firebolt
393401
dremio
394402
# Athena (just to check for secrets availability)
@@ -398,6 +406,7 @@ jobs:
398406
matrix:
399407
node-version: [22.x]
400408
db: [
409+
'athena', 'bigquery', 'snowflake',
401410
'clickhouse', 'druid', 'elasticsearch', 'mssql', 'mysql', 'postgres', 'prestodb',
402411
'mysql-aurora-serverless', 'crate', 'mongobi', 'firebolt', 'dremio', 'vertica'
403412
]
@@ -449,6 +458,8 @@ jobs:
449458
retry_wait_seconds: 15
450459
timeout_minutes: 20
451460
command: yarn install --frozen-lockfile
461+
- name: Build Core Client libraries
462+
run: yarn build
452463
- name: Lerna tsc
453464
run: yarn tsc
454465
- name: Run Integration tests for ${{ matrix.db }} matrix
@@ -475,6 +486,17 @@ jobs:
475486
DRIVERS_TESTS_DREMIO_CUBEJS_DB_NAME: ${{ secrets.DRIVERS_TESTS_DREMIO_CUBEJS_DB_NAME }}
476487
DRIVERS_TESTS_DREMIO_CUBEJS_DB_DREMIO_AUTH_TOKEN: ${{ secrets.DRIVERS_TESTS_DREMIO_CUBEJS_DB_DREMIO_AUTH_TOKEN }}
477488

489+
# BigQuery
490+
DRIVERS_TESTS_SNOWFLAKE_CUBEJS_DB_BQ_CREDENTIALS: ${{ secrets.CUBEJS_DB_BQ_CREDENTIALS }}
491+
492+
# AWS Athena
493+
DRIVERS_TESTS_SNOWFLAKE_CUBEJS_AWS_KEY: ${{ secrets.CUBEJS_AWS_KEY }}
494+
DRIVERS_TESTS_SNOWFLAKE_CUBEJS_AWS_SECRET: ${{ secrets.CUBEJS_AWS_SECRET }}
495+
496+
# Snowflake
497+
DRIVERS_TESTS_SNOWFLAKE_CUBEJS_DB_USER: ${{ secrets.DRIVERS_TESTS_CUBEJS_DB_SNOWFLAKE_USER }}
498+
DRIVERS_TESTS_SNOWFLAKE_CUBEJS_DB_PASS: ${{ secrets.DRIVERS_TESTS_CUBEJS_DB_SNOWFLAKE_PASS }}
499+
478500
integration-smoke:
479501
needs: [latest-tag-sha, build-cubestore, build-native-linux]
480502
runs-on: ubuntu-24.04

CHANGELOG.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,48 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [1.3.9](https://github.com/cube-js/cube/compare/v1.3.8...v1.3.9) (2025-04-28)
7+
8+
### Bug Fixes
9+
10+
- **schema-compiler:** Fix non-match for exact custom granularity pre-aggregation ([#9517](https://github.com/cube-js/cube/issues/9517)) ([313a606](https://github.com/cube-js/cube/commit/313a606e1aedb7dda31a88ea78e71e106a2fa884))
11+
12+
### Features
13+
14+
- **schema-compiler:** Support adding pre-aggregations in Rollup Designer for YAML-based models ([#9500](https://github.com/cube-js/cube/issues/9500)) ([1cfe4c2](https://github.com/cube-js/cube/commit/1cfe4c2dd1cc0fe738590abb39fe2485899fc51e))
15+
- **schema-compiler:** Support view extends ([#9507](https://github.com/cube-js/cube/issues/9507)) ([e68530a](https://github.com/cube-js/cube/commit/e68530a51dd9fa58dd85dab0d593a034000a6ed3))
16+
- **tesseract:** Logical plan ([#9497](https://github.com/cube-js/cube/issues/9497)) ([4098c28](https://github.com/cube-js/cube/commit/4098c284f6bebf65125fffd293dd8e6db05fc4ae))
17+
18+
## [1.3.8](https://github.com/cube-js/cube/compare/v1.3.7...v1.3.8) (2025-04-24)
19+
20+
### Features
21+
22+
- **cubesql:** Add `XIRR` aggregate function ([#9508](https://github.com/cube-js/cube/issues/9508)) ([c7fb71b](https://github.com/cube-js/cube/commit/c7fb71bd4023b37635bfb82c2aac523337c2f8be))
23+
24+
## [1.3.7](https://github.com/cube-js/cube/compare/v1.3.6...v1.3.7) (2025-04-23)
25+
26+
### Bug Fixes
27+
28+
- **schema-compiler:** Fix not working timeshift in views ([#9504](https://github.com/cube-js/cube/issues/9504)) ([9319b0d](https://github.com/cube-js/cube/commit/9319b0df50a4026ceb91732de123a21e8d788b39))
29+
30+
### Features
31+
32+
- **schema-compiler:** Custom granularities support for Amazon Athena/Presto dialect ([#9472](https://github.com/cube-js/cube/issues/9472)) ([4c1520e](https://github.com/cube-js/cube/commit/4c1520e90207469cb4d6be41b28e1c06bb2d0646))
33+
- **schema-compiler:** Support custom granularities with Year-Month intervals for AWS Redshift dialect ([#9489](https://github.com/cube-js/cube/issues/9489)) ([2fc53f2](https://github.com/cube-js/cube/commit/2fc53f2d10e94ba6ac1b40bfce956167b89b8caf))
34+
- **schema-compiler:** Support overriding `title`, `description`, `meta`, and `format` on view members ([#9496](https://github.com/cube-js/cube/issues/9496)) ([e0179c5](https://github.com/cube-js/cube/commit/e0179c5644952c6ebe41ab4f1f12784491036bd0))
35+
36+
## [1.3.6](https://github.com/cube-js/cube/compare/v1.3.5...v1.3.6) (2025-04-22)
37+
38+
### Bug Fixes
39+
40+
- **cubesql:** Fix SortPushDown pushing sort through joins ([#9464](https://github.com/cube-js/cube/issues/9464)) ([fed08e1](https://github.com/cube-js/cube/commit/fed08e1384cf6f666970472f5bd67feb5c86462e)), closes [/github.com/apache/datafusion/blob/7.0.0/datafusion/src/physical_plan/hash_join.rs#L282-L284](https://github.com//github.com/apache/datafusion/blob/7.0.0/datafusion/src/physical_plan/hash_join.rs/issues/L282-L284) [/github.com/apache/datafusion/blob/7.0.0/datafusion/src/physical_plan/cross_join.rs#L141-L143](https://github.com//github.com/apache/datafusion/blob/7.0.0/datafusion/src/physical_plan/cross_join.rs/issues/L141-L143)
41+
- **cubesql:** Realias expressions when normalizing columns ([#9498](https://github.com/cube-js/cube/issues/9498)) ([32f9b79](https://github.com/cube-js/cube/commit/32f9b7993c97fc294ec92b54a587f27e4e29dda0))
42+
- **schema-compiler:** Use join paths from pre-aggregation declaration instead of building join tree from scratch ([#9471](https://github.com/cube-js/cube/issues/9471)) ([cd7e9fd](https://github.com/cube-js/cube/commit/cd7e9fddca8fa1c31335adbba6e79c4032841cbb))
43+
44+
### Features
45+
46+
- **mssql-driver:** Return numeric result values as strings ([#9485](https://github.com/cube-js/cube/issues/9485)) ([52da601](https://github.com/cube-js/cube/commit/52da6010792985b610087040733f6da650369c1a))
47+
648
## [1.3.5](https://github.com/cube-js/cube/compare/v1.3.4...v1.3.5) (2025-04-17)
749

850
### Bug Fixes

docs/pages/guides/recipes.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ These recipes will show you the best practices of using Cube.
7777

7878
- [Building UI with drilldowns](/guides/recipes/data-exploration/drilldowns)
7979
- [Retrieving numeric values on the front-end](/guides/recipes/data-exploration/cast-numerics)
80+
- [Analyzing data from Query History export](/guides/recipes/data-exploration/query-history-export)
8081

8182
### Upgrading Cube
8283

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
module.exports = {
22
"drilldowns": "Building UI with drilldowns",
3-
"cast-numerics": "Retrieving numeric values on the front-end"
3+
"cast-numerics": "Retrieving numeric values on the front-end",
4+
"query-history-export": "Analyzing data from Query History export"
45
}

0 commit comments

Comments
 (0)