Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
195 commits
Select commit Hold shift + click to select a range
33cb510
docs: Fix incorrect usage of dbt_cube model property (#8959)
AvilaJulio Nov 15, 2024
eca7e4d
fix(schema-compiler): Time dimension filter for lambda cubes (#8957)
RusovDmitriy Nov 15, 2024
471e10c
v1.1.6
ovr Nov 17, 2024
b103af8
docs: Clarify the `cube.sql()` function with an example
igorlukanin Nov 18, 2024
b75a37a
chore(cubesql): E2E - check that env variables are not empty (#8965)
ovr Nov 18, 2024
0dbc499
chore(cubestore): Remove dependency on feature(cursor_remaining) in c…
srh Nov 18, 2024
cfdc2a2
fix(jdbc-driver): Log errors from connection pool factory (#8903)
mcheshkov Nov 19, 2024
6c19524
docs: Add `CUBESQL_STREAM_MODE`, update the default for `CUBESQL_SQL_…
igorlukanin Nov 19, 2024
137de67
fix(databricks-driver): fix databricks bucket URL parsing. Now driver…
KSDaemon Nov 19, 2024
e25e65f
feat(clickhouse-driver): Switch from apla-clickhouse to @clickhouse/c…
mcheshkov Nov 19, 2024
85eaa29
fix(cubesql): Support explicit UTC as timezone in pushdown SQL genera…
mcheshkov Nov 20, 2024
591a383
v1.1.7
ovr Nov 20, 2024
4ea0740
fix(cubesql): fix unhandled timestamp unwrapping in df/transform_resp…
KSDaemon Nov 20, 2024
7b1f797
feat(pinot-driver): add optional oAuth headers (#8953)
KSDaemon Nov 20, 2024
e948856
fix(clickhouse-driver): Replace error cause with string formatting (#…
mcheshkov Nov 21, 2024
47e7897
fix: fix data access policies condition logic (#8976)
bsod90 Nov 21, 2024
0aee4fc
feat(duckdb-driver): remove unnecessary installing and loading HttpFS…
benyaminsalimi Nov 22, 2024
474beec
docs: Fix incorrect handling of env variable data type (#8979) — than…
AvilaJulio Nov 22, 2024
e39b3e5
docs: Update Staging Environments docs (#8958)
asmisha Nov 22, 2024
bbe170c
docs: Update databricks-jdbc.mdx (#8757) — thanks, @morgan-at-cube!
morgan-at-cube Nov 22, 2024
028bc95
chore(deps): Bump dompurify from 3.0.7 to 3.1.7 in /docs (#8806)
dependabot[bot] Nov 22, 2024
a3ed6ea
fix: ensure public is in sync with isVisible when using DAP (#8980)
bsod90 Nov 22, 2024
41b49f4
fix(schema-compiler): Undefined columns for lambda pre-aggregation qu…
KSDaemon Nov 23, 2024
1beba2d
fix(schema-compiler): use query timezone for time granularity origin …
KSDaemon Nov 23, 2024
331d3a7
chore(ci): add the sh script to prevent Vercel deploying from forks (…
KSDaemon Nov 25, 2024
98b5013
chore(cubestore): make trace_id and span_id suitable for open telemet…
KSDaemon Nov 25, 2024
ae823c9
fix(dev_env_setup): use relative packages everywhere (#8910)
johancube Nov 25, 2024
a421405
chore(ci): move the sh script to prevent Vercel deploying from forks …
KSDaemon Nov 25, 2024
eb33d1a
feat(cubejs-api-gateway): alternative auth headers (#8987)
johancube Nov 25, 2024
811a7ce
fix(clickhouse-driver): Tune ClickHouse errors: remove SQL, catch pin…
mcheshkov Nov 26, 2024
ff89d65
fix(server-core): fix member level access policy evaluation (#8992)
bsod90 Nov 26, 2024
deeb5e2
docs: Specify deployment warm-up timeouts
igorlukanin Nov 26, 2024
ead97b4
fix(dev_env_setup): Fix incorrect arguments processing and make conso…
KSDaemon Nov 26, 2024
8a53481
perf(cubestore): ProjectionAboveLimit query optimization (#8984)
srh Nov 27, 2024
fe62933
chore(cubestore): Downgrade rdkafka version to 0.29.0 (#8996)
waralexrom Nov 27, 2024
d1b07f1
feat(sqlplanner): Extract alias logic from the symbols (#8919)
waralexrom Nov 27, 2024
f37c000
test(schema-compiler): Replace apla-clickhouse with @clickhouse/clien…
mcheshkov Nov 27, 2024
0483c9d
docs: ai api updates (#8997)
mjirv Nov 27, 2024
cd7490e
fix(schema-compiler): Fix incorrect sql generation for view queries r…
KSDaemon Nov 27, 2024
f61afc3
feat(databricks-driver): Support for intervals and CURRENT_DATE for s…
KSDaemon Nov 27, 2024
4613628
perf(cubestore): Update DataFusion pointer to new GroupsAccumulator c…
srh Nov 27, 2024
7ccd607
fix(cubestore): Disable writing cachestore logs by default to reduce …
paveltiunov Nov 29, 2024
31d4b46
fix(ksql-driver): Kafka, list of brokers (#9009)
RusovDmitriy Dec 2, 2024
4b85612
docs: A few notes
igorlukanin Dec 2, 2024
3e203e8
chore(cubesql): Do not call async Node functions while planning (#8793)
MazterQyou Dec 3, 2024
82ba01a
fix(schema-compiler): Fix ungrouped cumulative queries incorrect sql …
KSDaemon Dec 4, 2024
8f45afa
feat(firebolt): Automatically start the engine after connection (#9001)
stepansergeevitch Dec 5, 2024
6d82f18
fix(schema-compiler): fix FILTER_PARAMS to populate set and notSet fi…
sumeetgajjar Dec 5, 2024
4e366d3
fix(server-core): fix improper requestId retrieval in DAP (#9017)
bsod90 Dec 5, 2024
2b4bc9e
v1.1.8
bsod90 Dec 5, 2024
e9fdf95
ci: Switch macos-12 runner to macos-13 (#9022)
mcheshkov Dec 6, 2024
5b10a68
fix(cubesql): Allow aggregation pushdown only for unlimited CubeScan …
mcheshkov Dec 6, 2024
060d666
refactor(cubesql): Remove Extension from LogicalPlanLanguage::CubeSca…
mcheshkov Dec 6, 2024
3ca3811
refactor(cubesql): Improve EGraph debugger, part 3: parsing and data …
mcheshkov Dec 6, 2024
a74818e
refactor(cubestore): Use OnceLock for GLOBAL_SINK (#9023)
mcheshkov Dec 6, 2024
2012281
feat(schema-compiler): folders support, hierarchies improvements (#9018)
vasilev-alex Dec 6, 2024
ee9f891
docs: Clarify when to use `set`/`notSet` filters
igorlukanin Dec 6, 2024
7dfaf0c
docs: Remove links to the examples page
igorlukanin Dec 6, 2024
0c2f701
fix(ksql-driver): Select queries for ksql allowed only from Cube Stor…
paveltiunov Dec 8, 2024
0ed3beb
chore(ksql-driver): Select queries for ksql allowed only from Cube St…
paveltiunov Dec 8, 2024
dcc46c7
v1.1.9
paveltiunov Dec 8, 2024
504e0a9
docs: Elaborate on compaction effects on performance
paveltiunov Dec 8, 2024
9d6ab17
chore(firebolt-driver): Setup CI tests (#9019)
KSDaemon Dec 9, 2024
232c626
docs: Add a link to OpenAPI docs
igorlukanin Dec 9, 2024
e55974e
docs: Add two more Pinot/StarTree env vars
igorlukanin Dec 9, 2024
23695b2
fix(api-gateway): make sure DAP works sql pushdown (#9021)
bsod90 Dec 9, 2024
09ea671
docs: Bump package to increase the number of search results
igorlukanin Dec 9, 2024
553b408
chore(ci): run firebolt integration test only for internal PRs, not f…
KSDaemon Dec 10, 2024
47f6e69
docs: Add a link to column type mapping source code for cube_dbt
igorlukanin Dec 10, 2024
47c3638
docs: Detail Orchestration API job statuses. Resolves #9016
igorlukanin Dec 10, 2024
215e456
docs: Clean up, replace outdated "schema" wording with "data model"
igorlukanin Dec 10, 2024
27665c3
docs: Add data ingestion timeout for Cube Store
igorlukanin Dec 11, 2024
9327f70
chore(cubesql): Convert properly DataType::Timestamp into ColumnType:…
max-kammerer Dec 11, 2024
849790f
fix(schema-compiler): fix DAP with query_rewrite and python config (#…
bsod90 Dec 12, 2024
222cab8
fix(cubestore): Allow create an index from expressions (#9006)
RusovDmitriy Dec 12, 2024
fd4ccff
chore(ci): fix broken integration-smoke tests (#9039)
KSDaemon Dec 12, 2024
546086f
docs: Fix broken build 🤡
igorlukanin Dec 12, 2024
6ea1d0f
Update caching.mdx (#7759)
morgan-at-cube Dec 12, 2024
369b02e
docs: Update pre-aggregations.mdx (#8219)
morgan-at-cube Dec 12, 2024
f8c3d3a
docs: Update context.mdx (#8900)
morgan-at-cube Dec 12, 2024
a69c28f
fix(api-gateway): allow switch sql user when the new user is the same…
bsod90 Dec 12, 2024
368671f
feat(cubesql): Basic VALUES support in rewrite engine (#9041)
MazterQyou Dec 12, 2024
3fbae30
docs: Chasm and fan traps
paveltiunov Dec 13, 2024
ad4e8e3
fix(schema-compiler): join relationship aliases
vasilev-alex Dec 13, 2024
d2c2fcd
feat(dremio-driver): Add Dremio Cloud Support (#8956)
maladroitthief Dec 13, 2024
0bba1b9
test: Bump default PostgreSQL image to 12.22 (#9045)
mcheshkov Dec 13, 2024
fc7e0c5
docs: Chasm and fan traps
paveltiunov Dec 13, 2024
a56462e
chore(sqlplanner): Sql planner another schema refactoring (#9038)
waralexrom Dec 14, 2024
b62446e
feat(tesseract): Support multiple join paths within single query (#9047)
paveltiunov Dec 16, 2024
8ff2eca
v1.1.10
paveltiunov Dec 16, 2024
14adaeb
fix: TypeError: Cannot read properties of undefined (reading 'joins')
paveltiunov Dec 16, 2024
b8afc84
v1.1.11
paveltiunov Dec 16, 2024
1cf867a
chore(dremio-driver): add basic integration tests for dremio cloud (#…
KSDaemon Dec 16, 2024
7c38845
fix(cubejs-client-core): hierarchy typings (#9042)
tenphi Dec 16, 2024
64104c5
Update index.d.ts
tenphi Dec 16, 2024
59dc373
docs(ai): adds value search section (#9020)
mjirv Dec 16, 2024
cb507c1
feat(tesseract): Make measure an entry point for multi-fact join for …
paveltiunov Dec 16, 2024
e661d2a
fix(api-gateway): fix DAP RLS issue with denied queries and python co…
bsod90 Dec 17, 2024
171ea35
feat(cubesql): Penalize zero members in wrapper (#8927)
mcheshkov Dec 17, 2024
95021f2
fix(backend-native): Pass req.securityContext to Python config (#9049)
mcheshkov Dec 18, 2024
6632140
chore: update packages (#9012)
KSDaemon Dec 18, 2024
0e6ecd9
feat(duckdb-driver): Add support for installing and loading DuckDB Ex…
ramalingamt Dec 18, 2024
10e47fc
feat(server-core): Support for scheduledRefreshTimeZones as function,…
KSDaemon Dec 18, 2024
ed3f6c9
feat(cubejs-client-core): Fill missing dates with custom measure valu…
nagulan23 Dec 18, 2024
e29ae4c
docs: Fix a typo in polymorphic cubes
igorlukanin Dec 19, 2024
04deee9
docs: Remove outdated example
igorlukanin Dec 19, 2024
e1911d4
docs: Add a note on placeholders in a generated query
igorlukanin Dec 19, 2024
f254f64
fix(tesseract): sqlAlias support
waralexrom Jan 6, 2025
9130a17
docs: Elaborate on multiple join paths
paveltiunov Jan 6, 2025
5494864
docs: Add Azure blob storage instructions to Snowflake (#9070)
paco-valdez Jan 7, 2025
980e223
docs: Mention deprecated features
igorlukanin Jan 7, 2025
59b694f
chore(deps): Bump next from 14.2.10 to 14.2.21 in /docs (#9067)
dependabot[bot] Jan 8, 2025
667f309
chore(deps): Bump mermaid from 10.6.1 to 10.9.3 in /docs (#8856)
dependabot[bot] Jan 8, 2025
cae4ede
chore(dev-scripts): allow to link cube packages without need for proj…
KSDaemon Jan 8, 2025
c97526f
fix(schema-compiler): fix time dimension granularity origin formattin…
KSDaemon Jan 8, 2025
d48ef99
fix(backend-native): Fix request sequence span ids (#9077)
KSDaemon Jan 8, 2025
ee826e1
fix(dremio-driver): Fix stale version of testing-shared dependency (#…
mcheshkov Jan 8, 2025
cd91f7d
chore: Remove request promise in favor of node-fetch (#9069)
KSDaemon Jan 9, 2025
c43340d
feat(vertica-driver): Introduce VerticaDriver (#9081)
KSDaemon Jan 9, 2025
4bdd149
Upgrade to DuckDB 1.1.3 (#9008)
taras Jan 9, 2025
a7cf544
v1.1.12
KSDaemon Jan 9, 2025
c5aa6cc
fix(clickhouse-driver): Support overriding Username & Password from D…
danieljaniga Jan 9, 2025
056a1d8
fix(schema-compiler): Handle member expressions in keyDimensions (#9083)
mcheshkov Jan 9, 2025
e4c5d3f
docs: Explain combining measure and dimension filters
igorlukanin Jan 9, 2025
bf332ef
fix(cubejs-cli): Fix content type and body after switching from reque…
KSDaemon Jan 9, 2025
7e66334
v1.1.13
KSDaemon Jan 9, 2025
9653a23
fix(cubesql): add title field to Dimension Metadata (#9084)
max-kammerer Jan 9, 2025
d8d8de2
v1.1.14
KSDaemon Jan 9, 2025
8d714d6
fix(cubesql): Add folders to Cube Metadata (#9089)
max-kammerer Jan 11, 2025
e55beb1
v1.1.15
KSDaemon Jan 13, 2025
f17fdac
chore: cli and cloud packages, deprecated code removed (#9060)
RusovDmitriy Jan 13, 2025
cef0714
chore: Align drivers methods signatures (add overrides to public/prot…
KSDaemon Jan 13, 2025
80591ea
feat(cli): Deploy, added --replace-env flag (#9095)
RusovDmitriy Jan 13, 2025
646bd9d
docs: clarify usage of cron + sql in refresh_key (#9082)
AvilaJulio Jan 13, 2025
f48495c
fix(gateway): dryRun to return pre-rewritten queries (#9091)
vasilev-alex Jan 14, 2025
71663df
docs: Document the new `--replace-env` flag in CLI
igorlukanin Jan 14, 2025
aaa4364
docs: Disable GTM on dev
igorlukanin Jan 14, 2025
2f11d20
feat: Initial support for grouped join pushdown (#9032)
mcheshkov Jan 14, 2025
c8f24f7
fix(schema-compiler): hierarchies on extended cubes (#9100)
vasilev-alex Jan 15, 2025
80f10ce
fix(api-gateway): Allow querying time dimensions with custom granular…
LFischerstrom Jan 15, 2025
d9bc147
fix(client-ws-transport): Flush send queue in close() to avoid race (…
mcheshkov Jan 15, 2025
9700dc8
fix: Install python3 executable for node-gyp (#8998)
mcheshkov Jan 16, 2025
a64272e
fix(cubesql): Add forgotten Distinct in ast_size_outside_wrapper cost…
mcheshkov Jan 16, 2025
b2b9c1a
docs: Update microsoft-entra-id.mdx (#9103)
morgan-at-cube Jan 16, 2025
4cef4f0
perf(cubesql): Improve rules loading perf (#9014)
mcheshkov Jan 16, 2025
29cd2fb
chore: Fix typo, thanks @MateusFrFreitas (#9093)
MateusFrFreitas Jan 16, 2025
5e8fc92
test(cubesql): Add forgotten data source for MultiTypeCube (#9096)
mcheshkov Jan 16, 2025
8f0758e
fix(cubesql): Pass proper in_projection flag in non-trivial wrapper p…
mcheshkov Jan 16, 2025
bde6eea
feat(cubesql): Implement format and col_description (#9072)
mcheshkov Jan 16, 2025
0341c85
refactor(cubesql): Fix clippy warnings in cubesql, part 1 (#9052)
mcheshkov Jan 17, 2025
aab9e8f
fix: typo for DBeaver in comments change DBEver to DBeaver (#9092)
yihong0618 Jan 17, 2025
6d75c60
fix(druid-driver): Fix case sensitivity in like flow (#8658)
cpcpn-emil Jan 17, 2025
0e14d6f
docs: Refactor the Environments page (#9110)
igorlukanin Jan 20, 2025
93d427e
docs: Hierarchies and folders in the data model (#9106)
igorlukanin Jan 20, 2025
fc5efb2
docs: Update continuous-deployment.mdx (#9116)
AvilaJulio Jan 20, 2025
9ae9035
refactor(cubesql): Move all wrapper replacers params to separate enod…
mcheshkov Jan 20, 2025
39190e0
fix(cubesql): Fix condition for joining two date range filters (#9113)
mcheshkov Jan 20, 2025
81f9b58
fix(cubejs-client-react): useCubeQuery initial loading state (#9117)
tenphi Jan 21, 2025
42cbc8e
fix(schema-compiler): update hierarchies handling to use object patte…
vasilev-alex Jan 21, 2025
7ad8936
feat(cubejs-playground): update query builder (#9118)
tenphi Jan 22, 2025
924a17c
v1.1.16
paveltiunov Jan 22, 2025
f121e4d
feat(databricks-driver): Enable Azure AD authentication via Client Se…
KSDaemon Jan 23, 2025
a988612
chore(package-dev): Update lerna to latest (#9107)
KSDaemon Jan 23, 2025
6d6df53
fix(presto-driver): optimize testConnection() to issue get nodes() in…
KSDaemon Jan 23, 2025
5fb81cc
fix(schema-compiler): Move create table name check to underlying driv…
KSDaemon Jan 23, 2025
4583816
chore: update cypress (#9127)
tenphi Jan 23, 2025
be140ec
feat(cubesql): Support %s in format (#9129)
mcheshkov Jan 23, 2025
e7fd576
docs: Elaborate on stability of context to app id for multi-cluster
paveltiunov Jan 23, 2025
5a540db
feat(schema-compiler): Add flag for using named timezones in MySQL Qu…
KSDaemon Jan 24, 2025
db3b0fd
feat(snowflake-driver): Add ignore case statements flag (#9131)
KSDaemon Jan 24, 2025
3822107
feat(api-gateway): Async native query results transformations (#8961)
KSDaemon Jan 24, 2025
f47b826
chore(ci): Unignore native build during docker build for master (#9139)
KSDaemon Jan 27, 2025
bcf57df
chore: update cypress config (#9142)
tenphi Jan 27, 2025
f02af66
chore(ci): fix docker dev image build for master (#9143)
KSDaemon Jan 27, 2025
d130dbc
v1.1.17
KSDaemon Jan 27, 2025
f228325
chore(ci): Fix post-release and cloud db tests ci workflows (#9145)
KSDaemon Jan 27, 2025
53fb2ae
docs: Update monitoring.mdx (#9147)
AvilaJulio Jan 27, 2025
7974eac
fix(api-gateway): Fix graphql query result processing via native resu…
KSDaemon Jan 27, 2025
bb86016
v1.1.18
KSDaemon Jan 27, 2025
50bdbe7
feat(cubesql): Add separate ungrouped_scan flag to wrapper replacer c…
mcheshkov Jan 28, 2025
6d45413
chore(dev-scripts): Set allowed branches for lerna publishing via con…
KSDaemon Jan 28, 2025
554bfc4
docs: Add a proof-of-concept video for AI API
igorlukanin Jan 28, 2025
92a4b8e
feat(cubesql): Add filter flattening rule (#9148)
mcheshkov Jan 28, 2025
5f7564a
chore: update cypress config (#9163)
tenphi Jan 30, 2025
0f9566e
chore(firebolt-driver): update firebolt-sdk to 1.10.0
stepansergeevitch Jan 30, 2025
9a73857
fix(databricks-jdbc-driver): Fix extract epoch from timestamp SQL Gen…
KSDaemon Jan 30, 2025
2cef6a6
Fix weirdness
akolov Jan 30, 2025
34c649d
Read env directly for less intrusive package
akolov Jan 30, 2025
57bcbc4
fix(@cubejs-client/ngx): Update APF configuration and build settings …
HaidarZ Jan 31, 2025
ff1eda1
Add generic type override
akolov Jan 31, 2025
ecf1002
Merge branch 'master' into alex/env
akolov Jan 31, 2025
164b783
feat(snowflake-driver): set QUOTED_IDENTIFIERS_IGNORE_CASE=FALSE by d…
KSDaemon Feb 3, 2025
4e9ed0e
fix(cubejs-playground): update query builder (#9175)
tenphi Feb 3, 2025
28c1e3b
feat: Support complex join conditions for grouped joins (#9157)
mcheshkov Feb 4, 2025
e03361a
Merge remote-tracking branch 'upstream/master' into upstream-merging
akolov Feb 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 10 additions & 0 deletions .github/actions/integration/dremio.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
set -eo pipefail

# Debug log for test containers
export DEBUG=testcontainers

echo "::group::Dremio [cloud]"
yarn lerna run --concurrency 1 --stream --no-prefix integration:dremio

echo "::endgroup::"
10 changes: 10 additions & 0 deletions .github/actions/integration/firebolt.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
set -eo pipefail

# Debug log for test containers
export DEBUG=testcontainers

echo "::group::Firebolt [cloud]"
yarn lerna run --concurrency 1 --stream --no-prefix integration:firebolt

echo "::endgroup::"
12 changes: 12 additions & 0 deletions .github/actions/integration/vertica.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash
set -eo pipefail

# Debug log for test containers
export DEBUG=testcontainers

export TEST_VERTICA_VERSION=12.0.4-0

echo "::group::Vertica ${TEST_VERTICA_VERSION}"
docker pull vertica/vertica-ce:${TEST_VERTICA_VERSION}
yarn lerna run --concurrency 1 --stream --no-prefix integration:vertica
echo "::endgroup::"
10 changes: 9 additions & 1 deletion .github/actions/smoke.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,12 @@ echo "::endgroup::"

echo "::group::MongoBI"
yarn lerna run --concurrency 1 --stream --no-prefix smoke:mongobi
echo "::endgroup::"
echo "::endgroup::"

echo "::group::Vertica"
yarn lerna run --concurrency 1 --stream --no-prefix smoke:vertica
echo "::endgroup::"

echo "::group::RBAC"
yarn lerna run --concurrency 1 --stream --no-prefix smoke:rbac
echo "::endgroup::"
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
**Check List**
- [ ] Tests has been run in packages where changes made if available
- [ ] Tests have been run in packages where changes made if available
- [ ] Linter has been run for changed code
- [ ] Tests for the changes have been added if not covered yet
- [ ] Docs have been added / updated if required
Expand Down
40 changes: 36 additions & 4 deletions .github/workflows/cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ on:
- 'package.json'
- 'yarn.lock'

env:
CUBEJS_TESSERACT_ORCHESTRATOR: true

jobs:
latest-tag-sha:
runs-on: ubuntu-20.04
Expand Down Expand Up @@ -59,11 +62,20 @@ jobs:
matrix:
node-version: [ 20.x ]
db: [ 'athena', 'bigquery', 'snowflake' ]
target: [ "x86_64-unknown-linux-gnu" ]
fail-fast: false

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly-2024-07-15
# override: true # this is by default on
rustflags: ""
components: rustfmt
target: ${{ matrix.target }}
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
Expand All @@ -82,17 +94,37 @@ jobs:
- name: Set Yarn version
run: yarn policies set-version v1.22.22
- name: Yarn install
run: CUBESTORE_SKIP_POST_INSTALL=true yarn install --frozen-lockfile
- name: Build client
uses: nick-fields/retry@v3
env:
CUBESTORE_SKIP_POST_INSTALL: true
with:
max_attempts: 3
retry_on: error
retry_wait_seconds: 15
timeout_minutes: 20
command: yarn install --frozen-lockfile
- name: Build Core Client libraries
run: yarn build
- name: Build other packages
run: yarn lerna run --concurrency 1 build
env:
NODE_OPTIONS: --max_old_space_size=4096
- name: Lerna tsc
run: yarn tsc
- name: Build cubejs-backend-native (without Python)
run: yarn run native:build-release
working-directory: ./packages/cubejs-backend-native
- name: Run Integration tests for ${{ matrix.db }} matrix
timeout-minutes: 30
uses: nick-fields/retry@v3
with:
max_attempts: 3
retry_on: error
retry_wait_seconds: 15
timeout_minutes: 30
command: ./.github/actions/integration/${{ matrix.db }}.sh
env:
CUBEJS_DB_BQ_CREDENTIALS: ${{ secrets.CUBEJS_DB_BQ_CREDENTIALS }}
CUBEJS_AWS_KEY: ${{ secrets.CUBEJS_AWS_KEY }}
CUBEJS_AWS_SECRET: ${{ secrets.CUBEJS_AWS_SECRET }}
CUBEJS_DB_USER: ${{ secrets.DRIVERS_TESTS_CUBEJS_DB_SNOWFLAKE_USER }}
CUBEJS_DB_PASS: ${{ secrets.DRIVERS_TESTS_CUBEJS_DB_SNOWFLAKE_PASS }}
run: ./.github/actions/integration/${{ matrix.db }}.sh
18 changes: 15 additions & 3 deletions .github/workflows/drivers-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ on:
- 'packages/cubejs-mssql-driver/**'
- 'packages/cubejs-mysql-driver/**'
- 'packages/cubejs-postgres-driver/**'
- 'packages/cubejs-redshift-driver/**'
- 'packages/cubejs-snowflake-driver/**'
- 'packages/cubejs-vertica-driver/**'

# To test SQL API Push down
- 'packages/cubejs-backend-native/**'
Expand All @@ -48,12 +50,17 @@ on:
- 'packages/cubejs-mssql-driver/**'
- 'packages/cubejs-mysql-driver/**'
- 'packages/cubejs-postgres-driver/**'
- 'packages/cubejs-redshift-driver/**'
- 'packages/cubejs-snowflake-driver/**'
- 'packages/cubejs-vertica-driver/**'

# To test SQL API Push down
- 'packages/cubejs-backend-native/**'
- 'rust/cubesql/**'

env:
CUBEJS_TESSERACT_ORCHESTRATOR: true

jobs:
latest-tag-sha:
runs-on: ubuntu-20.04
Expand Down Expand Up @@ -115,8 +122,8 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
workspaces: ./packages/cubejs-backend-native
key: native-${{ runner.OS }}-x86_64-unknown-linux-gnu
shared-key: native-${{ runner.OS }}-x86_64-unknown-linux-gnu
key: native-${{ runner.OS }}-${{ matrix.target }}
shared-key: native-${{ runner.OS }}-${{ matrix.target }}
- name: Build native (fallback)
if: (matrix.python-version == 'fallback')
env:
Expand Down Expand Up @@ -163,7 +170,12 @@ jobs:
uses: actions/download-artifact@v4
with:
name: backend-native
path: packages/cubejs-backend-native/
path: packages/cubejs-backend-native
# current .dockerignore prevents use of native build
- name: Unignore native from .dockerignore
run: |
grep -v -E "packages/cubejs-backend-native/((native)|(index.node))" .dockerignore > .dockerignore.tmp
mv .dockerignore.tmp .dockerignore
- name: Build and push
uses: docker/build-push-action@v6
with:
Expand Down
15 changes: 11 additions & 4 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ on:
- 'rust/cubesql/**'
branches:
- master
env:
CUBEJS_TESSERACT_ORCHESTRATOR: true
jobs:
latest-tag-sha:
runs-on: ubuntu-20.04
Expand Down Expand Up @@ -45,7 +47,7 @@ jobs:
timeout-minutes: 60
name: Build Linux Native backend for Dev image
container:
image: cubejs/rust-cross:x86_64-unknown-linux-gnu-15082024-python-3.9
image: cubejs/rust-cross:x86_64-unknown-linux-gnu-15082024-python-3.11

steps:
- name: Checkout
Expand Down Expand Up @@ -77,14 +79,14 @@ jobs:
run: npm install -g cargo-cp-artifact@0.1
- name: Build native (with Python)
env:
PYO3_PYTHON: python3.9
PYO3_PYTHON: python3.11
CARGO_BUILD_TARGET: x86_64-unknown-linux-gnu
working-directory: ./packages/cubejs-backend-native
run: yarn run native:build-debug-python
- name: Store build artifact for dev image
uses: actions/upload-artifact@v4
with:
name: "native-linux-x64-glibc-3.9.node" # this name is referenced below in docker-image-dev
name: "native-linux-x64-glibc-3.11.node" # this name is referenced below in docker-image-dev
path: ./packages/cubejs-backend-native/index.node
overwrite: true

Expand All @@ -99,7 +101,7 @@ jobs:
- name: Download backend-native artifact
uses: actions/download-artifact@v4
with:
name: "native-linux-x64-glibc-3.9.node" # this name is referenced in above in native_linux
name: "native-linux-x64-glibc-3.11.node" # this name is referenced in above in native_linux
path: ./packages/cubejs-backend-native/
- name: Login to DockerHub
uses: docker/login-action@v3
Expand All @@ -108,6 +110,11 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
# current .dockerignore prevents use of native build
- name: Unignore native from .dockerignore
run: |
grep -v -E "packages/cubejs-backend-native/((native)|(index.node))" .dockerignore > .dockerignore.tmp
mv .dockerignore.tmp .dockerignore
- name: Push to Docker Hub
uses: docker/build-push-action@v6
with:
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/post-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,15 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly-2024-07-15
# override: true # this is by default on
rustflags: ""
components: rustfmt
target: x86_64-unknown-linux-gnu
cache: false
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -61,6 +70,9 @@ jobs:
run: yarn build
- name: Lerna tsc
run: yarn tsc
- name: Build cubejs-backend-native (without Python)
run: yarn run native:build-release
working-directory: ./packages/cubejs-backend-native
- name: Birdbox
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ jobs:
strategy:
matrix:
node-version: [20.x]
os-version: ["macos-12"]
os-version: ["macos-13"]
target: ["x86_64-apple-darwin", "aarch64-apple-darwin"]
python-version: ["3.9", "3.10", "3.11", "3.12", "fallback"]
include:
Expand Down Expand Up @@ -552,7 +552,7 @@ jobs:
- name: Push to Docker Hub
uses: docker/build-push-action@v6
with:
context: ./rust/cubestore/
context: ./rust/
file: ./rust/cubestore/Dockerfile
platforms: ${{ matrix.platforms }}
build-args: ${{ matrix.build-args }}
Expand Down Expand Up @@ -677,7 +677,7 @@ jobs:
tar_executable: tar
# Please use minimal possible version of macOS, because it produces constraint on libstdc++
- target: x86_64-apple-darwin
os: macos-12
os: macos-13
executable_name: cubestored
# upx has been disabled because it is crashing for macOS Ventura or above! It was disabled on 2024-09-05.
strip: false
Expand Down
Loading