mrhhsg commented on code in PR #13355:
URL: https://github.com/apache/doris/pull/13355#discussion_r997671523


##########
be/src/olap/rowset/segment_v2/segment_iterator.cpp:
##########
@@ -907,6 +907,10 @@ void SegmentIterator::_init_current_block(
         if (_is_pred_column[cid] ||
             i >= block->columns()) { //todo(wb) maybe we can release it after 
output block
             current_columns[cid]->clear();
+            if (i < block->columns()) {
+                block->get_by_position(i).column->assume_mutable()->reserve(

Review Comment:
   It seems that there is no need to reserve.



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to