Uh oh!
There was an error while loading. Please reload this page.
Works for cross to inner join - #3994
Conversation
alamb
commented
Nov 1, 2022
Thank you @yuuch 😍 -- Love the cleanup! It looks like one of the tests is failing -- can you please update the plan? https://github.com/apache/arrow-datafusion/actions/runs/3352036848/jobs/5558342674 |
alamb
commented
Nov 1, 2022
Marking as a draft to get it off the review queue -- please fix CI and mark as ready for review. If you need help let me know. I love this type of cleanup 👍 |
Dandandan
commented
Nov 5, 2022
Looking great. |
0192351 to
a67830eComparea67830e to
8d52d27Compare8d52d27 to
c46ede1CompareDandandan
commented
Nov 5, 2022
Some more plans are also failing (as more of the plans include cross join now). |
Dandandan
commented
Nov 5, 2022
FYI @xudong963@DhamoPS as you worked on this before |
Dandandan
commented
Nov 5, 2022
I believe the difference is: the earlier implementation looked at all of the plans in the Some transformations from cross join to inner join however need reordering of the joins within the tree in order for this to be possible. |
mingmwang
commented
Nov 14, 2022
I think @jackwener 's implementation is more general and we should move the logic from planner to rule. |
Which issue does this PR close?
Closes#3840
Closes#3554.
Rationale for this change
I found that the rule has been implemented in PR #3482 , but the guy forget to remove some codes in planners.
What changes are included in this PR?
I just keep cross join in the planner.rs and PR #3482 will do crossJoin to InnerJoin Optimize.
Are there any user-facing changes?