EmilyMatt opened a new pull request, #23286:
URL: https://github.com/apache/datafusion/pull/23286

   This fixes an issue in my previous design for the re-spill in sort - 
whenever we half a stream, we half self.batch_size, even if its not the same 
stream being halved, so for each re-spill we get a smaller and smaller output 
batch, which really hurts performance in the merge.
   We can avoid it by just keeping the batch_size_limit in the spilled file 
struct. then we just use the lowest limit whenever we merge N streams, making 
it dynamic and much more robust.


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