chenhao7253886 commented on a change in pull request #531: Add cpu and io 
indicates to audit log
URL: https://github.com/apache/incubator-doris/pull/531#discussion_r248171978
 
 

 ##########
 File path: fe/src/main/java/org/apache/doris/qe/StmtExecutor.java
 ##########
 @@ -774,4 +787,40 @@ private void handleExportStmt() throws Exception {
         ExportStmt exportStmt = (ExportStmt) parsedStmt;
         context.getCatalog().getExportMgr().addExportJob(exportStmt);
     }
+
+    public QueryStatistics getQueryStatisticsForAuditLog() {
+        if (statisticsForAuditLog == null) {
+            statisticsForAuditLog = new QueryStatistics();
+        }
+        return statisticsForAuditLog;
+    }
+
+    public static class QueryStatistics {
 
 Review comment:
   yes, i will replace this with PQueryStatistics.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@doris.apache.org
For additional commands, e-mail: dev-h...@doris.apache.org

Reply via email to