-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Open
Integrate
BatchCoalescer into RepartitionExec and remove from CoalesceBatches optimization rule#18782Feature
Copy link
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem or challenge?
The LimitedBatchCoalescer can now be used to integrate batch coalescing directly in ExecutionPlan implementations, which is better than using an external operator for the reasons described on #18779
Currently RepartitionExec needs a CoalesceBatches operator after for performance, see
| .downcast_ref::<RepartitionExec>() |
We should integrate coalescing directly in the operator
Describe the solution you'd like
- Add batch coalescing into RepartitionExec
- Remove RepartitionExec from the
CoalesceBatchesoptimizer rule:.downcast_ref::<RepartitionExec>()
Describe alternatives you've considered
@Dandandan did this for FilterExec in these two PRs, so we can probably follow a similar model
- Coalesce batches inside FilterExec #18604
- Remove FilterExec from CoalesceBatches optimization rule, add fetch support #18630
Additional context
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request