-
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
[Pipeline](exec) Support shared scan in colo agg #18457
Conversation
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
} | ||
|
||
bool has_enough_space_in_blocks_queue() const override { | ||
return _current_used_bytes < _max_bytes_in_queue / 2 * _max_queue_size; | ||
} | ||
|
||
virtual void _dispose_coloate_blocks_not_in_queue() override { |
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: 'virtual' is redundant since the function is already declared 'override' [modernize-use-override]
virtual void _dispose_coloate_blocks_not_in_queue() override { | |
void _dispose_coloate_blocks_not_in_queue() override { |
run buildall |
run buildall |
TeamCity pipeline, clickbench performance test result: |
run buildall |
run buildall |
1 similar comment
run buildall |
973205e
to
0432f0c
Compare
run buildall |
1 similar comment
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
auto* __restrict hashes = hash_vals.data(); | ||
|
||
for (int j = 0; j < _col_distribute_ids.size(); ++j) { | ||
DCHECK_GT(block->columns(), _col_distribute_ids[j]) << "happen lee:" << print_id(_state->query_id()); |
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: member access into incomplete type 'doris::RuntimeState' [clang-diagnostic-error]
DCHECK_GT(block->columns(), _col_distribute_ids[j]) << "happen lee:" << print_id(_state->query_id());
^
be/src/udf/udf.h:41: forward declaration of 'doris::RuntimeState'
class RuntimeState;
^
for (int j = 0; j < _col_distribute_ids.size(); ++j) { | ||
DCHECK_GT(block->columns(), _col_distribute_ids[j]) << "happen lee:" << print_id(_state->query_id()); | ||
DCHECK_NE(block->get_by_position(_col_distribute_ids[j]) | ||
.column.get(), nullptr) << "happen lee:" << print_id(_state->query_id()); |
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: member access into incomplete type 'doris::RuntimeState' [clang-diagnostic-error]
.column.get(), nullptr) << "happen lee:" << print_id(_state->query_id());
^
be/src/udf/udf.h:41: forward declaration of 'doris::RuntimeState'
class RuntimeState;
^
run p0 |
run p0 |
run buildall |
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.
LGTM
Proposed changes
Before do the opt ckbench:
21.8s
After do the opt ckbench:
18.9s
Problem summary
Describe your changes.
Checklist(Required)
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...