[fix] (docs) Fix Data type: string length and parameter description (#11565)

This commit is contained in:
catpineapple
2022-08-30 19:16:00 +08:00
committed by GitHub
parent 9c7016f6e7
commit fc400a15db
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ under the License.
## STRING
### Description
STRING (M)
A variable length string, max legnth is 2147483643(2GB - 4). 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
A variable length 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
Note: Variable length strings are stored in UTF-8 encoding, so usually English characters occupies 1 byte, and Chinese characters occupies 3 bytes.

View File

@ -27,7 +27,7 @@ under the License.
## STRING
### description
STRING
变长字符串,最大支持2147483643 字节(2GB-4)。String类型的长度还受 be 配置 `string_type_soft_limit`, 实际能存储的最大长度 取两者最小值,String类型只能用在value 列,不能用在 key 列和分区 分桶列
变长字符串,最大(默认)支持1048576 字节(1MB)。String类型的长度还受 be 配置 `string_type_length_soft_limit_bytes`, 实际能存储的最大长度 取两者最小值,String类型只能用在value 列,不能用在 key 列和分区 分桶列
注意:变长字符串是以UTF-8编码存储的,因此通常英文字符占1个字节,中文字符占3个字节。