suremarc commented on issue #10316:
URL: https://github.com/apache/datafusion/issues/10316#issuecomment-2087191235

   @alamb Just to be absolutely clear, if the plan consists entirely of Parquet 
files from a single table, then the `SortPreservingMerge` will be eliminated. 
As you can see in [this 
sqllogictest](https://github.com/apache/datafusion/blob/aa8943323618e5761cd0cd361839c007a4572a81/datafusion/sqllogictest/test_files/parquet_sorted_statistics.slt#L96-L108),
 a single file group is produced if none of the files overlap, and DataFusion 
correctly understands a `SortPreservingMergeExec` is not required. In 
particular, after #9593, #6672 should be fixed. 
   
   That said, it's worth pointing out that `ProgressiveEval` is more general 
(it can work for arbitrary plans e.g. heterogeneous unions). 


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