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


##########
be/src/runtime/query_context.h:
##########
@@ -93,6 +93,8 @@ class QueryContext {
         return false;
     }
 
+    int64_t query_time(VecDateTimeValue& now) { return 
now.second_diff(_start_time); }

Review Comment:
   这个我觉得应该是用那个watch, 直接query 开始的时候,初始化watch,然后每次get query time 就拿watch的时间就行



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