TsukiokaKogane commented on code in PR #63850:
URL: https://github.com/apache/doris/pull/63850#discussion_r3378341562
##########
be/src/storage/rowset/beta_rowset_reader.h:
##########
@@ -60,8 +60,9 @@ class BetaRowsetReader : public RowsetReader {
}
bool is_merge_iterator() const override {
- return _read_context->need_ordered_result &&
- _rowset->rowset_meta()->is_segments_overlapping() &&
_get_segment_num() > 1;
+ return _read_context->need_ordered_result && _get_segment_num() > 1 &&
+ (_rowset->rowset_meta()->is_segments_overlapping() ||
+ _read_context->force_key_ordered_read);
Review Comment:
这个是要强制按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: [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]