rluvaton opened a new pull request, #23328: URL: https://github.com/apache/datafusion/pull/23328
## Which issue does this PR close? N/A ## Rationale for this change No need to go through the entire Loser tree mechanism when only 1 stream left, so in that case, just passthrough last stream ## What changes are included in this PR? added passthrough for last stream in `SortPreservingMergeStream` ## Are these changes tested? Yes, basic ## Are there any user-facing changes? No ---- FYI, this is one of many upcoming optimizations that I will do for Sort -- 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]
