stalary commented on code in PR #11878:
URL: https://github.com/apache/doris/pull/11878#discussion_r948547814


##########
docs/zh-CN/docs/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-TABLE.md:
##########
@@ -91,6 +91,8 @@ distribution_info
                 定长字符串。长度范围:1 ~ 255。默认为1
             VARCHAR[(length)]
                 变长字符串。长度范围:1 ~ 65533。默认为1
+            STRING
+                变长字符串。最大(默认)支持1048576 字节(1MB)。String类型的长度还受 be 配置  
`string_type_length_soft_limit_bytes`, 实际能存储的最大长度 取两者最小值,String类型只能用在value 
列,不能用在 key 列和分区 分桶列

Review Comment:
   ```suggestion
   STRING(M)
   变长字符串。最大(默认)支持 1048576 字节(1MB)。String 类型的长度还受 be  
中`string_type_length_soft_limit_bytes`参数控制, 实际能存储的最大长度取两者最小值,String类型只能用在 value 
列,不能用在 key 列和分区/分桶列
   ```



##########
docs/en/docs/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-TABLE.md:
##########
@@ -91,6 +91,8 @@ distribution_info
                 Fixed-length character string. Length range: 1 ~ 255. Default 
is 1
             VARCHAR[(length)]
                 Variable length character string. Length range: 1 ~ 65533. 
Default is 1
+            STRING (M)
+                Variable length character string. Max legnth(default) is 
1048576(1MB). The length of the String type is also limited by the 
configuration string_type_length_soft_limit_bytes of be, the actual maximum 
length that can be stored take the minimum value of both, the String type can 
only be used in the value column, not in the key column and the partition and 
bucket columns

Review Comment:
   ```suggestion
                   Variable length character string. Max legnth(default) is 
1048576 byte(1MB). The length of the String type is also limited by the 
configuration `string_type_length_soft_limit_bytes` of be, the actual maximum 
length that can be stored take the minimum value of both, the String type can 
only be used in the value column, not in the key column and the partition and 
bucket columns
   ```



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