github-actions[bot] commented on code in PR #39221: URL: https://github.com/apache/doris/pull/39221#discussion_r1713332379
########## be/src/vec/functions/match.h: ########## @@ -76,7 +79,12 @@ class FunctionMatchBase : public IFunction { const ColumnArray::Offsets64* array_offsets, ColumnUInt8::Container& result) = 0; - doris::segment_v2::InvertedIndexQueryType get_query_type_from_fn_name(); + doris::segment_v2::InvertedIndexQueryType get_query_type_from_fn_name() const; Review Comment: warning: function 'get_query_type_from_fn_name' should be marked [[nodiscard]] [modernize-use-nodiscard] ```suggestion [[nodiscard]] doris::segment_v2::InvertedIndexQueryType get_query_type_from_fn_name() 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