tustvold opened a new issue, #6162:
URL: https://github.com/apache/arrow-datafusion/issues/6162

   ### Is your feature request related to a problem or challenge?
   
   SortPreservingMerge currently interleaves the execution of its input 
streams, and as a result all its inputs will be evaluated serially.
   
   This is unfortunate if its inputs are performing a potentially expensive 
operation, such as decoding parquet.
   
   ### Describe the solution you'd like
   
   Perhaps we should do something similar to RepartitionExec and spawn the 
inputs into separate tokio tasks, allowing their execution to be scheduled in 
parallel
   
   ### Describe alternatives you've considered
   
   Longer-term a true morsel-driven concurrency story might be nice (#2504) and 
would avoid needing to manually parallelise operators such as 
SortPreservingMerge, however, this might be a shorter-term mechanism to boost 
performance.
   
   ### Additional context
   
   _No response_


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

Reply via email to