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

 ##########
 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:
   Can  PQueryStatistics replace this class?

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to