Dandandan opened a new issue, #13642:
URL: https://github.com/apache/datafusion/issues/13642

   ### Is your feature request related to a problem or challenge?
   
   Currently `SortPreservingMergeStream` converts column to row-format even 
when sorting a single column.
   
   We can optimize `SortPreservingMergeStream` to not do this when the sort 
expression is a single column, which avoids the conversion and makes 
comparisons faster.
   
   ### Describe the solution you'd like
   
   Optimize the `SortPreservingMergeStream` for single column sorts, only 
converting to row-format when dealing with multi-column sorts. 
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   This should be beneficial for many queries, e.g. 
https://github.com/apache/datafusion/issues/13586 


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