yiguolei commented on code in PR #29925: URL: https://github.com/apache/doris/pull/29925#discussion_r1451076399
########## be/src/runtime/memory/mem_tracker.h: ########## @@ -138,6 +139,9 @@ class MemTracker { return; } _consumption->add(bytes); + if (_query_statistics) { Review Comment: 这里不需要在memory tracker 中保存 query_statistics. memory tracker 已经在query context 中了, 直接在query context 中调用memory tracker的 peak value,获得一下这个值,更新一下query context 对应的 statistics就行了。 -- 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