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
[Enhancement] Reduce cache miss when evaluate lots of expr in aggregate #15998
Conversation
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
@@ -16,6 +16,7 @@ | |||
|
|||
#include <utility> |
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: 'utility' file not found [clang-diagnostic-error]
#include <utility>
^
@@ -16,6 +16,7 @@ | |||
|
|||
#include <utility> | |||
|
|||
#include "column/vectorized_fwd.h" |
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: 'column/vectorized_fwd.h' file not found [clang-diagnostic-error]
#include "column/vectorized_fwd.h"
^
fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/tree/ExtractAggregateColumn.java
Outdated
Show resolved
Hide resolved
fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/tree/ExtractAggregateColumn.java
Outdated
Show resolved
Hide resolved
fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/tree/ExtractAggregateColumn.java
Outdated
Show resolved
Hide resolved
fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rule/tree/ExtractAggregateColumn.java
Outdated
Show resolved
Hide resolved
run starrocks_admit_test |
run starrocks_fe_unittest |
run starrocks_admit_test |
run starrocks_admit_test |
1. move some function call expr from project node to aggregate node 2. evaluate function call expr before call aggregate node
d1cd86c
to
d15fd9d
Compare
Kudos, SonarCloud Quality Gate passed! |
[FE PR Coverage Check]😍 pass : 78 / 80 (97.50%) file detail
|
run starrocks_admit_test |
SonarCloud Quality Gate failed. 0 Bugs No Coverage information |
What type of PR is this:
Which issues of this PR fixes :
#9118
Problem Summary(Required) :
cache miss
before:
after:
Checklist:
Bugfix cherry-pick branch check: