gavinchou commented on code in PR #51314:
URL: https://github.com/apache/doris/pull/51314#discussion_r2115089748


##########
fe/fe-core/src/main/java/org/apache/doris/qe/GlobalVariable.java:
##########
@@ -154,6 +155,14 @@ public final class GlobalVariable {
     @VariableMgr.VarAttr(name = AUDIT_PLUGIN_MAX_SQL_LENGTH, flag = 
VariableMgr.GLOBAL)
     public static int auditPluginMaxSqlLength = 4096;
 
+    @VariableMgr.VarAttr(name = AUDIT_PLUGIN_MAX_INSERT_STMT_LENGTH, flag = 
VariableMgr.GLOBAL,
+            description = {"专门用于限制 INSERT 语句的长度。设置为 <= 0,则使用 
AUDIT_PLUGIN_MAX_SQL_LENGTH 的值。"
+                    + "如果 INSERT 语句超过该长度,将会被截断。",
+                    "This is specifically used to limit the length of INSERT 
statements. "
+                            + "Set to a <= 0 value to use the value of 
AUDIT_PLUGIN_MAX_SQL_LENGTH. "
+                            + "If an INSERT statement exceeds this length, it 
will be truncated."})
+    public static int auditPluginMaxInsertStmtLength = -1;

Review Comment:
   better to make it default to INT.MAX



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

Reply via email to