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


##########
be/src/pipeline/exec/olap_scan_operator.cpp:
##########
@@ -43,6 +43,9 @@ namespace doris::pipeline {
 
 Status OlapScanLocalState::_init_profile() {
     RETURN_IF_ERROR(ScanLocalState<OlapScanLocalState>::_init_profile());
+    // Rows read from storage.
+    // Include the rows read from doris page cache.
+    _scan_rows = ADD_COUNTER(_runtime_profile, "ScanRows", TUnit::UNIT);

Review Comment:
   这个不要放到olap scan里,应该是通用的scan operator 有scan rows和scan bytes,所有的scan 
operator的实现都要有这个。



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