robert3005 commented on issue #15177:
URL: https://github.com/apache/datafusion/issues/15177#issuecomment-2717583565

   There's two optimizations here that go together, if you check clickbench 
results duckdb on their own format is significantly faster than parquet. The 
two optimizer rules that do this is 1) TopN 
https://github.com/duckdb/duckdb/blob/main/src/optimizer/topn_optimizer.cpp#L105
 2) Late materialization 
https://github.com/duckdb/duckdb/blob/main/src/optimizer/late_materialization.cpp#L180
 (join back the filter result to obtain rest of the columns)


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