-
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
Remove unused LogicalPlan::CrossJoin
as it is unused
#13076
Remove unused LogicalPlan::CrossJoin
as it is unused
#13076
Conversation
LogicalPlan::CrossJoin
as it is unused
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
THank you @buraksenn -- this looks like a very nice cleanup to me
cc @Dandandan who has been working in this area recently as well
@@ -220,10 +220,6 @@ pub enum LogicalPlan { | |||
/// Join two logical plans on one or more join columns. | |||
/// This is used to implement SQL `JOIN` | |||
Join(Join), | |||
/// Apply Cross Join to two logical plans. | |||
/// This is used to implement SQL `CROSS JOIN` | |||
/// Deprecated: use [LogicalPlan::Join] instead with empty `on` / no filter |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice for cleaning up a deprecated feature
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's remove it 🚀
It was removed upstream. Ref: apache/datafusion#13076
* patch datafusion deps * migrate from deprecated RuntimeEnv::new to RuntimeEnv::try_new Ref: apache/datafusion#12566 * remove Arc from create_udf call Ref: apache/datafusion#12489 * doc typo * migrage new UnnestOptions API Ref: https://github.com/apache/datafusion/pull/12836/files * update API for logical expr Limit Ref: apache/datafusion#12836 * remove logical expr CrossJoin It was removed upstream. Ref: apache/datafusion#13076 * update PyWindowUDF Ref: apache/datafusion#12803 * migrate window functions lead and lag to udwf Ref: apache/datafusion#12802 * migrate window functions rank, dense_rank, and percent_rank to udwf Ref: apache/datafusion#12648 * convert window function cume_dist to udwf Ref: apache/datafusion#12695 * convert window function ntile to udwf Ref: apache/datafusion#12694 * clean up functions_window invocation * Only one column was being passed to udwf * Update to DF 43.0.0 * Update tests to look for string_view type * String view is now the default type for strings * Making a variety of adjustments in wrappers and unit tests to account for the switch from string to string_view as default * Resolve errors in doc building --------- Co-authored-by: Tim Saucer <timsaucer@gmail.com>
Which issue does this PR close?
Closes #13057
Rationale for this change
LogicalPlan::CrossJoin is not generated anymore so deleted all of its occurences
What changes are included in this PR?
Are these changes tested?
Existing tests
Are there any user-facing changes?
no