yiguolei commented on code in PR #25090:
URL: https://github.com/apache/doris/pull/25090#discussion_r1349609678


##########
be/src/vec/exec/scan/scanner_context.cpp:
##########
@@ -55,7 +55,6 @@ ScannerContext::ScannerContext(doris::RuntimeState* state_, 
doris::vectorized::V
           _process_status(Status::OK()),
           _batch_size(state_->batch_size()),
           limit(limit_),
-          _max_bytes_in_queue(max_bytes_in_blocks_queue_ * 
num_parallel_instances),

Review Comment:
   your modification is too complicated, 
   just rewrite it to  std::max(max_bytes_in_blocks_queue_, 
1024)*num_parallel_instances
   
   and please add comment here to explain why we need do like this.
   



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