2010YOUY01 opened a new pull request, #27743: URL: https://github.com/apache/datafusion/pull/27743
> [!IMPORTANT] > > **Fork CI setup:** For pull requests from a fork to `main`, enable workflows in your fork's **Actions** tab before you push. > See the [fork CI setup guide](https://datafusion.apache.org/contributor-guide/#pull-requests-from-forks). ## Which issue does this PR close? <!-- We generally require a GitHub issue to be filed for all bug fixes and enhancements and this helps us generate change logs for our releases. You can link an issue to this PR using the GitHub syntax. For example `Closes #123` indicates that this PR will close issue #123. --> - Closes https://github.com/apache/datafusion/issues/25902 ## Rationale for this change `enable_migration_aggregate` was a temporary fallback during the aggregation refactor. Users could switch back to the old implementation with: ```sql SET datafusion.execution.enable_migration_aggregate = false; ``` The refactor is complete, and the flag's documentation scheduled its removal after DataFusion 56.0.0. This removes the fallback and flag in 57.0.0, leaving only the dedicated streams that were already enabled by default. ## What changes are included in this PR? - Commit 1: Move test helpers/tests to the new impl's file - Commit 2: Remove comments for the refactor; cleanup - Commit 3: Delete the legacy stream and migration flag. Pure deletion; default query behavior is unchanged. - Commit 4: Explain why the temporary flag was removed and how to update existing settings in the upgrade guide. ## What is the testing strategy for this PR? Existing tests I've let Codex double checked no test coverage lost in this cleanup. ## Are there any user-facing changes? Default query behavior is unchanged. The temporary `datafusion.execution.enable_migration_aggregate` option and `ExecutionOptions::enable_migration_aggregate` Rust field are removed. Users who set the option explicitly, to either `true` or `false`, must remove that setting; no replacement is needed. This is documented in the 57.0.0 upgrade guide. -- 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]
