From d98ef423c393f745def1df51bb6c24f1453b8246 Mon Sep 17 00:00:00 2001 From: derenli Date: Fri, 27 Dec 2024 20:32:58 +0800 Subject: [PATCH] [fix](audit-loader) Fix the bug that causes audit loader to fail. --- .../java/org/apache/doris/plugin/audit/AuditLoader.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/plugin/audit/AuditLoader.java b/fe/fe-core/src/main/java/org/apache/doris/plugin/audit/AuditLoader.java index 6aac0364bc0efb..ee78496cfcb2a1 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/plugin/audit/AuditLoader.java +++ b/fe/fe-core/src/main/java/org/apache/doris/plugin/audit/AuditLoader.java @@ -151,13 +151,11 @@ private void fillLogBuffer(AuditEvent event, StringBuilder logBuffer) { logBuffer.append(event.queryTime).append("\t"); logBuffer.append(event.scanBytes).append("\t"); logBuffer.append(event.scanRows).append("\t"); - logBuffer.append(event.shuffleSendBytes).append("\t"); - logBuffer.append(event.shuffleSendRows).append("\t"); - logBuffer.append(event.scanBytesFromLocalStorage).append("\t"); - logBuffer.append(event.scanBytesFromRemoteStorage).append("\t"); logBuffer.append(event.returnRows).append("\t"); logBuffer.append(event.shuffleSendRows).append("\t"); logBuffer.append(event.shuffleSendBytes).append("\t"); + logBuffer.append(event.scanBytesFromLocalStorage).append("\t"); + logBuffer.append(event.scanBytesFromRemoteStorage).append("\t"); logBuffer.append(event.stmtId).append("\t"); logBuffer.append(event.isQuery ? 1 : 0).append("\t"); logBuffer.append(event.isNereids ? 1 : 0).append("\t");