Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-34211][SQL][TESTS] Benchmark TPC-DS with 1GB scale factor #31303

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
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
26 changes: 26 additions & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -430,3 +430,29 @@ jobs:
- name: Build with SBT
run: |
./build/sbt -Pyarn -Pmesos -Pkubernetes -Phive -Phive-thriftserver -Phadoop-cloud -Pkinesis-asl -Phadoop-2.7 compile test:compile

tpcds1g:
Copy link
Member

Choose a reason for hiding this comment

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

no big deal but I would name it tpcds-1g

name: Benchmark TPC-DS with 1GB scale factor
runs-on: ubuntu-20.04
continue-on-error: true
steps:
- name: Checkout Spark repository
uses: actions/checkout@v2
- name: Checkout TPC-DS 1G repository
uses: actions/checkout@v2
with:
repository: wangyum/tpcds1g
path: ./tpcds1g
wangyum marked this conversation as resolved.
Show resolved Hide resolved
- name: Install Java 8
uses: actions/setup-java@v1
with:
java-version: 8
- name: Run TPCDSQueryBenchmark
run: |
SPARK_GENERATE_BENCHMARK_FILES=1 build/sbt "sql/test:runMain org.apache.spark.sql.execution.benchmark.TPCDSQueryBenchmark --data-location `pwd`/tpcds1g --query-filter --cbo"
- name: Upload benchmark result to report
if: always()
uses: actions/upload-artifact@v2
with:
name: TPC-DS 1GB benchmark result
path: "sql/core/benchmarks/TPCDSQueryBenchmark-results.txt"