github-actions[bot] commented on code in PR #25448: URL: https://github.com/apache/doris/pull/25448#discussion_r1360178711
########## be/src/pipeline/exec/union_source_operator.cpp: ########## @@ -124,9 +134,10 @@ Status UnionSourceLocalState::init(RuntimeState* state, LocalStateInfo& info) { return Status::OK(); } -std::shared_ptr<DataQueue> UnionSourceLocalState::create_data_queue() { +std::shared_ptr<UnionSharedState> UnionSourceLocalState::create_shared_state() { Review Comment: warning: method 'create_shared_state' can be made static [readability-convert-member-functions-to-static] be/src/pipeline/exec/union_source_operator.h:80: ```diff - std::shared_ptr<UnionSharedState> create_shared_state(); + static std::shared_ptr<UnionSharedState> create_shared_state(); ``` -- 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