You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "andygrove (via GitHub)" <gi...@apache.org> on 2026/01/17 21:17:15 UTC

[PR] feat: make query parameter optional in tpch benchmark [datafusion-ballista]

andygrove opened a new pull request, #1391:
URL: https://github.com/apache/datafusion-ballista/pull/1391

   ## Summary
   - Make the `--query` parameter optional for the tpch benchmark
   - When not specified, all 22 TPC-H queries are run sequentially
   - Works for both `datafusion` and `ballista` benchmark subcommands
   
   ## Example usage
   
   Run a single query:
   ```bash
   cargo run --release --bin tpch -- benchmark datafusion --path ./data --format tbl --query 1
   ```
   
   Run all 22 queries:
   ```bash
   cargo run --release --bin tpch -- benchmark datafusion --path ./data --format tbl
   ```
   
   ## Test plan
   - [x] Code compiles with `cargo check -p ballista-benchmarks`
   - [ ] Manual testing with TPC-H data
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [PR] feat: improve tpch benchmark CLI [datafusion-ballista]

Posted by "andygrove (via GitHub)" <gi...@apache.org>.
andygrove commented on PR #1391:
URL: https://github.com/apache/datafusion-ballista/pull/1391#issuecomment-3764366330

   Ballista run: 
   
   ```
   $ cargo run --release --bin tpch benchmark ballista --host localhost --port 50050 --path $(pwd)/data --format parquet --iterations 1 --output .
       Finished `release` profile [optimized] target(s) in 0.16s
        Running `/home/andy/git/apache/datafusion-ballista/target/release/tpch benchmark ballista --host localhost --port 50050 --path /home/andy/git/apache/datafusion-ballista/benchmarks/data --format parquet --iterations 1 --output .`
   Running benchmarks with the following options: BallistaBenchmarkOpt { query: None, debug: false, expected_results: None, iterations: 1, batch_size: 8192, path: "/home/andy/git/apache/datafusion-ballista/benchmarks/data", file_format: "parquet", partitions: 2, host: Some("localhost"), port: Some(50050), output_path: Some(".") }
   Query 1 took 816.9 ms and returned 4 rows
   Query 2 took 1425.0 ms and returned 100 rows
   Query 3 took 1018.5 ms and returned 10 rows
   Query 4 took 815.6 ms and returned 5 rows
   Query 5 took 1625.8 ms and returned 5 rows
   Query 6 took 408.3 ms and returned 1 rows
   Query 7 took 1830.3 ms and returned 4 rows
   Query 8 took 2236.7 ms and returned 2 rows
   Query 9 took 1829.2 ms and returned 175 rows
   Query 10 took 1220.9 ms and returned 20 rows
   Query 11 took 1018.1 ms and returned 1048 rows
   Query 12 took 812.4 ms and returned 2 rows
   Query 13 took 916.4 ms and returned 42 rows
   Query 14 took 611.3 ms and returned 1 rows
   Query 15 took 1019.0 ms and returned 0 rows
   Query 16 took 1220.8 ms and returned 18314 rows
   Query 17 took 715.1 ms and returned 1 rows
   Query 18 took 1325.1 ms and returned 57 rows
   Query 19 took 716.4 ms and returned 1 rows
   Query 20 took 1019.5 ms and returned 186 rows
   Query 21 took 1628.9 ms and returned 100 rows
   Query 22 took 816.5 ms and returned 7 rows
   Writing summary file to ./tpch-1768685522.json
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [PR] feat: improve tpch benchmark CLI [datafusion-ballista]

Posted by "milenkovicm (via GitHub)" <gi...@apache.org>.
milenkovicm merged PR #1391:
URL: https://github.com/apache/datafusion-ballista/pull/1391


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org