xiaokang commented on code in PR #32620: URL: https://github.com/apache/doris/pull/32620#discussion_r1561925603
########## be/src/vec/exprs/vexpr_context.h: ########## @@ -69,6 +70,21 @@ class VExprContext { return _fn_contexts[i].get(); } + // execute expr with inverted index which column a, b has inverted indexes + // but some situation although column b has indexes, but apply index is not useful, we should + // skip this expr, just do not apply index anymore. + /** + * @param colId_invertedIndexIter_mapping contains all column id to inverted index iterator mapping from segmentIterator + * @param num_rows number of rows in one segment. + * @param bitmap roaring bitmap to store the result. 0 is present filed by index. + * @return status not ok means execute failed. + */ + [[nodiscard]] Status eval_inverted_indexs( + const std::unordered_map<ColumnId, std::pair<vectorized::NameAndTypePair, + segment_v2::InvertedIndexIterator*>>& + colId_invertedIndexIter_mapping, Review Comment: colId -> colid or col_id -- 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