Skip to content

Commit 246b6b1

Browse files
authored
Merge branch 'master' into feat/refactor-duckdb-driver
2 parents d3310e9 + 47e7897 commit 246b6b1

File tree

1,790 files changed

+323473
-120729
lines changed

Some content is hidden

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

1,790 files changed

+323473
-120729
lines changed

.dockerignore

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@
1111
!rust/cubestore/bin
1212
!rust/cubesql/package.json
1313

14+
# Ignoring builds for native from local machime to protect a problem with different architecture
15+
packages/cubejs-backend-native/index.node
16+
packages/cubejs-backend-native/native/
17+
# Caches
1418
packages/cubejs-backend-native/target
1519
packages/*/node_modules/
1620
packages/*/dist/
1721
packages/*/coverage/
22+
# Other
1823
packages/cubejs-server-core/playground/
19-
packages/cubejs-serverless
20-
packages/cubejs-serverless-aws
21-
packages/cubejs-serverless-google

.editorconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
12+
[*.rs]
13+
indent_size = 4
14+
15+
[rust/cubesql/cubesql/egraph-debug-template/**/*.{js,jsx,ts,tsx}]
16+
indent_size = 4

.github/ISSUE_TEMPLATE/sql_api_query_issue.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: SQL API Query Issue
33
about: Create a report to help us improve
44
title: ''
5-
labels: ''
5+
labels: 'api:sql'
66
assignees: ''
77

88
---
@@ -13,8 +13,11 @@ Search for `Failed SQL` log message.
1313
**Logical Plan**
1414
Search for `Can't rewrite plan` log message.
1515

16+
**Tool**
17+
Was thethe SQL query above generated by some BI tool or any other tool? Did you write it yourself?
18+
1619
**Version:**
17-
[e.g. 0.4.5]
20+
E.g., v1.1.0.
1821

1922
**Additional context**
2023
Add any other context about the problem here.

.github/actions/init-ci/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ runs:
77
using: "composite"
88
steps:
99
- name: Use Node.js ${{ inputs.node }}
10-
uses: actions/setup-node@v3
10+
uses: actions/setup-node@v4
1111
with:
1212
node-version: ${{ inputs.node }}
1313
- name: Cache node modules
14-
uses: actions/cache@v3
14+
uses: actions/cache@v4
1515
with:
1616
# npm cache files are stored in `~/.npm` on Linux/macOS
1717
path: ~/.npm

.github/actions/smoke.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,8 @@ echo "::endgroup::"
5555

5656
echo "::group::MongoBI"
5757
yarn lerna run --concurrency 1 --stream --no-prefix smoke:mongobi
58-
echo "::endgroup::"
58+
echo "::endgroup::"
59+
60+
echo "::group::RBAC"
61+
yarn lerna run --concurrency 1 --stream --no-prefix smoke:rbac
62+
echo "::endgroup::"

.github/buildkitd.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[worker.oci]
2+
max-parallelism = 1

.github/workflows/birdbox.yml

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

.github/workflows/cloud.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ jobs:
3737
- id: git-log
3838
run: git log HEAD~30..HEAD
3939
- id: get-tag-test
40-
run: echo "$SHA $(git rev-list -n 1 $(git tag --contains $SHA))"
40+
run: echo "$SHA $(git rev-list -n 1 "$(git tag --contains "$SHA")")"
4141
env:
4242
SHA: ${{ github.sha }}
4343
- id: get-tag
44-
run: echo "::set-output name=sha::$(git rev-list -n 1 $(git tag --contains $SHA))"
44+
run: echo "sha=$(git rev-list -n 1 "$(git tag --contains "$SHA")")" >> "$GITHUB_OUTPUT"
4545
env:
4646
SHA: ${{ github.sha }}
4747
- id: get-tag-out
@@ -57,34 +57,30 @@ jobs:
5757

5858
strategy:
5959
matrix:
60-
node-version: [ 18.x ]
60+
node-version: [ 20.x ]
6161
db: [ 'athena', 'bigquery', 'snowflake' ]
6262
fail-fast: false
6363

6464
steps:
6565
- name: Checkout
6666
uses: actions/checkout@v4
67-
- name: Disable rustup update (issue workaround for Windows)
68-
run: rustup set auto-self-update disable
69-
if: contains(runner.os, 'windows')
70-
shell: bash
7167
- name: Install Node.js ${{ matrix.node-version }}
72-
uses: actions/setup-node@v3
68+
uses: actions/setup-node@v4
7369
with:
7470
node-version: ${{ matrix.node-version }}
7571
- name: Get yarn cache directory path
7672
id: yarn-cache-dir-path
77-
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
73+
run: echo "dir=$(yarn cache dir)" >> "$GITHUB_OUTPUT"
7874
shell: bash
7975
- name: Restore yarn cache
80-
uses: actions/cache@v3
76+
uses: actions/cache@v4
8177
with:
8278
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
8379
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
8480
restore-keys: |
8581
${{ runner.os }}-yarn-
8682
- name: Set Yarn version
87-
run: yarn policies set-version v1.22.19
83+
run: yarn policies set-version v1.22.22
8884
- name: Yarn install
8985
run: CUBESTORE_SKIP_POST_INSTALL=true yarn install --frozen-lockfile
9086
- name: Build client

0 commit comments

Comments
 (0)