berkaysynnada opened a new issue, #12231: URL: https://github.com/apache/datafusion/issues/12231
### Is your feature request related to a problem or challenge? Assume a scenario where SPM (SortPreservingMergeExec) polls from 3 partitions, each of them gives the same value for the order expression for a very long time. Currently, we poll from the same partition until a new value comes from the other partitions. Continuously polling the same partition gets all upstream operator buffers and channels grow. However, we can execute a round-robin fashioned polling mechanism for the tied partitions. This is the PR resolving a similar problem in the initialization phase: https://github.com/apache/datafusion/pull/12230 ### Describe the solution you'd like Loser tree can re-order the tied values of partitions. ### Describe alternatives you've considered _No response_ ### Additional context _No response_ -- 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]
