NoahKusaba opened a new pull request, #2928: URL: https://github.com/apache/datafusion-ballista/pull/2928
# Which issue does this PR close? No issue. Found while auditing the scheduler for cleanups. # Rationale for this change `physical_optimizer/join_selection.rs` has six helpers marked `#[deprecated(since = "45.0.0")]`: `supports_swap`, `swap_join_type`, `swap_hash_join`, `swap_nl_join`, `swap_join_filter` and `swap_filter`. They were copied from DataFusion in #1307, already deprecated (the 45.0.0 is DataFusion's version). Each body is one line that delegates to the DataFusion method its note names, and nothing calls them. # What changes are included in this PR? - Remove the six helpers, and the `JoinFilter` import only they used. - Add a 56.0.0 upgrade note for `swap_hash_join`, the only public one. The other five were `pub(crate)` or private. I also checked the workspace for other deprecations that could go. Each of the others was deprecated in 55.0.0 or 56.0.0, so it is too recent to remove. Every `#[allow(deprecated)]` still suppresses a live deprecation. # Are there any user-facing changes? Yes, one breaking API change: `ballista_scheduler::physical_optimizer::join_selection::swap_hash_join` is removed. Callers should use `HashJoinExec::swap_inputs`, which it called. The upgrade guide has an entry for it. -- 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]
