-
Notifications
You must be signed in to change notification settings - Fork 2k
Avoid unnecessary RepartitionExec with RoundRobinBatch partitioning #4368
Description
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
(This section helps Arrow developers understand the context and why for this feature, in addition to the what)
The current Enforcement rule implementation does not take the local repartition requirements into account.
And the RoundRobinBatch RepartitionExec was added by the Repartition rule which might add unnecessary
RepartitionExecs.
We can refer to PrestoSQL/Trino's approach and implement a top-down and requirement driven process to add
RepartitionExecs on demands.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.