yiguolei commented on code in PR #21239:
URL: https://github.com/apache/doris/pull/21239#discussion_r1244825881


##########
be/src/olap/rowset/segment_v2/segment_iterator.cpp:
##########
@@ -490,6 +490,21 @@ Status 
SegmentIterator::_get_row_ranges_from_conditions(RowRanges* condition_row
     RowRanges::ranges_intersection(*condition_row_ranges, zone_map_row_ranges,
                                    condition_row_ranges);
     _opts.stats->rows_stats_filtered += (pre_size - 
condition_row_ranges->count());
+
+    RowRanges dict_row_ranges = RowRanges::create_single(num_rows());

Review Comment:
   并且加上注释,写明为啥,防止后来的人给改了。。。



-- 
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

Reply via email to