-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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)(colocate join) fix wrong use of colocate join #37361
Conversation
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
run buildall |
TPC-H: Total hot run time: 39824 ms
|
TPC-DS: Total hot run time: 172986 ms
|
ClickBench: Total hot run time: 30.5 s
|
run buildall |
TPC-H: Total hot run time: 39757 ms
|
TPC-DS: Total hot run time: 174074 ms
|
ClickBench: Total hot run time: 31.02 s
|
run buildall |
TPC-H: Total hot run time: 40107 ms
|
TPC-DS: Total hot run time: 174178 ms
|
ClickBench: Total hot run time: 30.64 s
|
// on conditions must keep same order as distributed columns | ||
Integer leftIndex = leftHashSpec.getExprIdToEquivalenceSet().get(((Slot) leftChild).getExprId()); | ||
Integer rightIndex = rightHashSpec.getExprIdToEquivalenceSet().get(((Slot) rightChild).getExprId()); | ||
if (leftIndex != rightIndex) { |
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.
use Objects.equals to avoid npe when leftIndex is null
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.
Got, I will fix it later
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.
done
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
1 similar comment
PR approved by anyone and no changes requested. |
Expression leftChild = ((EqualPredicate) expr).left(); | ||
Expression rightChild = ((EqualPredicate) expr).right(); |
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.
not always left for left child, right for right child
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.
Got it, maybe it is the reason why lots of regression tests of tcpds + tpch shape failed, I will try to fix it
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.
done
run buildall |
TPC-H: Total hot run time: 40036 ms
|
TPC-DS: Total hot run time: 173973 ms
|
ClickBench: Total hot run time: 30.76 s
|
…ache#37729) (apache#37937) cherry-pick from master apache#37361 apache#37729
Proposed changes
Issue Number: close #36324