morningman commented on code in PR #15321:
URL: https://github.com/apache/doris/pull/15321#discussion_r1056760200
##########
be/src/vec/exec/scan/scanner_context.cpp:
##########
@@ -174,11 +176,30 @@ bool ScannerContext::set_status_on_error(const Status&
status) {
Status ScannerContext::_close_and_clear_scanners() {
std::unique_lock<std::mutex> l(_scanners_lock);
+ std::stringstream scanner_statistics;
Review Comment:
This is a hot path, better use `fmt`.
And print it only when `enable_profile` is true
--
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]