Skip to content

Commit 527f3f1

Browse files
authored
Merge branch 'master' into vertica_driver
2 parents a88cac3 + 215e456 commit 527f3f1

File tree

137 files changed

+2265
-1238
lines changed

Some content is hidden

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

137 files changed

+2265
-1238
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/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ jobs:
152152
strategy:
153153
matrix:
154154
node-version: [20.x]
155-
os-version: ["macos-12"]
155+
os-version: ["macos-13"]
156156
target: ["x86_64-apple-darwin", "aarch64-apple-darwin"]
157157
python-version: ["3.9", "3.10", "3.11", "3.12", "fallback"]
158158
include:
@@ -677,7 +677,7 @@ jobs:
677677
tar_executable: tar
678678
# Please use minimal possible version of macOS, because it produces constraint on libstdc++
679679
- target: x86_64-apple-darwin
680-
os: macos-12
680+
os: macos-13
681681
executable_name: cubestored
682682
# upx has been disabled because it is crashing for macOS Ventura or above! It was disabled on 2024-09-05.
683683
strip: false

.github/workflows/push.yml

Lines changed: 17 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', 'vertica'
327+
'mysql-aurora-serverless', 'crate', 'mongobi', 'firebolt', 'vertica'
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 ]

.github/workflows/rust-cubestore-master.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ jobs:
196196
# cubestored.exe: CantPackException: superfluous data between sections
197197
compress: false
198198
# Please use minimal possible version of macOS, because it produces constraint on libstdc++
199-
- os: macos-12
199+
- os: macos-13
200200
target: x86_64-apple-darwin
201201
executable_name: cubestored
202202
# upx has been disabled because it is crashing for macOS Ventura or above! It was disabled on 2024-09-05.

.github/workflows/rust-cubestore.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ jobs:
127127
# cubestored.exe: CantPackException: superfluous data between sections
128128
compress: false
129129
# Please use minimal possible version of macOS, because it produces constraint on libstdc++
130-
- os: macos-12
130+
- os: macos-13
131131
target: x86_64-apple-darwin
132132
executable_name: cubestored
133133
# upx has been disabled because it is crashing for macOS Ventura or above! It was disabled on 2024-09-05.

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

0 commit comments

Comments
 (0)