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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to