This is an automated email from the ASF dual-hosted git repository. jakevin 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 fc400a15db [fix] (docs) Fix Data type: string length and parameter description (#11565) fc400a15db is described below commit fc400a15db8e62f490654e7096f8207cce42f192 Author: catpineapple <42031973+catpineap...@users.noreply.github.com> AuthorDate: Tue Aug 30 19:16:00 2022 +0800 [fix] (docs) Fix Data type: string length and parameter description (#11565) --- docs/en/docs/sql-manual/sql-reference/Data-Types/STRING.md | 2 +- docs/zh-CN/docs/sql-manual/sql-reference/Data-Types/STRING.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/docs/sql-manual/sql-reference/Data-Types/STRING.md b/docs/en/docs/sql-manual/sql-reference/Data-Types/STRING.md index c25895c98a..039ef170c2 100644 --- a/docs/en/docs/sql-manual/sql-reference/Data-Types/STRING.md +++ b/docs/en/docs/sql-manual/sql-reference/Data-Types/STRING.md @@ -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. diff --git a/docs/zh-CN/docs/sql-manual/sql-reference/Data-Types/STRING.md b/docs/zh-CN/docs/sql-manual/sql-reference/Data-Types/STRING.md index 1bdf4c64e2..c75e27734d 100644 --- a/docs/zh-CN/docs/sql-manual/sql-reference/Data-Types/STRING.md +++ b/docs/zh-CN/docs/sql-manual/sql-reference/Data-Types/STRING.md @@ -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个字节。 --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org