This is an automated email from the ASF dual-hosted git repository. jianliangqi pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push: new 3b5bc28b12e [fix](invert index) fix the inaccurate rows_inverted_index_filtered in the profile (#31158) 3b5bc28b12e is described below commit 3b5bc28b12e7869dc28d49a04ef5dae84fc0caa9 Author: zzzxl <33418555+zzzxl1...@users.noreply.github.com> AuthorDate: Wed Feb 21 10:42:38 2024 +0800 [fix](invert index) fix the inaccurate rows_inverted_index_filtered in the profile (#31158) --- be/src/olap/rowset/segment_v2/segment_iterator.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/be/src/olap/rowset/segment_v2/segment_iterator.cpp b/be/src/olap/rowset/segment_v2/segment_iterator.cpp index 3eab4c0dca1..98e1fe0d82e 100644 --- a/be/src/olap/rowset/segment_v2/segment_iterator.cpp +++ b/be/src/olap/rowset/segment_v2/segment_iterator.cpp @@ -490,6 +490,7 @@ Status SegmentIterator::_get_row_ranges_by_column_conditions() { } if (config::enable_index_apply_preds_except_leafnode_of_andnode) { + size_t input_rows = _row_bitmap.cardinality(); RETURN_IF_ERROR(_apply_index_except_leafnode_of_andnode()); if (_can_filter_by_preds_except_leafnode_of_andnode()) { for (auto it = _remaining_conjunct_roots.begin(); @@ -509,6 +510,7 @@ Status SegmentIterator::_get_row_ranges_by_column_conditions() { } } } + _opts.stats->rows_inverted_index_filtered += (input_rows - _row_bitmap.cardinality()); } RETURN_IF_ERROR(_apply_bitmap_index()); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org