-
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
[pipelineX](runtime filter) Fix task timeout caused by runtime filter(#33332) #33369
Conversation
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
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
runtime_filter->set_filter_timer(filter_timer); | ||
ExecEnv::GetInstance()->runtime_filter_timer_queue()->push_filter_timer(filter_timer); | ||
} | ||
void RuntimeFilterTimerQueue::start() { |
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 'start' can be made static [readability-convert-member-functions-to-static]
be/src/pipeline/pipeline_x/dependency.h:236:
- void start();
+ static void start();
@@ -188,6 +189,17 @@ class PipelineXTask : public PipelineTask { | |||
return nullptr; | |||
} | |||
|
|||
Dependency* _runtime_filter_blocked_dependency() { |
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 '_runtime_filter_blocked_dependency' can be made static [readability-convert-member-functions-to-static]
Dependency* _runtime_filter_blocked_dependency() { | |
static Dependency* _runtime_filter_blocked_dependency() { |
void init_runtime_filter_dependency( | ||
std::vector<std::shared_ptr<pipeline::RuntimeFilterDependency>>& | ||
runtime_filter_dependencies, | ||
const int id, const int node_id, const std::string& name); |
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 'id' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions [readability-avoid-const-params-in-decls]
const int id, const int node_id, const std::string& name); | |
int id, const int node_id, const std::string& name); |
void init_runtime_filter_dependency( | ||
std::vector<std::shared_ptr<pipeline::RuntimeFilterDependency>>& | ||
runtime_filter_dependencies, | ||
const int id, const int node_id, const std::string& name); |
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 'node_id' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions [readability-avoid-const-params-in-decls]
const int id, const int node_id, const std::string& name); | |
const int id, int node_id, const std::string& name); |
Proposed changes
pick #33332
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...