Tanya-W commented on code in PR #13035: URL: https://github.com/apache/doris/pull/13035#discussion_r1057172588
########## be/src/olap/rowset/segment_v2/segment_iterator.cpp: ########## @@ -352,6 +362,15 @@ Status SegmentIterator::_get_row_ranges_from_conditions(RowRanges* condition_row Status SegmentIterator::_apply_bitmap_index() { SCOPED_RAW_TIMER(&_opts.stats->bitmap_index_filter_timer); size_t input_rows = _row_bitmap.cardinality(); + if (config::enable_index_apply_compound_predicates) { + RETURN_IF_ERROR(_apply_index_in_compound()); + if (_is_index_for_compound_predicate()) { + _execute_all_compound_predicates(_remaining_vconjunct_root); + DCHECK(_compound_predicate_execute_result.size() == 1); + _row_bitmap &= _compound_predicate_execute_result[0]; Review Comment: the latest code implementation takes this into account -- 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