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

   ## Which issue does this PR close?
   
   Part of #8227.
   
   ## Rationale for this change
   
   `dfbench statistics` unconditionally enables built-in statistics providers, 
so its estimates can differ from those used by the session. In TPC-H SF1 Q14, 
it reports 14.73 billion rows instead of 73,650 for a join that produces 75,983 
rows.
   
   ## What changes are included in this PR?
   
   Capture estimates using the session's registry, matching `EXPLAIN ANALYZE`. 
An unconfigured session falls back to operator statistics.
   
   ## What is the testing strategy for this PR?
   
   - All five existing CLI statistics tests, formatting, and all-feature Clippy 
pass.
   - Q14 before/after confirms the corrected estimate and unchanged actual rows.
   
   ## Are there any user-facing changes?
   
   CLI estimates now respect the session's statistics configuration.
   


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