eldenmoon commented on code in PR #43038: URL: https://github.com/apache/doris/pull/43038#discussion_r1825472396
########## fe/fe-core/src/main/java/org/apache/doris/plugin/AuditEvent.java: ########## @@ -272,8 +274,49 @@ public AuditEventBuilder setScanBytesFromRemoteStorage(long scanBytesFromRemoteS return this; } + public AuditEventBuilder setCommandType(String commandType) { + auditEvent.commandType = commandType; + return this; + } + public AuditEvent build() { - return this.auditEvent; + AuditEvent copy = new AuditEvent(); + copy.type = auditEvent.type; Review Comment: do not modify this. you should call reset some where when handle EXEUCTE command -- 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