HappenLee commented on code in PR #10694:
URL: https://github.com/apache/doris/pull/10694#discussion_r929522152
##########
be/src/olap/rowset/segment_v2/segment_iterator.cpp:
##########
@@ -104,6 +107,43 @@ class SegmentIterator::BitmapRangeIterator {
bool _eof = false;
};
+// A backward range iterator for roaring bitmap. Output ranges use closed-open
form, like [from, to).
+// Example:
+// input bitmap: [0 1 4 5 6 7 10 15 16 17 18 19]
+// output ranges: , [15,20), [10,11), [4,8), [0,2) (when max_range_size=10)
+// output ranges: [18,20), [15,18), [10,11), [4,8), [0,2) (when
max_range_size=3)
Review Comment:
rethink the logic?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]