Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
333 commits
Select commit Hold shift + click to select a range
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
57bcbc4
fix(@cubejs-client/ngx): Update APF configuration and build settings …
HaidarZ 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
4c8de88
fix(cubesql): Avoid panics during filter rewrites (#9166)
mcheshkov Feb 4, 2025
d3e6ece
docs: Data access policies + LDAP integration (#9161)
igorlukanin Feb 4, 2025
56dbf9e
feat(cubeclient): Add hierarchies to Cube meta (#9180)
MazterQyou Feb 4, 2025
7279ac0
docs: Update continuous-deployment.mdx (#9177)
morgan-at-cube Feb 4, 2025
e7b992e
fix(schema-compiler): make sure view members are resolvable in DAP (#…
bsod90 Feb 4, 2025
97af50e
docs: Azure BYOC Deployment doc (#9181)
bsod90 Feb 4, 2025
1da80db
docs: Remove deprecated top-level `includes` in views from docs (#9171)
igorlukanin Feb 5, 2025
247ac0c
fix(cubejs-playground): update query builder (#9184)
tenphi Feb 5, 2025
70be06b
chore(dev-scripts): Force publish all packages version bump (#9185)
KSDaemon Feb 5, 2025
64c5728
v1.2.0
KSDaemon Feb 5, 2025
092b6ae
docs: Tiny fixes
igorlukanin Feb 5, 2025
21942c5
docs: Fix build
igorlukanin Feb 5, 2025
0dbf3bb
feat(tesseract): Subqueries support (#9108)
waralexrom Feb 5, 2025
7451452
feat(schema-compiler): Move transpiling to worker threads (under the …
KSDaemon Feb 6, 2025
882a443
v1.2.1
paveltiunov Feb 6, 2025
7cf2287
fix(dremio-driver): Correct dremio date interval functions (#9193)
KSDaemon Feb 6, 2025
364d181
fix(testing): avoid cypress crashes (#9196)
tenphi Feb 6, 2025
eff0736
fix(schema-compiler): Fix queries with time dimensions without granul…
KSDaemon Feb 6, 2025
6ee0e41
feat(cubejs-server-core): add contextToCubeStoreRouterId config optio…
bsod90 Feb 6, 2025
f28500b
v1.2.2
KSDaemon Feb 6, 2025
f93edd3
fix(cubejs-backend-native): support context_to_cube_store_router_id (…
bsod90 Feb 6, 2025
18909fe
v1.2.3
bsod90 Feb 6, 2025
f8e523b
fix(cubejs-playground): update query builder (#9201)
tenphi Feb 7, 2025
ae5d977
feat(cubesql): Allow providing API type when getting load request met…
MazterQyou Feb 7, 2025
7ef6282
feat(server-core): Introduce CUBEJS_REFRESH_WORKER_CONCURRENCY env an…
KSDaemon Feb 7, 2025
8cfb253
feat(cubesql): Add projection flattening rule (#9165)
mcheshkov Feb 10, 2025
5620f71
docs: Tiny fixes
igorlukanin Feb 11, 2025
448a37a
v1.2.4
mcheshkov Feb 11, 2025
60cff30
docs: Move API references (#9214)
igorlukanin Feb 12, 2025
6483f66
fix(cubesql): Fix SELECT DISTINCT on pushdown (#9144)
KSDaemon Feb 12, 2025
e849a34
chore: Bump cpu-features, ssh2 and nan (#9220)
mcheshkov Feb 13, 2025
18b82e0
chore(jdbc-driver): Align dev dependencies with monorepo (#9221)
mcheshkov Feb 13, 2025
b3777c3
chore(cubesql): Remove usage of nightly features (#9215)
ovr Feb 13, 2025
cfc95b5
feat: Upgrade rust to 1.84.1 (stable) (#9222)
ovr Feb 13, 2025
671bcdb
v1.2.5
ovr Feb 13, 2025
9956ad7
docs: Add videos and tune aspect ratio
igorlukanin Feb 13, 2025
d209e83
fix(cubejs-server-core): fix schema caching in SQL API with DAP on (…
bsod90 Feb 17, 2025
2dd9a4a
feat(schema-compiler): Boost models transpilation 10-13x times (using…
KSDaemon Feb 17, 2025
b9194e5
upgrade url-parse
KSDaemon Jan 23, 2025
1f91caa
upgrade semver
KSDaemon Jan 23, 2025
864fa7b
upgrade json5
KSDaemon Jan 23, 2025
134d3dc
upgrade cross-spawn
KSDaemon Jan 23, 2025
f1885b8
update loader-utils
KSDaemon Jan 23, 2025
e836ef1
update mssql
KSDaemon Jan 23, 2025
58ad0cc
update postcss
KSDaemon Jan 23, 2025
ffa7869
update nanoid
KSDaemon Jan 23, 2025
eb425c1
update engine.io
KSDaemon Jan 23, 2025
b24ee99
update rollup
KSDaemon Jan 23, 2025
1ffed20
update ua-parser-js
KSDaemon Jan 23, 2025
617e9d6
update semver
KSDaemon Jan 23, 2025
4984a06
update webpack
KSDaemon Jan 23, 2025
7f3b0c6
update tough-cookie
KSDaemon Jan 24, 2025
1fff242
update tar
KSDaemon Jan 24, 2025
aa93cdc
update minimatch
KSDaemon Jan 24, 2025
31348cd
update axios
KSDaemon Jan 24, 2025
9219a4b
update decode-uri-component
KSDaemon Jan 24, 2025
bf7e058
update cookiejar
KSDaemon Jan 24, 2025
c28d72b
update ansi-regex
KSDaemon Jan 24, 2025
b75f848
update ws
KSDaemon Jan 24, 2025
5e3f16a
update serve-static + send
KSDaemon Jan 24, 2025
b095466
update xml2js + aws-sdk
KSDaemon Jan 24, 2025
d152f9d
update markdown-it
KSDaemon Jan 24, 2025
5544ba6
update plist
KSDaemon Jan 24, 2025
87b70f2
update micromatch
KSDaemon Jan 24, 2025
1032c55
update node-fetch
KSDaemon Jan 24, 2025
3615dac
update path-to-regexp + express
KSDaemon Jan 24, 2025
c067a03
update engine.io + socket.io
KSDaemon Jan 24, 2025
6bc6c9d
update undici
KSDaemon Jan 24, 2025
5dcdf74
update @babel/traverse
KSDaemon Jan 24, 2025
4a7250e
update async
KSDaemon Jan 24, 2025
c019e5d
update eslint-plugin-node
KSDaemon Jan 24, 2025
b9b2a0d
update vite
KSDaemon Jan 24, 2025
e342cd3
update elliptic
KSDaemon Jan 24, 2025
453c331
update debug
KSDaemon Jan 24, 2025
0cb8da9
update es5-ext
KSDaemon Jan 24, 2025
7daadfa
update @babel/generator
KSDaemon Jan 24, 2025
cb03a0e
upgrade @angular v13→v16
KSDaemon Jan 24, 2025
1c7f914
update snowflake-sdk
KSDaemon Feb 7, 2025
3aa345d
update terser
KSDaemon Feb 7, 2025
72f1565
update follow-redirects
KSDaemon Feb 7, 2025
dddc7a6
update axios
KSDaemon Feb 7, 2025
33ba73f
fix tsc type warn
KSDaemon Feb 7, 2025
298175f
sync pkgs versions
KSDaemon Feb 17, 2025
6cddf9c
Fix Jest versions refs
KSDaemon Feb 17, 2025
c256f9c
trying to fix the testing-drivers build
KSDaemon Feb 17, 2025
9dcc09e
attempt to fix docker build
KSDaemon Feb 18, 2025
82abe25
fix lru-cache
KSDaemon Feb 18, 2025
cc7a835
update serialize-javascript
KSDaemon Feb 18, 2025
289780c
update @octokit/request
KSDaemon Feb 18, 2025
874b193
wip
KSDaemon Feb 18, 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
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ insert_final_newline = true

[*.rs]
indent_size = 4

[rust/cubesql/cubesql/egraph-debug-template/**/*.{js,jsx,ts,tsx}]
indent_size = 4
7 changes: 5 additions & 2 deletions .github/ISSUE_TEMPLATE/sql_api_query_issue.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: SQL API Query Issue
about: Create a report to help us improve
title: ''
labels: ''
labels: 'api:sql'
assignees: ''

---
Expand All @@ -13,8 +13,11 @@ Search for `Failed SQL` log message.
**Logical Plan**
Search for `Can't rewrite plan` log message.

**Tool**
Was thethe SQL query above generated by some BI tool or any other tool? Did you write it yourself?

**Version:**
[e.g. 0.4.5]
E.g., v1.1.0.

**Additional context**
Add any other context about the problem here.
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: 1.84.1
# 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
30 changes: 26 additions & 4 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 @@ -97,7 +104,7 @@ jobs:
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly-2024-07-15
toolchain: 1.84.1
# override: true # this is by default on
rustflags: ""
components: rustfmt
Expand All @@ -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 Expand Up @@ -196,6 +208,8 @@ jobs:
databricks-jdbc
databricks-jdbc-export-bucket-s3
databricks-jdbc-export-bucket-azure
redshift
redshift-export-bucket-s3
snowflake
snowflake-export-bucket-s3
snowflake-export-bucket-azure
Expand All @@ -221,6 +235,8 @@ jobs:
- mssql
- mysql
- postgres
- redshift
- redshift-export-bucket-s3
- snowflake
- snowflake-export-bucket-s3
- snowflake-export-bucket-azure
Expand Down Expand Up @@ -312,6 +328,11 @@ jobs:
DRIVERS_TESTS_CUBEJS_DB_EXPORT_BUCKET_AWS_KEY: ${{ secrets.DRIVERS_TESTS_CUBEJS_DB_EXPORT_BUCKET_AWS_KEY }}
DRIVERS_TESTS_CUBEJS_DB_EXPORT_BUCKET_AWS_SECRET: ${{ secrets.DRIVERS_TESTS_CUBEJS_DB_EXPORT_BUCKET_AWS_SECRET }}

# Redshift
DRIVERS_TESTS_CUBEJS_DB_REDSHIFT_HOST: ${{ secrets.DRIVERS_TESTS_CUBEJS_DB_REDSHIFT_HOST }}
DRIVERS_TESTS_CUBEJS_DB_REDSHIFT_USER: ${{ secrets.DRIVERS_TESTS_CUBEJS_DB_REDSHIFT_USER }}
DRIVERS_TESTS_CUBEJS_DB_REDSHIFT_PASS: ${{ secrets.DRIVERS_TESTS_CUBEJS_DB_REDSHIFT_PASS }}

# Snowflake
DRIVERS_TESTS_CUBEJS_DB_SNOWFLAKE_USER: ${{ secrets.DRIVERS_TESTS_CUBEJS_DB_SNOWFLAKE_USER }}
DRIVERS_TESTS_CUBEJS_DB_SNOWFLAKE_PASS: ${{ secrets.DRIVERS_TESTS_CUBEJS_DB_SNOWFLAKE_PASS }}
Expand All @@ -324,3 +345,4 @@ jobs:
cd ./packages/cubejs-testing-drivers
export DEBUG=testcontainers
yarn ${{ matrix.database }}-full

17 changes: 12 additions & 5 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,15 +47,15 @@ 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
uses: actions/checkout@v4
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly-2024-07-15
toolchain: 1.84.1
# override: true # this is by default on
rustflags: ""
components: rustfmt
Expand All @@ -77,14 +79,14 @@ jobs:
run: npm install -g [email protected]
- 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: 1.84.1
# 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
Loading
Loading