[fix)(colocate join) fix wrong use of colocate join#37361
[fix)(colocate join) fix wrong use of colocate join#37361cambyzju merged 4 commits intoapache:masterfrom
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.
use Objects.equals to avoid npe when leftIndex is null
There was a problem hiding this comment.
Got, I will fix it later
|
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.
not always left for left child, right for right child
There was a problem hiding this comment.
Got it, maybe it is the reason why lots of regression tests of tcpds + tpch shape failed, I will try to fix it
|
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