rluvaton opened a new pull request, #17244: URL: https://github.com/apache/datafusion/pull/17244
## Which issue does this PR close? N/A ## Rationale for this change In `ExternalSorter` there are cases where the `batch_size` config is not respected ## What changes are included in this PR? Wrap the stream with `BatchSplitStream` when we only have a single batch to sort and when we can sort in place (the paths that did not respect the batch size) ## Are these changes tested? Yes ## Are there any user-facing changes? Not an API change -- 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]
