-
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
[improvement](mtmv) Optimize the materialized view hint info when explain #39998
[improvement](mtmv) Optimize the materialized view hint info when explain #39998
Conversation
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
run buildall |
TPC-H: Total hot run time: 38384 ms
|
TPC-DS: Total hot run time: 188292 ms
|
ClickBench: Total hot run time: 32.66 s
|
PR approved by at least one committer and no changes requested. |
run buildall |
TPC-H: Total hot run time: 38300 ms
|
TPC-DS: Total hot run time: 186058 ms
|
ClickBench: Total hot run time: 32.06 s
|
run buildall |
TPC-H: Total hot run time: 38001 ms
|
TPC-DS: Total hot run time: 194272 ms
|
ClickBench: Total hot run time: 32.32 s
|
PR approved by at least one committer and no changes requested. |
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.
LGTM
…plain (apache#39998) Optimize the explain materialized view info, add double horizontal dividing line between `MATERIALIZATIONS` and`STATISTICS`. Maybe think rewrite fail because` planed with unknown column statistics `, actually is rewrite successfully. Before: | ========== MATERIALIZATIONS ========== | | | | MaterializedView | | MaterializedViewRewriteSuccessAndChose: | | internal#regression_test_nereids_rules_p0_mv_agg_with_roll_up#mv13_1 chose, | | | | MaterializedViewRewriteSuccessButNotChose: | | not chose: none, | | | | MaterializedViewRewriteFail: | | | | Statistics | | planed with unknown column statistics After: | ========== MATERIALIZATIONS ========== | | | | MaterializedView | | MaterializedViewRewriteSuccessAndChose: | | internal.regression_test_nereids_rules_p0_mv_agg_with_roll_up.mv13_1 chose, | | | | MaterializedViewRewriteSuccessButNotChose: | | not chose: none, | | | | MaterializedViewRewriteFail: | | | | | | ========== STATISTICS ========== | | planed with unknown column statistics
…plain (#39998) Optimize the explain materialized view info, add double horizontal dividing line between `MATERIALIZATIONS` and`STATISTICS`. Maybe think rewrite fail because` planed with unknown column statistics `, actually is rewrite successfully. Before: | ========== MATERIALIZATIONS ========== | | | | MaterializedView | | MaterializedViewRewriteSuccessAndChose: | | internal#regression_test_nereids_rules_p0_mv_agg_with_roll_up#mv13_1 chose, | | | | MaterializedViewRewriteSuccessButNotChose: | | not chose: none, | | | | MaterializedViewRewriteFail: | | | | Statistics | | planed with unknown column statistics After: | ========== MATERIALIZATIONS ========== | | | | MaterializedView | | MaterializedViewRewriteSuccessAndChose: | | internal.regression_test_nereids_rules_p0_mv_agg_with_roll_up.mv13_1 chose, | | | | MaterializedViewRewriteSuccessButNotChose: | | not chose: none, | | | | MaterializedViewRewriteFail: | | | | | | ========== STATISTICS ========== | | planed with unknown column statistics
Proposed changes
Optimize the explain materialized view info, add double horizontal dividing line between
MATERIALIZATIONS
andSTATISTICS
. Maybe think rewrite fail becauseplaned with unknown column statistics
, actually is rewrite successfully.Before:
After: