github-actions[bot] commented on code in PR #26465: URL: https://github.com/apache/doris/pull/26465#discussion_r1387899932
########## be/src/olap/schema.h: ########## @@ -176,6 +176,15 @@ class Schema { const std::vector<int32_t>& unique_ids() const { return _unique_ids; } ColumnId column_id(size_t index) const { return _col_ids[index]; } int32_t unique_id(size_t index) const { return _unique_ids[index]; } + int32_t col_id_to_col_ids_index(int cid) const { Review Comment: warning: method 'col_id_to_col_ids_index' can be made static [readability-convert-member-functions-to-static] ```suggestion static int32_t col_id_to_col_ids_index(int cid) { ``` -- 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