-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[only test] " [featrue](expr) support common subexpression elimination" #32770
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. |
|
run buildall |
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.
clang-tidy made some suggestions
| // input expr -> intermediate_projections[0] -> intermediate_projections[1] -> intermediate_projections[2] ... -> final projections -> output expr | ||
| // prepare _row_descriptor intermediate_row_desc[0] intermediate_row_desc[1] intermediate_row_desc.end() _output_row_descriptor | ||
|
|
||
| [[nodiscard]] const RowDescriptor& intermediate_row_desc(int idx) { |
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.
warning: method 'intermediate_row_desc' can be made const [readability-make-member-function-const]
| [[nodiscard]] const RowDescriptor& intermediate_row_desc(int idx) { | |
| [[nodiscard]] const RowDescriptor& intermediate_row_desc(int idx) const { |
| // input expr -> intermediate_projections[0] -> intermediate_projections[1] -> intermediate_projections[2] ... -> final projections -> output expr | ||
| // prepare _row_descriptor intermediate_row_desc[0] intermediate_row_desc[1] intermediate_row_desc.end() _output_row_descriptor | ||
|
|
||
| [[nodiscard]] const RowDescriptor& intermediate_row_desc(int idx) { |
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.
warning: method 'intermediate_row_desc' can be made const [readability-make-member-function-const]
| [[nodiscard]] const RowDescriptor& intermediate_row_desc(int idx) { | |
| [[nodiscard]] const RowDescriptor& intermediate_row_desc(int idx) const { |
TPC-H: Total hot run time: 38575 ms |
TPC-DS: Total hot run time: 186553 ms |
|
Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G' |
|
TeamCity be ut coverage result: |
|
run buildall |
TPC-H: Total hot run time: 37916 ms |
TPC-DS: Total hot run time: 181743 ms |
|
Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G' |
|
TeamCity be ut coverage result: |
|
run external |
|
run buildall |
|
TeamCity be ut coverage result: |
TPC-H: Total hot run time: 38203 ms |
TPC-DS: Total hot run time: 181414 ms |
|
Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G' |
|
run buildall |
TPC-H: Total hot run time: 38329 ms |
TPC-DS: Total hot run time: 182845 ms |
|
TeamCity be ut coverage result: |
ClickBench: Total hot run time: 29.65 s |
|
Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G' |
Proposed changes
Issue Number: close #xxx
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...