-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breaking change since DF 44: swap_hash_join
removed
#14251
Comments
This isn't blocking Comet. I found that I just needed to make this change: - let swapped_hash_join =
- swap_hash_join(hash_join.as_ref(), PartitionMode::Partitioned)?;
+ let swapped_hash_join = hash_join.as_ref().swap_inputs(PartitionMode::Partitioned)?; Deprecating the function with documentation explaining what the replacement is would be helpful though. |
I don't understand it is flagged as deprecated but is not deleted. datafusion/datafusion/physical-optimizer/src/join_selection.rs Lines 122 to 131 in 72c0df4
AFAIS, according to the documentation it will be deleted in version 50.0.0 or in 6 months
Maybe I'm missing something but this is what I can see |
Thanks @buraksenn, you are correct. I thought I was getting a compilation issue earlier, but it appears not. I will close the issue. |
Describe the bug
Comet uses the public
swap_hash_join
function:https://docs.rs/datafusion/latest/datafusion/physical_optimizer/join_selection/fn.swap_hash_join.html
This seems to have been removed (internally, there is a
swap_inputs
function that perhaps provides the same functionality but is not public as far as I can tell).Our policy is to deprecate functions first rather than remove them, so I am wondering if we can reinstate this?
To Reproduce
No response
Expected behavior
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: