This is an automated email from the ASF dual-hosted git repository. yiguolei pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push: new 024a4f047ec [opt](variables) enlarge the default value of max_allowed_packet (#38697) 024a4f047ec is described below commit 024a4f047ec19a754292a57a81bb1b25677d5c3d Author: Mingyu Chen <morning...@163.com> AuthorDate: Fri Aug 2 19:11:56 2024 +0800 [opt](variables) enlarge the default value of max_allowed_packet (#38697) From 1MB to 16MB, same as MySQL 8.4. This is to avoid "Packet for query is too large" error when querying wide table or table with wide column. --- fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java b/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java index 51bfdb7ead8..e1fabc5a16a 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java +++ b/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java @@ -813,7 +813,7 @@ public class SessionVariable implements Serializable, Writable { // this is used to make c3p0 library happy @VariableMgr.VarAttr(name = MAX_ALLOWED_PACKET) - public int maxAllowedPacket = 1048576; + public int maxAllowedPacket = 16777216; @VariableMgr.VarAttr(name = AUTO_INCREMENT_INCREMENT) public int autoIncrementIncrement = 1; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org