[benchmark] Add DataFusion TPC-DS benchmark harness#542
Merged
Conversation
JingsongLi
marked this pull request as ready for review
July 19, 2026 01:01
leaves12138
approved these changes
Jul 19, 2026
leaves12138
left a comment
There was a problem hiding this comment.
Reviewed the latest changes locally. The benchmark tests, targeted SQLContext test, formatting, clippy checks, and the real Parquet load/overwrite smoke verification all passed. The remaining TPC-DS SQL compatibility work is intentionally handled in a follow-up PR.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
benchmarks/tpcdsworkspace crate withloadandruncommands.SessionConfigandRuntimeEnvconstructors toSQLContextfor benchmark memory, parallelism, and spill settings.Why
The DataFusion integration has focused functional tests but no reproducible macro benchmark for analytical joins, aggregations, sorts, and spill behavior. This harness provides an end-to-end comparison using the same binary, runtime settings, and external query files for both sources.
The repository does not include TPC tools, generated data, or query text. Reports are explicitly labeled as TPC-DS-derived non-TPC results.
Validation
cargo build -p paimon-tpcds-benchcargo test -p paimon-tpcds-bench— 7 unit tests and 4 smoke tests passedcargo test -p paimon-datafusion --test sql_context_tests— 48 tests passedcargo clippy -p paimon-tpcds-bench -p paimon-datafusion --all-targets -- -D warningscargo fmt --all -- --checkgit diff --check