rluvaton opened a new pull request, #15608: URL: https://github.com/apache/datafusion/pull/15608
## Which issue does this PR close? <!-- We generally require a GitHub issue to be filed for all bug fixes and enhancements and this helps us generate change logs for our releases. You can link an issue to this PR using the GitHub syntax. For example `Closes #123` indicates that this PR will close issue #123. --> - Closes #15323. ## Rationale for this change To be able to sort any amount spill files without getting over the tokio blocking thread limit ## What changes are included in this PR? Currently the PR is in draft as I want your opinions about the design. 1. Created a new Stream that use underneath the `SortPreservingMergeStream` 2. Change `StreamingMergeBuilder` to use the new stream when having spill files and spill manager ## Are these changes tested? Existing tests ## Are there any user-facing changes? Yes, kinda -- 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