adriangb opened a new pull request, #20834:
URL: https://github.com/apache/datafusion/pull/20834

   ## Summary
   - Add 17 new benchmarks to `sql_planner.rs` that stress the logical 
optimizer across different dimensions:
     - **Plan node scaling**: join chains with 4, 8, and 16 tables
     - **Expression scaling**: 50-200 filter predicates, 100 aggregate 
expressions, 50 CASE expressions
     - **Mixed deep+wide**: joins combined with aggregates, filters, sorts, 
limits
     - **Subqueries**: correlated EXISTS, IN, scalar subqueries, and multiple 
combined subqueries
     - **Unions**: 4 and 8 branch UNION ALL queries
     - **Other**: DISTINCT over many columns, nested CTEs (4 levels)
   - Uncomment existing TPC-H and TPC-DS full-suite logical plan benchmarks
   
   These complement the existing simple-plan benchmarks (2-6 node plans) by 
covering the optimizer's behavior as plan complexity grows — useful for 
tracking optimizer performance improvements (ref #15045).
   
   ## Test plan
   - [x] `cargo bench --bench sql_planner` runs successfully with all new 
benchmarks
   - [x] Verified no overlap with existing benchmarks in 
`sql_planner_extended.rs` or `optimizer/benches/`
   
   🤖 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to