github-actions[bot] commented on code in PR #43778: URL: https://github.com/apache/doris/pull/43778#discussion_r1837978620
########## be/src/olap/tablet_schema.h: ########## @@ -269,6 +269,14 @@ class TabletSchema { segment_v2::CompressionTypePB compression_type() const { return _compression_type; } const std::vector<TabletIndex>& indexes() const { return _indexes; } + bool has_inverted_index() const { Review Comment: warning: function 'has_inverted_index' should be marked [[nodiscard]] [modernize-use-nodiscard] ```suggestion [[nodiscard]] bool has_inverted_index() const { ``` -- 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