This is an automated email from the ASF dual-hosted git repository.
morningman 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 d85fc65c378 fix(docs): STRING default soft limit 1MB -> 10MB (#4335)
d85fc65c378 is described below
commit d85fc65c3780c167bea172a1f88bc831fc0190b9
Author: ruoyue1024 <[email protected]>
AuthorDate: Sat Oct 17 04:38:48 2026 +0800
fix(docs): STRING default soft limit 1MB -> 10MB (#4335)
## Summary
Correct the STRING default soft length limit to 10485760 bytes (10 MiB)
in development and 4.x, English and Chinese. Clarify the BE setting and
remove a duplicated Chinese sentence.
## Source verification
`string_type_length_soft_limit_bytes` is 10485760 on Apache Doris master
and branch-4.0/4.1/4.2. The original draft left versioned docs
unchanged, but 4.x has the same default and requires the correction.
## Validation
All four pages compile using the Docusaurus preprocessing/compiler path.
`git diff --check` passes. No source build, cluster execution or full
website build was run.
## Versions / languages
- dev and 4.x
- English and Chinese
Closes #4190.
---------
Co-authored-by: ruoyue1024 <[email protected]>
Co-authored-by: morningman <[email protected]>
---
docs/sql-manual/basic-element/sql-data-types/string-type/STRING.md | 4 ++--
.../sql-manual/basic-element/sql-data-types/string-type/STRING.md | 3 +--
.../sql-manual/basic-element/sql-data-types/string-type/STRING.md | 3 +--
.../sql-manual/basic-element/sql-data-types/string-type/STRING.md | 4 ++--
4 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/docs/sql-manual/basic-element/sql-data-types/string-type/STRING.md
b/docs/sql-manual/basic-element/sql-data-types/string-type/STRING.md
index 0cad8b8c7a5..5e6e0398b2f 100644
--- a/docs/sql-manual/basic-element/sql-data-types/string-type/STRING.md
+++ b/docs/sql-manual/basic-element/sql-data-types/string-type/STRING.md
@@ -2,13 +2,13 @@
{
"title": "STRING",
"language": "en",
- "description": "A variable length string. Default support is 1048576 bytes
(1M), adjustable up to 2147483643 bytes (2G),"
+ "description": "A variable length string. Default support is 10485760
bytes (10 MiB), adjustable up to 2147483643 bytes (2G),"
}
---
## STRING
### Description
-A variable length string. Default support is 1048576 bytes (1M), adjustable up
to 2147483643 bytes (2G),and the length of the String type is also limited by
the configuration string_type_length_soft_limit_bytes(a soft limit of string
type length) of be. 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 with a default soft length limit of 10485760 bytes
(10 MiB). Configure `string_type_length_soft_limit_bytes` on the BE to increase
this limit, up to 2147483643 bytes (approximately 2 GiB). STRING can only be
used in value columns, not in key, partition, or 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/basic-element/sql-data-types/string-type/STRING.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/basic-element/sql-data-types/string-type/STRING.md
index 90e9560a3c9..68027417971 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/basic-element/sql-data-types/string-type/STRING.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/basic-element/sql-data-types/string-type/STRING.md
@@ -11,8 +11,7 @@
STRING
-变长字符串,默认支持 1048576 字节(1MB),可调大到 2147483643 字节(2G),可通过 be 配置
`string_type_length_soft_limit_bytes`调整。String 类型只能用在 value 列,不能用在 key 列和分区 分桶列
- String 类型只能用在 value 列,不能用在 key 列和分区分桶列。
+变长字符串,默认支持 10485760 字节(10 MiB),可调大到 2147483643 字节(2G),可通过 be 配置
`string_type_length_soft_limit_bytes`调整。STRING 类型只能用在 value 列,不能用在 key 列和分区、分桶列。
注意:变长字符串是以 UTF-8 编码存储的,因此通常英文字符占 1 个字节,中文字符占 3 个字节。
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/basic-element/sql-data-types/string-type/STRING.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/basic-element/sql-data-types/string-type/STRING.md
index 90e9560a3c9..68027417971 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/basic-element/sql-data-types/string-type/STRING.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/basic-element/sql-data-types/string-type/STRING.md
@@ -11,8 +11,7 @@
STRING
-变长字符串,默认支持 1048576 字节(1MB),可调大到 2147483643 字节(2G),可通过 be 配置
`string_type_length_soft_limit_bytes`调整。String 类型只能用在 value 列,不能用在 key 列和分区 分桶列
- String 类型只能用在 value 列,不能用在 key 列和分区分桶列。
+变长字符串,默认支持 10485760 字节(10 MiB),可调大到 2147483643 字节(2G),可通过 be 配置
`string_type_length_soft_limit_bytes`调整。STRING 类型只能用在 value 列,不能用在 key 列和分区、分桶列。
注意:变长字符串是以 UTF-8 编码存储的,因此通常英文字符占 1 个字节,中文字符占 3 个字节。
diff --git
a/versioned_docs/version-4.x/sql-manual/basic-element/sql-data-types/string-type/STRING.md
b/versioned_docs/version-4.x/sql-manual/basic-element/sql-data-types/string-type/STRING.md
index 0cad8b8c7a5..5e6e0398b2f 100644
---
a/versioned_docs/version-4.x/sql-manual/basic-element/sql-data-types/string-type/STRING.md
+++
b/versioned_docs/version-4.x/sql-manual/basic-element/sql-data-types/string-type/STRING.md
@@ -2,13 +2,13 @@
{
"title": "STRING",
"language": "en",
- "description": "A variable length string. Default support is 1048576 bytes
(1M), adjustable up to 2147483643 bytes (2G),"
+ "description": "A variable length string. Default support is 10485760
bytes (10 MiB), adjustable up to 2147483643 bytes (2G),"
}
---
## STRING
### Description
-A variable length string. Default support is 1048576 bytes (1M), adjustable up
to 2147483643 bytes (2G),and the length of the String type is also limited by
the configuration string_type_length_soft_limit_bytes(a soft limit of string
type length) of be. 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 with a default soft length limit of 10485760 bytes
(10 MiB). Configure `string_type_length_soft_limit_bytes` on the BE to increase
this limit, up to 2147483643 bytes (approximately 2 GiB). STRING can only be
used in value columns, not in key, partition, or 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.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]