github-actions[bot] commented on code in PR #32039: URL: https://github.com/apache/doris/pull/32039#discussion_r1527531457
########## be/src/runtime/thread_context.cpp: ########## @@ -23,20 +23,39 @@ namespace doris { class MemTracker; +QueryThreadContext ThreadContext::query_thread_context() { Review Comment: warning: method 'query_thread_context' can be made static [readability-convert-member-functions-to-static] be/src/runtime/thread_context.h:191: ```diff - QueryThreadContext query_thread_context(); + static QueryThreadContext query_thread_context(); ``` -- 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