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


##########
be/src/vec/olap/vgeneric_iterators.cpp:
##########
@@ -149,12 +149,18 @@ Status VMergeIteratorContext::copy_rows(Block* block, 
bool advanced) {
     if (_cur_batch_num == 0) {
         return Status::OK();
     }
+    size_t output_cols = _output_schema->num_column_ids();
+    // src block may contain extra columns (e.g. delete-predicate columns) 
because
+    // SegmentIterator reads with input_schema = return_columns + delete 
columns
+    // to evaluate row filtering. We should only copy the requested output 
columns.
+    DCHECK_GE(src.columns(), output_cols);

Review Comment:
   为啥是GE,不是EQ?



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