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


##########
be/src/vec/exec/scan/vscanner.cpp:
##########
@@ -96,6 +96,7 @@ Status VScanner::get_block(RuntimeState* state, Block* block, 
bool* eof) {
                 }
                 _num_rows_read += block->rows();
                 _num_byte_read += block->allocated_bytes();
+                
RETURN_IF_ERROR(state->get_query_ctx()->add_scan_bytes(block->allocated_bytes()));

Review Comment:
   这里,每10次,调用一下,我怕太频繁了



##########
be/src/vec/exec/scan/vscanner.cpp:
##########
@@ -96,6 +96,7 @@ Status VScanner::get_block(RuntimeState* state, Block* block, 
bool* eof) {
                 }
                 _num_rows_read += block->rows();
                 _num_byte_read += block->allocated_bytes();
+                
RETURN_IF_ERROR(state->get_query_ctx()->add_scan_bytes(block->allocated_bytes()));

Review Comment:
   这里,每10次,调用一下,我怕太频繁了



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