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


##########
be/src/storage/iterator/block_reader.cpp:
##########
@@ -602,9 +634,9 @@ void BlockReader::_append_agg_data(MutableColumns& columns) 
{
     _stored_row_ref.push_back(_next_row);
     _last_agg_data_counter++;
 
-    // execute aggregate when have `batch_size` column or some ref invalid soon
+    // execute aggregate when accumulated `batch_max_rows()` rows or some ref 
invalid soon
     bool is_last = (_next_row.block->rows() == _next_row.row_pos + 1);
-    if (is_last || _stored_row_ref.size() == _reader_context.batch_size) {
+    if (is_last || _stored_row_ref.size() == batch_max_rows()) {

Review Comment:
   这行代码是什么意思



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