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 686aa4d33f9  Fix Data type: string length and parameter description
686aa4d33f9 is described below

commit 686aa4d33f9fd3ff492723daa63e9feec0298723
Author: jiafeng.zhang <zhang...@gmail.com>
AuthorDate: Tue Aug 9 14:31:52 2022 +0800

     Fix Data type: string length and parameter description
    
     Fix Data type: string length and parameter description
---
 docs/sql-manual/sql-reference/Data-Types/STRING.md                     | 3 ++-
 .../current/sql-manual/sql-reference/Data-Types/STRING.md              | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/docs/sql-manual/sql-reference/Data-Types/STRING.md 
b/docs/sql-manual/sql-reference/Data-Types/STRING.md
index c25895c98a1..2278b16e549 100644
--- a/docs/sql-manual/sql-reference/Data-Types/STRING.md
+++ b/docs/sql-manual/sql-reference/Data-Types/STRING.md
@@ -27,7 +27,8 @@ 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/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-reference/Data-Types/STRING.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-reference/Data-Types/STRING.md
index 1bdf4c64e25..5048077b09b 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-reference/Data-Types/STRING.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-reference/Data-Types/STRING.md
@@ -27,7 +27,8 @@ 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

Reply via email to