xinyiZzz commented on code in PR #15917:
URL: https://github.com/apache/doris/pull/15917#discussion_r1116627039


##########
be/src/olap/rowset/segment_v2/segment_iterator.cpp:
##########
@@ -1505,14 +1562,16 @@ Status SegmentIterator::next_batch(vectorized::Block* 
block) {
 
     _current_batch_rows_read = 0;
     uint32_t nrows_read_limit = _opts.block_row_max;
-    if (UNLIKELY(_estimate_row_size)) {
-        // read 100 rows to estimate average row size
+    if (UNLIKELY(_opts.stats->blocks_load == 0)) {

Review Comment:
   fixed
   // Read up to 100 rows at a time while waiting for the estimated row size.



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