-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[Performance](sink) SIMD the tablet sink valied data function #25480
Conversation
clang-tidy review says "All clean, LGTM! 👍" |
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
@@ -66,15 +66,15 @@ class OlapTableBlockConvertor { | |||
|
|||
Status _validate_column(RuntimeState* state, const TypeDescriptor& type, bool is_nullable, | |||
vectorized::ColumnPtr column, size_t slot_index, bool* stop_processing, | |||
fmt::memory_buffer& error_prefix, | |||
fmt::memory_buffer& error_prefix, const uint32_t row_count, |
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: parameter 'row_count' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions [readability-avoid-const-params-in-decls]
fmt::memory_buffer& error_prefix, const uint32_t row_count, | |
fmt::memory_buffer& error_prefix, uint32_t row_count, |
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.
Remove this const
in header file.
vectorized::IColumn::Permutation* rows = nullptr); | ||
|
||
// make input data valid for OLAP table | ||
// return number of invalid/filtered rows. | ||
// invalid row number is set in Bitmap | ||
// set stop_processing if we want to stop the whole process now. | ||
Status _validate_data(RuntimeState* state, vectorized::Block* block, int64_t& filtered_rows, | ||
bool* stop_processing); | ||
Status _validate_data(RuntimeState* state, vectorized::Block* block, const uint32_t rows, |
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: parameter 'rows' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions [readability-avoid-const-params-in-decls]
Status _validate_data(RuntimeState* state, vectorized::Block* block, const uint32_t rows, | |
Status _validate_data(RuntimeState* state, vectorized::Block* block, uint32_t rows, |
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.
Remove this const
in header file.
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
run buildall |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
TeamCity be ut coverage result: |
(From new machine)TeamCity pipeline, clickbench performance test result: |
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
Proposed changes
Before:4.5s
after:1s
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...