This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch dev-1.0.1 in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
commit a22d5fe864907d5b14aaffd063c2b1ab672517a5 Author: emerkfu <59500675+emer...@users.noreply.github.com> AuthorDate: Tue Mar 29 18:20:30 2022 +0800 [doc] Update VARCHAR.md (#8703) * Update VARCHAR.md --- docs/en/sql-reference/sql-statements/Data Types/VARCHAR.md | 2 +- docs/zh-CN/sql-reference/sql-statements/Data Types/VARCHAR.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/sql-reference/sql-statements/Data Types/VARCHAR.md b/docs/en/sql-reference/sql-statements/Data Types/VARCHAR.md index 3d55680..4a5dbd6 100644 --- a/docs/en/sql-reference/sql-statements/Data Types/VARCHAR.md +++ b/docs/en/sql-reference/sql-statements/Data Types/VARCHAR.md @@ -27,7 +27,7 @@ under the License. # VARCHAR ## Description VARCHAR(M) -A variable length string, M represents the length of a variable length string. The range of M is 1-65533. +A variable length string, M represents the byte length of a variable length string. The range of M is 1-65533. 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/sql-reference/sql-statements/Data Types/VARCHAR.md b/docs/zh-CN/sql-reference/sql-statements/Data Types/VARCHAR.md index 178b56f..5782c03 100644 --- a/docs/zh-CN/sql-reference/sql-statements/Data Types/VARCHAR.md +++ b/docs/zh-CN/sql-reference/sql-statements/Data Types/VARCHAR.md @@ -27,7 +27,7 @@ under the License. # VARCHAR ## description VARCHAR(M) - 变长字符串,M代表的是变长字符串的长度。M的范围是1-65533。 + 变长字符串,M代表的是变长字符串的字节长度。M的范围是1-65533。 注意:变长字符串是以UTF-8编码存储的,因此通常英文字符占1个字节,中文字符占3个字节。 --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org