Skip to content

Commit c4e8bcb

Browse files
authored
Merge branch 'master' into master
2 parents 5e99aaf + ad4e8e3 commit c4e8bcb

File tree

150 files changed

+2767
-1292
lines changed

Some content is hidden

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

150 files changed

+2767
-1292
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
set -eo pipefail
3+
4+
# Debug log for test containers
5+
export DEBUG=testcontainers
6+
7+
echo "::group::Firebolt [cloud]"
8+
yarn lerna run --concurrency 1 --stream --no-prefix integration:firebolt
9+
10+
echo "::endgroup::"

.github/workflows/push.yml

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,13 +313,18 @@ jobs:
313313
runs-on: ubuntu-20.04
314314
timeout-minutes: 60
315315
if: (needs['latest-tag-sha'].outputs.sha != github.sha)
316+
env:
317+
CLOUD_DATABASES: >
318+
firebolt
319+
# Athena (just to check for secrets availability)
320+
DRIVERS_TESTS_ATHENA_CUBEJS_AWS_KEY: ${{ secrets.DRIVERS_TESTS_ATHENA_CUBEJS_AWS_KEY }}
316321

317322
strategy:
318323
matrix:
319324
node-version: [20.x]
320325
db: [
321326
'clickhouse', 'druid', 'elasticsearch', 'mssql', 'mysql', 'postgres', 'prestodb',
322-
'mysql-aurora-serverless', 'crate', 'mongobi'
327+
'mysql-aurora-serverless', 'crate', 'mongobi', 'firebolt'
323328
]
324329
fail-fast: false
325330

@@ -370,6 +375,17 @@ jobs:
370375
retry_wait_seconds: 15
371376
timeout_minutes: 30
372377
command: ./.github/actions/integration/${{ matrix.db }}.sh
378+
# It's enough to test for any one secret because they are set all at once or not set all
379+
if: |
380+
(contains(env.CLOUD_DATABASES, matrix.db) && env.DRIVERS_TESTS_ATHENA_CUBEJS_AWS_KEY != '') ||
381+
(!contains(env.CLOUD_DATABASES, matrix.db))
382+
env:
383+
# Firebolt Integration
384+
DRIVERS_TESTS_FIREBOLT_CUBEJS_FIREBOLT_ENGINE_NAME: ${{ secrets.DRIVERS_TESTS_FIREBOLT_CUBEJS_FIREBOLT_ENGINE_NAME }}
385+
DRIVERS_TESTS_FIREBOLT_CUBEJS_DB_NAME: ${{ secrets.DRIVERS_TESTS_FIREBOLT_CUBEJS_DB_NAME }}
386+
DRIVERS_TESTS_FIREBOLT_CUBEJS_FIREBOLT_ACCOUNT: ${{ secrets.DRIVERS_TESTS_FIREBOLT_CUBEJS_FIREBOLT_ACCOUNT }}
387+
DRIVERS_TESTS_FIREBOLT_CUBEJS_DB_USER: ${{ secrets.DRIVERS_TESTS_FIREBOLT_CUBEJS_DB_USER }}
388+
DRIVERS_TESTS_FIREBOLT_CUBEJS_DB_PASS: ${{ secrets.DRIVERS_TESTS_FIREBOLT_CUBEJS_DB_PASS }}
373389

374390
integration-smoke:
375391
needs: [ latest-tag-sha, build-cubestore ]
@@ -380,6 +396,7 @@ jobs:
380396
strategy:
381397
matrix:
382398
node-version: [ 20.x ]
399+
python-version: [ 3.11 ]
383400
fail-fast: false
384401

385402
steps:
@@ -405,6 +422,10 @@ jobs:
405422
uses: actions/setup-node@v4
406423
with:
407424
node-version: ${{ matrix.node-version }}
425+
- name: Install Python
426+
uses: actions/setup-python@v5
427+
with:
428+
python-version: ${{ matrix.python-version }}
408429
- name: Get yarn cache directory path
409430
id: yarn-cache-dir-path
410431
run: echo "dir=$(yarn cache dir)" >> "$GITHUB_OUTPUT"
@@ -432,6 +453,11 @@ jobs:
432453
uses: GoodManWEN/oracle-client-action@main
433454
- name: Build client
434455
run: yarn build
456+
- name: Build cubejs-backend-native (with Python)
457+
run: yarn run native:build-release-python
458+
working-directory: ./packages/cubejs-backend-native
459+
env:
460+
PYO3_PYTHON: python${{ matrix.python-version }}
435461
- name: Lerna tsc
436462
run: yarn tsc
437463
- name: Download cubestored-x86_64-unknown-linux-gnu-release artifact

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,23 @@
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.1.9](https://github.com/cube-js/cube/compare/v1.1.8...v1.1.9) (2024-12-08)
7+
8+
9+
### Bug Fixes
10+
11+
* **cubesql:** Allow aggregation pushdown only for unlimited CubeScan ([#8929](https://github.com/cube-js/cube/issues/8929)) ([5b10a68](https://github.com/cube-js/cube/commit/5b10a68b4aca8e5050291fa3ca85dd5f3edc6614))
12+
* **ksql-driver:** Select queries for ksql allowed only from Cube Store. In order to query ksql create pre-aggregation first if Kafka download isn't enabled ([0c2f701](https://github.com/cube-js/cube/commit/0c2f7015d7b2949009fd4aa5c0974547f7463748))
13+
14+
15+
### Features
16+
17+
* **schema-compiler:** folders support, hierarchies improvements ([#9018](https://github.com/cube-js/cube/issues/9018)) ([2012281](https://github.com/cube-js/cube/commit/20122810f508d978921b56f8d9b8a4e479290d56))
18+
19+
20+
21+
22+
623
## [1.1.8](https://github.com/cube-js/cube/compare/v1.1.7...v1.1.8) (2024-12-05)
724

825

docs/components/common/Footer/Footer.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,6 @@ const RESOURCES_LINKS = [
5353
label: "Blog",
5454
link: "https://cube.dev/blog/",
5555
},
56-
{
57-
label: "Examples",
58-
link: "https://cube.dev/examples",
59-
},
6056
{
6157
label: "Community",
6258
link: "https://cube.dev/community",

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"update-links": "ts-node --esm scripts/update-links.mjs"
1515
},
1616
"dependencies": {
17-
"@cube-dev/marketing-ui": "0.0.1-beta.17",
17+
"@cube-dev/marketing-ui": "0.0.1-beta.22",
1818
"@cubejs-client/core": "^0.32.17",
1919
"@radix-ui/react-dialog": "^1.0.4",
2020
"@radix-ui/react-navigation-menu": "^1.1.3",

docs/pages/guides/recipes/data-modeling/using-dynamic-measures.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ statuses from an external API. To calculate the orders percentage distribution,
2121
we need to create several
2222
[measures](/product/data-modeling/concepts#measures) that refer to
2323
each other. But we don't want to manually change the data model for each new
24-
status. To solve this, we will create a
25-
[schema dynamically](/product/data-modeling/dynamic).
24+
status. To solve this, we will create a [data model
25+
dynamically](/product/data-modeling/dynamic).
2626

2727
## Data modeling
2828

docs/pages/product/apis-integrations/ai-api.mdx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Specifically, you can send the AI API a message (or conversation of messages) an
1111
your Cube representative to have it enabled for your account.
1212
</WarningBox>
1313

14+
See [AI API reference][ref-ref-ai-api] for the list of supported API endpoinsts.
15+
1416
## Configuration
1517

1618
While the AI API is in preview, your Cube account team will enable and configure it for you.
@@ -217,4 +219,7 @@ deployment. See below for required variables by provider (required unless noted)
217219
#### OpenAI
218220

219221
- `OPENAI_MODEL` - An OpenAI chat model ID, for example `gpt-4o`
220-
- `OPENAI_API_KEY` - An OpenAI API key (we recommend creating a service account for the AI API)
222+
- `OPENAI_API_KEY` - An OpenAI API key (we recommend creating a service account for the AI API)
223+
224+
225+
[ref-ref-ai-api]: /reference/ai-api

docs/pages/product/apis-integrations/javascript-sdk.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ yarn add @cubejs-client/core
9494

9595
Now you can build your application from scratch or connect to one of our
9696
[supported data visualization tools](/product/configuration/visualization-tools).
97-
You can also [explore example applications](https://cube.dev/examples) built with Cube.
9897

9998
## Data format
10099

docs/pages/product/apis-integrations/javascript-sdk/angular.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ yarn add @cubejs-client/core @cubejs-client/ngx
105105

106106
Now you can build your application from scratch or connect to one of our
107107
[supported data visualization tools](/product/configuration/visualization-tools).
108-
You can also [explore example applications](https://cube.dev/examples) built with Cube.
109108

110109

111110
[ref-compare-date-range]: /product/apis-integrations/queries#compare-date-range-query

docs/pages/product/apis-integrations/javascript-sdk/react.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ yarn add @cubejs-client/core @cubejs-client/react
112112

113113
Now you can build your application from scratch or connect to one of our
114114
[supported data visualization tools](/product/configuration/visualization-tools).
115-
You can also [explore example applications](https://cube.dev/examples) built with Cube.
116115

117116

118117
[ref-compare-date-range]: /product/apis-integrations/queries#compare-date-range-query

0 commit comments

Comments
 (0)