bharadwaj-pendyala commented on issue #2841: URL: https://github.com/apache/datafusion-ballista/issues/2841#issuecomment-7080536032
I'd like to pick this up. It still applies on main after #2852. That change empties a leaf a task runs none of, but `branch_splits(plan, None)` also checks the task that owns partition 0, and a custom scan with several partitions can only be cut there by the resolver. `TaskManager::submit_plan` already holds the scheduler's resolver, so my plan is a `with_partition_sliceable_resolver` builder on `DefaultDistributedPlanner` that `submit_plan` sets, with `can_stay_inline` passing it on to `branch_splits`. The `DistributedPlanner` trait wouldn't change. Tests would be a union over `PayloadExec` with a resolver staying inline, and the same plan without one still getting its own stage. Does a builder on the planner work for you, or would you rather the resolver go through `plan_query_stages`? -- 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]
