Skip to content

Commit afa66cf

Browse files
authored
Merge branch 'master' into analytics-customizations
2 parents b3dccf6 + 7987b75 commit afa66cf

File tree

5,147 files changed

+859789
-764687
lines changed

Some content is hidden

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

5,147 files changed

+859789
-764687
lines changed

.dockerignore

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
**
22
!package.json
33
!tsconfig.base.json
4+
!tsconfig.json
45
!rollup.config.js
56
!yarn.lock
67
!lerna.json
@@ -11,10 +12,13 @@
1112
!rust/cubestore/bin
1213
!rust/cubesql/package.json
1314

15+
# Ignoring builds for native from local machime to protect a problem with different architecture
16+
packages/cubejs-backend-native/index.node
17+
packages/cubejs-backend-native/native/
18+
# Caches
19+
packages/cubejs-backend-native/target
1420
packages/*/node_modules/
1521
packages/*/dist/
1622
packages/*/coverage/
23+
# Other
1724
packages/cubejs-server-core/playground/
18-
packages/cubejs-serverless
19-
packages/cubejs-serverless-aws
20-
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/codecov-fix.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/env bash
2+
3+
set -euo pipefail
4+
5+
repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/../../" && pwd)"
6+
7+
for path in "$repo_root"/packages/*/coverage/lcov.info; do
8+
[ -f "$path" ] || continue
9+
10+
pkg_dir="$(dirname "$path")" # packages/foo/coverage
11+
pkg_root="$(dirname "$pkg_dir")" # packages/foo
12+
tmp_path="$pkg_dir/lcov.fixed.info"
13+
14+
sed "s|SF:src/|SF:packages/$(basename "$pkg_root")/src/|g" "$path" > "$tmp_path"
15+
done

.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/integration/athena.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ set -eo pipefail
55
export DEBUG=testcontainers
66

77
echo "::group::Athena [cloud]"
8+
export CUBEJS_AWS_KEY=$DRIVERS_TESTS_SNOWFLAKE_CUBEJS_AWS_KEY
9+
export CUBEJS_AWS_SECRET=$DRIVERS_TESTS_SNOWFLAKE_CUBEJS_AWS_SECRET
10+
811
export CUBEJS_AWS_REGION=us-east-1
912
export CUBEJS_AWS_S3_OUTPUT_LOCATION=s3://cubejs-opensource/testing/output
1013
export CUBEJS_DB_EXPORT_BUCKET=s3://cubejs-opensource/testing/export/

.github/actions/integration/bigquery.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ set -eo pipefail
55
export DEBUG=testcontainers
66

77
echo "::group::BigQuery [cloud]"
8+
export CUBEJS_DB_BQ_CREDENTIALS=$DRIVERS_TESTS_SNOWFLAKE_CUBEJS_DB_BQ_CREDENTIALS
89
export CUBEJS_DB_BQ_PROJECT_ID=cube-open-source
910
export CUBEJS_DB_EXPORT_BUCKET=cube-open-source-export-bucket
1011
yarn lerna run --concurrency 1 --stream --no-prefix integration:bigquery

.github/actions/integration/clickhouse.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@ set -eo pipefail
44
# Debug log for test containers
55
export DEBUG=testcontainers
66

7-
export TEST_CLICKHOUSE_VERSION=21.1.2
7+
export TEST_CLICKHOUSE_VERSION=23.11
88

99
echo "::group::Clickhouse ${TEST_CLICKHOUSE_VERSION}";
10-
docker pull yandex/clickhouse-server:${TEST_CLICKHOUSE_VERSION}
10+
docker pull clickhouse/clickhouse-server:${TEST_CLICKHOUSE_VERSION}
1111
yarn lerna run --concurrency 1 --stream --no-prefix integration:clickhouse
1212
echo "::endgroup::"
1313

14-
export TEST_CLICKHOUSE_VERSION=20.6
14+
export TEST_CLICKHOUSE_VERSION=22.8
1515

1616
echo "::group::Clickhouse ${TEST_CLICKHOUSE_VERSION}";
17-
docker pull yandex/clickhouse-server:${TEST_CLICKHOUSE_VERSION}
17+
docker pull clickhouse/clickhouse-server:${TEST_CLICKHOUSE_VERSION}
1818
yarn lerna run --concurrency 1 --stream --no-prefix integration:clickhouse
1919
echo "::endgroup::"
2020

21-
export TEST_CLICKHOUSE_VERSION=19
21+
export TEST_CLICKHOUSE_VERSION=21.8
2222

2323
echo "::group::Clickhouse ${TEST_CLICKHOUSE_VERSION}";
24-
docker pull yandex/clickhouse-server:${TEST_CLICKHOUSE_VERSION}
24+
docker pull clickhouse/clickhouse-server:${TEST_CLICKHOUSE_VERSION}
2525
yarn lerna run --concurrency 1 --stream --no-prefix integration:clickhouse
2626
echo "::endgroup::"
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::Dremio [cloud]"
8+
yarn lerna run --concurrency 1 --stream --no-prefix integration:dremio
9+
10+
echo "::endgroup::"

.github/actions/integration/druid.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export DEBUG=testcontainers
66

77
export TEST_POSTGRES_VERSION=13
88
export TEST_ZOOKEEPER_VERSION=3.5
9-
export TEST_DRUID_VERSION=0.19.0
9+
export TEST_DRUID_VERSION=27.0.0
1010

1111
echo "::group::Druid ${TEST_DRUID_VERSION}";
1212

0 commit comments

Comments
 (0)