Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,18 +197,17 @@ jobs:
rust-version: stable
- name: Generate benchmark data and expected query results
run: |
mkdir -p benchmarks/data/answers
mkdir -p datafusion/core/tests/sqllogictests/test_files/tpch/data
git clone https://github.com/databricks/tpch-dbgen.git
cd tpch-dbgen
make
./dbgen -f -s 1
mv *.tbl ../benchmarks/data
mv ./answers/* ../benchmarks/data/answers/
./dbgen -f -s 0.1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I looked into this a little more -- and note we are running this CI check sf 0.1 (rather than SF1) It seems like a good idea and means it takes only 8 seconds to make the data 👍

https://github.com/apache/arrow-datafusion/actions/runs/5108217213/jobs/9181887855?pr=6435

mv *.tbl ../datafusion/core/tests/sqllogictests/test_files/tpch/data
- name: Verify that benchmark queries return expected results
run: |
export TPCH_DATA=`pwd`/benchmarks/data
cargo test verify_q --profile release-nonlto --features=ci -- --test-threads=1
export TPCH_DATA=`realpath datafusion/core/tests/sqllogictests/test_files/tpch/data`
cargo test serde_q --profile release-nonlto --features=ci -- --test-threads=1
INCLUDE_TPCH=true cargo test -p datafusion --test sqllogictests
- name: Verify Working Directory Clean
run: git diff --exit-code

Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,6 @@ arrow-ballista

datafusion/CHANGELOG.md.bak
.githubchangeloggenerator.cache*

# Generated tpch data
datafusion/core/tests/sqllogictests/test_files/tpch/data/*
23 changes: 0 additions & 23 deletions benchmarks/expected-plans/q1.txt

This file was deleted.

63 changes: 0 additions & 63 deletions benchmarks/expected-plans/q10.txt

This file was deleted.

89 changes: 0 additions & 89 deletions benchmarks/expected-plans/q11.txt

This file was deleted.

34 changes: 0 additions & 34 deletions benchmarks/expected-plans/q12.txt

This file was deleted.

Loading