csun5285 commented on code in PR #66472:
URL: https://github.com/apache/doris/pull/66472#discussion_r3764368987
##########
be/src/storage/rowset/beta_rowset_reader.cpp:
##########
@@ -380,28 +315,22 @@ Status BetaRowsetReader::_init_iterator() {
}
// merge or union segment iterator
if (is_merge_iterator()) {
- auto sequence_loc = -1;
- if (_read_context->sequence_id_idx != -1) {
Review Comment:
如果 sequence_id_idx 是-1,表示不需要根据seq 列排序,如果不是 -1 ,就表示这一列的位置,就找到seq 列,后面排序会用,现在用
use_sequence_column_for_merge_order 表示是不是需要根据 seq 排序。
--
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]