zzzxl1993 commented on code in PR #37185: URL: https://github.com/apache/doris/pull/37185#discussion_r1667376586
########## be/src/olap/rowset/segment_v2/segment_iterator.cpp: ########## @@ -1344,8 +1344,9 @@ Status SegmentIterator::_apply_inverted_index() { // _common_expr_columns has all column ids from _common_expr_ctxs_push_down // if current bitmap is already empty just return if (!(expr_ctx->root()->node_type() == TExprNodeType::FUNCTION_CALL && - expr_ctx->root()->fn().name.function_name == Review Comment: 1. Add an inverted index field of string type called "type". 2. Test the query: select * from tbl where (array_contains(inventors, 's') or type = '2'); 3. The root node being of type compound_or may prevent index optimization. -- 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