Dandandan commented on issue #13586:
URL: https://github.com/apache/datafusion/issues/13586#issuecomment-2529145431

   > > Possibly it's used via `SortExec`? This AFAIK also merges larger inputs 
via `SortPreservingMergeStream`.
   > 
   > You are right, I missed this. I think `ExternalSorter` uses merging, while 
merging chunks written to the disc.
   
   I think even when not writing to disk if the size of batches are bigger than 
`self.sort_in_place_threshold_bytes` it will use SPM. This could be something 
to tweak as well 🤔 


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