zhuqi-lucas commented on code in PR #19064:
URL: https://github.com/apache/datafusion/pull/19064#discussion_r2587342167


##########
datafusion/sqllogictest/test_files/information_schema.slt:
##########
@@ -370,6 +371,7 @@ datafusion.execution.parquet.data_pagesize_limit 1048576 
(writing) Sets best eff
 datafusion.execution.parquet.dictionary_enabled true (writing) Sets if 
dictionary encoding is enabled. If NULL, uses default parquet writer setting
 datafusion.execution.parquet.dictionary_page_size_limit 1048576 (writing) Sets 
best effort maximum dictionary page size, in bytes
 datafusion.execution.parquet.enable_page_index true (reading) If true, reads 
the Parquet data page level metadata (the Page Index), if present, to reduce 
the I/O and number of rows decoded.
+datafusion.execution.parquet.enable_sort_pushdown true Enable sort pushdown 
optimization for Parquet files. When enabled, optimizes queries with ORDER BY: 
- Reordering files based on statistics - Reversing row group read order when 
beneficial Returns **inexact ordering**: Sort operator is kept for correctness, 
but can terminate early for TopK queries (ORDER BY ... LIMIT N), providing huge 
speedup. Memory: No additional overhead (only changes read order). Future TODO: 
Will add option to support detect perfectly sorted data and eliminate Sort 
completely. Default: true

Review Comment:
   Addressed in latest PR.



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