github-actions[bot] commented on code in PR #32204:
URL: https://github.com/apache/doris/pull/32204#discussion_r1523502804


##########
be/src/runtime/query_context.cpp:
##########
@@ -221,7 +221,7 @@ ThreadPool* QueryContext::get_non_pipe_exec_thread_pool() {
     }
 }
 
-Status QueryContext::set_task_group(taskgroup::TaskGroupPtr& tg) {
+Status QueryContext::set_task_group(WorkloadGroupPtr& tg) {

Review Comment:
   warning: method 'set_task_group' can be made static 
[readability-convert-member-functions-to-static]
   
   be/src/runtime/query_context.h:165:
   ```diff
   -     Status set_task_group(WorkloadGroupPtr& tg);
   +     static Status set_task_group(WorkloadGroupPtr& tg);
   ```
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to