zhuqi-lucas opened a new pull request, #21674:
URL: https://github.com/apache/datafusion/pull/21674

   ## Which issue does this PR close?
   
   Closes #21582
   
   ## Rationale for this change
   
   The existing sort_pushdown benchmarks only cover the Exact path (sort 
elimination). The Inexact path — where TopK is preserved and row group reorder 
by statistics helps threshold convergence — had no benchmark to measure its 
impact.
   
   ## What changes are included in this PR?
   
   - New benchmark: `sort_pushdown_inexact` with 4 DESC LIMIT queries 
(narrow/wide rows, small/large LIMIT)
   - Data generation: single large parquet file with shuffled row groups 
(simulates append-heavy workloads)
   - Enables `pushdown_filters` in sort_pushdown benchmarks so TopK's dynamic 
filter is pushed to the parquet reader for late materialization
   
   ## How to run
   
   ```bash
   ./bench.sh data sort_pushdown_inexact
   ./bench.sh run sort_pushdown_inexact
   ```
   
   Or on GKE: `@alamb benchmark sort_pushdown_inexact`
   
   ## Are these changes tested?
   
   Benchmark code only — validated locally.
   
   ## Are there any user-facing changes?
   
   No. New benchmark only.


-- 
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