-
Notifications
You must be signed in to change notification settings - Fork 3.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
[fix](Nereids) non-inner join should not merge dist info #22979
Conversation
run buildall |
fe/fe-core/src/main/java/org/apache/doris/nereids/properties/ChildOutputPropertyDeriver.java
Outdated
Show resolved
Hide resolved
PR approved by anyone and no changes requested. |
PR approved by anyone and no changes requested. |
(From new machine)TeamCity pipeline, clickbench performance test result: |
34bc7e9
to
b750831
Compare
run buildall |
b750831
to
0eeabfa
Compare
0eeabfa
to
2e3b206
Compare
run buildall |
(From new machine)TeamCity pipeline, clickbench performance test result: |
PR approved by at least one committer and no changes requested. |
1. left join should use left dist info. 2. right join should use right dist info. 3. full outer join should return ANY dist info.
1. left join should use left dist info. 2. right join should use right dist info. 3. full outer join should return ANY dist info.
in previous PR apache#22979, we fix the output deriver of join. But we forgot to change the util method JoinUtils#shouldColocateJoin to adjust the change of physical properties derive. we could not use join distribution type anymore since join could output any distribute for full outer join.
Proposed changes
Issue Number: close #xxx
left join should use left dist info.
right join should use right dist info.
full outer join should return ANY dist info.
Further comments
If this is a relatively large or complex change, kick off the discussion at [email protected] by explaining why you chose the solution you did and what alternatives you considered, etc...