HappenLee commented on a change in pull request #8109:
URL: https://github.com/apache/incubator-doris/pull/8109#discussion_r808705184



##########
File path: be/src/olap/row_block2.cpp
##########
@@ -329,7 +329,8 @@ Status RowBlockV2::_copy_data_to_column(int cid, 
doris::vectorized::MutableColum
 }
 
 Status RowBlockV2::convert_to_vec_block(vectorized::Block* block) {
-    for (int i = 0; i < _schema.column_ids().size(); ++i) {
+    DCHECK_LE(block->columns(), _schema.column_ids().size());
+    for (int i = 0; i < block->columns(); ++i) {

Review comment:
       vec block column size is different with RowBlockV2 size, the mismatch 
cause the problem
   
   




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