This is an automated email from the ASF dual-hosted git repository. jiafengzheng pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push: new c1da226840b [doc](fix) Add string to create table column_type (#52) c1da226840b is described below commit c1da226840b829803bb12a8875fcfa8a66af914f Author: a19920714liou <562951...@qq.com> AuthorDate: Thu Aug 18 11:25:43 2022 +0800 [doc](fix) Add string to create table column_type (#52) add string to colume_type --- .../sql-reference/Data-Definition-Statements/Create/CREATE-TABLE.md | 2 ++ .../sql-reference/Data-Definition-Statements/Create/CREATE-TABLE.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-TABLE.md b/docs/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-TABLE.md index f87c3407db7..8d5c9c2513b 100644 --- a/docs/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-TABLE.md +++ b/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 HLL (1~16385 bytes) HyperLogLog column type, do not need to specify the length and default value. The length is controlled within the system according to the degree of data aggregation. Must be used with HLL_UNION aggregation type. diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-TABLE.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-TABLE.md index 812ba9f6c80..0bb5a9d2a44 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-TABLE.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/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 列和分区 分桶列 HLL (1~16385个字节) HyperLogLog 列类型,不需要指定长度和默认值。长度根据数据的聚合程度系统内控制。 必须配合 HLL_UNION 聚合类型使用。 --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org