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



##########
File path: be/src/vec/core/block.h
##########
@@ -104,6 +104,16 @@ class Block {
                                      doris::vectorized::IColumn* input_col_ptr,
                                      uint16_t* sel_rowid_idx, uint16_t 
select_size, int block_cid,
                                      size_t batch_size) {
+        // Only the additional deleted filter condition need to materialize 
column be at the end of the block
+        // We should not to materialize the column of query engine do not 
need. So here just return OK.
+        // Eg:
+        //      `delete from table where a = 10;`
+        //      `select b from table;`
+        // a column only effective in segment iterator, the block from query 
engine only contain the b column.
+        // so the `block_cid >= data.size()` is true
+        if (block_cid >= data.size())

Review comment:
       OK,I will fix it




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