peter-toth commented on PR #11683:
URL: https://github.com/apache/datafusion/pull/11683#issuecomment-2259144480

   > Interestingly, I ran the planning benchmarks and this branch actually 
seems to be ever so slightly slower. I'll rerun to see if I can reproduce the 
same results.
   
   Yeah, this is basically the trade-off between the time we spend in planning 
and execution. These benchmarks only measure planning time and that might be a 
bit more with this PR. https://github.com/apache/datafusion/pull/10473 could 
cause regression due to no longer extracting common expressions from non top 
level nodes and so causing longer execution times. This PR restores the common 
expression elimination from non top level nodes and so fix the possible 
execution time regression, but it comes with a small cost in planning time.
   


-- 
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-unsubscr...@datafusion.apache.org

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


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

Reply via email to