-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[feat](nereids) disable join reorder if any table row count is not available #40349
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. Since 2024-03-18, the Document has been moved to doris-website. |
d5850bb to
4b3661c
Compare
|
run buildall |
TPC-H: Total hot run time: 38114 ms |
TPC-DS: Total hot run time: 197281 ms |
ClickBench: Total hot run time: 31.6 s |
|
run buildall |
TPC-H: Total hot run time: 38406 ms |
TPC-DS: Total hot run time: 195568 ms |
ClickBench: Total hot run time: 30.75 s |
4b3661c to
2c9998a
Compare
|
run buildall |
TPC-H: Total hot run time: 38290 ms |
TPC-DS: Total hot run time: 186844 ms |
ClickBench: Total hot run time: 31.91 s |
fe/fe-core/src/main/java/org/apache/doris/nereids/stats/StatsCalculator.java
Show resolved
Hide resolved
|
run buildall |
3 similar comments
|
run buildall |
|
run buildall |
|
run buildall |
TPC-H: Total hot run time: 38143 ms |
TPC-DS: Total hot run time: 193377 ms |
ClickBench: Total hot run time: 32.35 s |
|
run buildall |
TPC-H: Total hot run time: 37910 ms |
TPC-DS: Total hot run time: 193048 ms |
ClickBench: Total hot run time: 32.2 s |
fe/fe-core/src/main/java/org/apache/doris/nereids/NereidsPlanner.java
Outdated
Show resolved
Hide resolved
fe/fe-core/src/main/java/org/apache/doris/nereids/stats/StatsCalculator.java
Show resolved
Hide resolved
| sql """ | ||
| set runtime_filter_mode=OFF; | ||
| set disable_join_reorder=true; | ||
| set disable_join_reorder=true; |
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.
dup
ClickBench: Total hot run time: 32.38 s |
|
run cloud_p0 |
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
…ailable (apache#40349) join reorder if a table is not analyzed, and its row count is not fully reported, optimizer will disable join reorder. fully report means after a table is newly created or truncated, all tablets row count are reported. Issue Number: close #xxx <!--Describe your changes.-->
…valid when rowCount is not aviable (apache#53834) ### What problem does this PR solve? this bug is introduced by pr apache#41790. when any table row count is not available, disable join reorder. this is implemented in pr apache#40349 , but pr apache#41790 breaks this function.
Proposed changes
join reorder
if a table is not analyzed, and its row count is not fully reported, optimizer will disable join reorder.
fully report means after a table is newly created or truncated, all tablets row count are reported.
Issue Number: close #xxx