This is an automated email from the ASF dual-hosted git repository.
morrysnow pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new 1ecc85b575d [Fix](ctas) forward the use_max_length_of_varchar_in_ctas
(#39705) (#40138)
1ecc85b575d is described below
commit 1ecc85b575d82655bfa650c9929498ecd6b577ce
Author: feiniaofeiafei <[email protected]>
AuthorDate: Fri Aug 30 10:11:29 2024 +0800
[Fix](ctas) forward the use_max_length_of_varchar_in_ctas (#39705) (#40138)
cherry-pick from master #39705
---
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 77ce6068041..bd6faa1a09d 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
@@ -1996,7 +1996,7 @@ public class SessionVariable implements Serializable,
Writable {
checker = "checkExternalAggPartitionBits", fuzzy = true)
public int externalAggPartitionBits = 5; // means that the hash table will
be partitioned into 32 blocks.
- @VariableMgr.VarAttr(name = USE_MAX_LENGTH_OF_VARCHAR_IN_CTAS, description
= {
+ @VariableMgr.VarAttr(name = USE_MAX_LENGTH_OF_VARCHAR_IN_CTAS, needForward
= true, description = {
"在CTAS中,如果 CHAR / VARCHAR 列不来自于源表,是否是将这一列的长度设置为 MAX,即65533。默认为
true。",
"In CTAS (Create Table As Select), if CHAR/VARCHAR columns do not
originate from the source table,"
+ " whether to set the length of such a column to MAX,
which is 65533. The default is true."
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]