1cbyc opened a new pull request, #26403: URL: https://github.com/apache/datafusion/pull/26403
## Which issue does this PR close? - Part of #26300. ## Rationale for this change `DefaultPhysicalPlanner::map_logical_node_to_physical` contains the complete aggregate planning implementation inline. Moving this arm behind a focused method makes the top-level logical-plan dispatcher easier to navigate and reduces conflict pressure around planner changes. ## What changes are included in this PR? This PR extracts only the `Aggregate` arm into a private `plan_aggregate` method. Schema validation, grouping expression lowering, async expression planning, repartition selection, and partial/final aggregate construction are unchanged. ## What is the testing strategy for this PR? - `cargo test -p datafusion --lib physical_planner::tests` - `cargo clippy -p datafusion --all-targets --all-features -- -D warnings` - `cargo fmt --all -- --check` - `git diff --check` The existing physical planner tests cover aggregate schema checks, grouping sets, repartitioning, aliases, and scalar subqueries; no new behavior is introduced. ## Are there any user-facing changes? No. This is an internal refactor with no public API or behavior change. -- 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]
