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


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

Review Comment:
   我之前的pr是根据dst block来遍历的
   
   ```cpp
   Status VMergeIteratorContext::copy_rows(Block* block, bool advanced) {
       ...
       for (size_t i = 0; i < block->columns(); ++i) {
       ...
   }
   ```



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