Skip to content

Commit b7e5555

Browse files
authored
Make queries in TPC-DS get distributed (#264)
* Make TPC-DS tests use DataFusion test dataset * Delete unnecessary scripts and tweak pipelines * Add TPC-DS plan assertion tests * Answer to feedback * Do not use multithreading
1 parent d110b81 commit b7e5555

File tree

10 files changed

+10868
-408
lines changed

10 files changed

+10868
-408
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -52,18 +52,12 @@ jobs:
5252
runs-on: ubuntu-latest
5353
steps:
5454
- uses: actions/checkout@v4
55-
with:
56-
lfs: true
5755
- uses: ./.github/actions/setup
58-
- name: Install DuckDB CLI
59-
run: |
60-
curl https://install.duckdb.org | sh
61-
mkdir -p $HOME/.local/bin
62-
mv /home/runner/.duckdb/cli/latest/duckdb $HOME/.local/bin/
63-
echo "$HOME/.local/bin" >> $GITHUB_PATH
64-
- name: Run TPC-DS test
65-
id: test
66-
run: cargo test --features tpcds --test tpcds_test
56+
- uses: actions/cache@v4
57+
with:
58+
path: testdata/tpcds/main.zip
59+
key: "main.zip"
60+
- run: cargo test --features tpcds --test 'tpcds_*'
6761

6862
format-check:
6963
runs-on: ubuntu-latest

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@
33
/benchmarks/data/
44
testdata/tpch/*
55
!testdata/tpch/queries
6-
testdata/tpcds/data/
6+
testdata/tpcds/*
7+
!testdata/tpcds/queries
8+
!testdata/tpcds/README.md

0 commit comments

Comments
 (0)