-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix](Nereids) cbo rewrite not work when not cte in query #46088
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
Conversation
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
|
run buildall |
TPC-H: Total hot run time: 33663 ms |
TPC-DS: Total hot run time: 197342 ms |
ClickBench: Total hot run time: 31.84 s |
|
Does branch-2.0 need this pr? Related PR: #33591 already merged into branch-2.0 |
f92399b to
4f78110
Compare
4f78110 to
ae17f74
Compare
|
run buildall |
TPC-H: Total hot run time: 32196 ms |
TPC-DS: Total hot run time: 194024 ms |
ClickBench: Total hot run time: 30.88 s |
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
ae17f74 to
18ff746
Compare
|
run buildall |
|
run feut |
18ff746 to
97170e5
Compare
|
run buildall |
TPC-H: Total hot run time: 31563 ms |
TPC-DS: Total hot run time: 183014 ms |
ClickBench: Total hot run time: 30.26 s |
97170e5 to
2d4fe89
Compare
|
run buildall |
TPC-H: Total hot run time: 34109 ms |
TPC-DS: Total hot run time: 192332 ms |
ClickBench: Total hot run time: 29.26 s |
2d4fe89 to
f0da9b5
Compare
|
run buildall |
TPC-H: Total hot run time: 33682 ms |
TPC-DS: Total hot run time: 186406 ms |
ClickBench: Total hot run time: 29.07 s |
|
PR approved by at least one committer and no changes requested. |
### What problem does this PR solve? Related PR: apache#33591 Problem Summary: when CTEAnchoer not exists in plan, cost based rewrite job could not get correct cost from applied cbo rewrite rule plan.
### What problem does this PR solve? Related PR: apache#33591 Problem Summary: when CTEAnchoer not exists in plan, cost based rewrite job could not get correct cost from applied cbo rewrite rule plan.
What problem does this PR solve?
Related PR: #33591
Problem Summary:
when CTEAnchoer not exists in plan, cost based rewrite job could not get correct cost from applied cbo rewrite rule plan.
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)