diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/types/coercion/CharacterType.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/types/coercion/CharacterType.java index 2e661750551ab5..b6dc4c2214176b 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/types/coercion/CharacterType.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/types/coercion/CharacterType.java @@ -26,13 +26,12 @@ */ public abstract class CharacterType extends PrimitiveType { - private static final int WIDTH = 16; - - protected final int len; - // When defining SQL schemas, users often tend to set the length of string // fields much longer than actually needed for storage. public static final int DEFAULT_SLOT_SIZE = 20; + private static final int WIDTH = 16; + + protected final int len; public CharacterType(int len) { this.len = len;