HappenLee commented on code in PR #27641: URL: https://github.com/apache/doris/pull/27641#discussion_r1407043756
########## be/src/runtime/query_statistics.h: ########## @@ -155,5 +158,12 @@ class QueryStatisticsRecvr { std::map<int, QueryStatisticsPtr> _query_statistics; SpinLock _lock; }; +// QueryStatistics collects information from both scan and exchange, +// while DmlQueryStatistics does not collect information from the exchange. +class DmlQueryStatistics : public QueryStatistics { Review Comment: do not use sub class to do the work -- 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