englefly commented on code in PR #10397:
URL: https://github.com/apache/doris/pull/10397#discussion_r905817451


##########
be/src/olap/rowset/segment_v2/segment_iterator.cpp:
##########
@@ -935,13 +937,22 @@ Status SegmentIterator::next_batch(vectorized::Block* 
block) {
                 _current_return_columns[cid]->reserve(_opts.block_row_max);
             }
         }
+        //count non predicate column size

Review Comment:
   我们没有实际长度的统计信息,所以这里只能使用schema的定义值。将来FE下发统计的实际平均长度,可以让batch 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