yiguolei commented on code in PR #61535:
URL: https://github.com/apache/doris/pull/61535#discussion_r3123029685
##########
be/src/exec/exchange/vdata_stream_sender.cpp:
##########
@@ -310,7 +313,8 @@ Status BlockSerializer::next_serialized_block(Block* block,
PBlock* dest, size_t
}
if (_mutable_block->rows() >= _batch_size || eos ||
- (_mutable_block->rows() > 0 && _mutable_block->allocated_bytes() >
_buffer_mem_limit)) {
+ (_mutable_block->rows() > 0 && _mutable_block->allocated_bytes() >
_buffer_mem_limit) ||
Review Comment:
这个条件里,为什么要_mutable_block->rows() > 0? 但是 _mutable_block->bytes() 这个就不需要?
--
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]