This is an automated email from the ASF dual-hosted git repository.

dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new 063767ad292 branch-3.0: [fix](audit) fix invalid audit log column and 
line separator #52968 (#54059)
063767ad292 is described below

commit 063767ad2922f406dc00e768bcdbcff404d81b95
Author: Mingyu Chen (Rayner) <[email protected]>
AuthorDate: Tue Jul 29 19:58:50 2025 -0700

    branch-3.0: [fix](audit) fix invalid audit log column and line separator 
#52968 (#54059)
    
    bp #52968
---
 .../src/main/java/org/apache/doris/plugin/audit/AuditLoader.java    | 6 +++---
 1 file changed, 3 insertions(+), 3 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 89b6e58f7a1..50e95eed9aa 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
@@ -46,9 +46,9 @@ public class AuditLoader extends Plugin implements 
AuditPlugin {
 
     public static final String AUDIT_LOG_TABLE = "audit_log";
 
-    // the "\\u001F" and "\\u001E" are used to separate columns and lines in 
audit log data
-    public static final String AUDIT_TABLE_COL_SEPARATOR = "\\u001F";
-    public static final String AUDIT_TABLE_LINE_DELIMITER = "\\u001E";
+    // the "0x1F" and "0x1E" are used to separate columns and lines in audit 
log data
+    public static final char AUDIT_TABLE_COL_SEPARATOR = 0x1F;
+    public static final char AUDIT_TABLE_LINE_DELIMITER = 0x1E;
     // the "\\x1F" and "\\x1E" are used to specified column and line delimiter 
in stream load request
     // which is corresponding to the "\\u001F" and "\\u001E" in audit log data.
     public static final String AUDIT_TABLE_COL_SEPARATOR_STR = "\\x1F";


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

Reply via email to