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


##########
be/src/runtime/buffer_control_block.cpp:
##########
@@ -119,7 +119,7 @@ Status 
BufferControlBlock::add_batch(std::unique_ptr<TFetchDataResult>& result)
 
     int num_rows = result->result_batch.rows.size();
 
-    while ((!_batch_queue.empty() && _buffer_rows > _buffer_limit) && 
!_is_cancelled) {
+    while ((!_mysql_batch_queue.empty() && _buffer_rows > _buffer_limit) && 
!_is_cancelled) {

Review Comment:
   maybe we need another pr to set buffer limit from session variable. Then for 
arrow flight we may need change the session variable to get better performance.



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