wangbo commented on code in PR #15413: URL: https://github.com/apache/doris/pull/15413#discussion_r1058036036
########## be/src/olap/rowset/segment_v2/segment_iterator.h: ########## @@ -227,7 +281,10 @@ class SegmentIterator : public RowwiseIterator { std::unique_ptr<Schema> _seek_schema; // used to binary search the rowid for a given key // only used in `_get_row_ranges_by_keys` - std::unique_ptr<RowBlockV2> _seek_block; + vectorized::MutableColumns _seek_block; + + //todo(wb) remove this field after Rowcursor is removed + vectorized::MutableColumns _short_key; Review Comment: In the existing Doris semantics, short key means prefix index, you can refer ```ShortKeyIndexDecoder```. Then seek block means it is used to seek data page in Segment, Binary search can be realized by comparing seek block and short key. -- 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