NoahKusaba opened a new issue, #2938: URL: https://github.com/apache/datafusion-ballista/issues/2938
Follow-up to #2914. Both planners decide whether a `UnionExec` branch can stay in the union's stage with `branch_splits`. Since #2914, neither passes it the scheduler's `PartitionSliceableResolver`. The adaptive planner checks in `DistributedExchangeRule`, the static planner in `can_stay_inline`. So a branch over a node of your own that the resolver could restrict gets a stage of its own anyway. Results are correct, but the job runs an extra stage and shuffle that it doesn't need. Proposal: pass `SchedulerConfig::partition_sliceable_resolver` to `DistributedExchangeRule` and `can_stay_inline`, and give `branch_splits` back its resolver parameter. Then update the resolver docs in `extending-components.md`, which now say the planners decide without the resolver. -- 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]
