github-actions[bot] commented on code in PR #26749: URL: https://github.com/apache/doris/pull/26749#discussion_r1389091185
########## be/src/olap/rowset/segment_v2/segment.cpp: ########## @@ -483,5 +649,25 @@ Status Segment::read_key_by_rowid(uint32_t row_id, std::string* key) { return Status::OK(); } +bool Segment::same_with_storage_type(int32_t cid, const Schema& schema, Review Comment: warning: method 'same_with_storage_type' can be made static [readability-convert-member-functions-to-static] be/src/olap/rowset/segment_v2/segment.cpp:652: ```diff - bool ignore_children) const { + bool ignore_children) { ``` be/src/olap/rowset/segment_v2/segment.h:150: ```diff - bool same_with_storage_type(int32_t cid, const Schema& schema, bool ignore_children) const; + static bool same_with_storage_type(int32_t cid, const Schema& schema, bool ignore_children) ; ``` -- 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