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


##########
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:
   force_key_ordered_read  依赖这个开关的原因是啥? 之前这个开关就是存在的,为什么没问题?



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

Reply via email to