-
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
[test](mtmv) Auto calc the value of sync_cbo_rewrite variable to makesure the same test code in different version #42279
[test](mtmv) Auto calc the value of sync_cbo_rewrite variable to makesure the same test code in different version #42279
Conversation
… sure the same test code in different version
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: 41034 ms
|
TPC-DS: Total hot run time: 191598 ms
|
ClickBench: Total hot run time: 33.48 s
|
run buildall |
TPC-H: Total hot run time: 41131 ms
|
TPC-DS: Total hot run time: 191574 ms
|
ClickBench: Total hot run time: 32.3 s
|
run buildall |
TPC-H: Total hot run time: 41374 ms
|
TPC-DS: Total hot run time: 192040 ms
|
ClickBench: Total hot run time: 32.15 s
|
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
PR approved by anyone and no changes requested. |
PR approved by at least one committer and no changes requested. |
…sure the same test code in different version (#42279) Auto calc the value of sync_cbo_rewrite variable to make sure the same test code in different version. Because the query rewrite by mv code is a little different from 2.1 to 3.0 and master. But should keep same regression test code in different version. So add the methoed `enable_sync_mv_cost_based_rewrite` to get `enable_sync_mv_cost_based_rewrite` session variable, then decide to regression test logic by the variable auto.
…able to makesure the same test code in different version (#43331) Cherry-picked from #42279 Co-authored-by: seawinde <[email protected]>
…sure the same test code in different version (apache#42279) Auto calc the value of sync_cbo_rewrite variable to make sure the same test code in different version. Because the query rewrite by mv code is a little different from 2.1 to 3.0 and master. But should keep same regression test code in different version. So add the methoed `enable_sync_mv_cost_based_rewrite` to get `enable_sync_mv_cost_based_rewrite` session variable, then decide to regression test logic by the variable auto.
Proposed changes
Auto calc the value of sync_cbo_rewrite variable to make sure the same test code in different version.
Because the query rewrite by mv code is a little different from 2.1 to 3.0 and master.
But should keep same regression test code in different version.
So add the methoed
enable_sync_mv_cost_based_rewrite
to getenable_sync_mv_cost_based_rewrite
session variable, then decide to regression test logic by the variable auto.