This is an automated email from the ASF dual-hosted git repository.

yiguolei 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 e6991519d1c [fix](doc) update default compression description (#4142)
e6991519d1c is described below

commit e6991519d1cf4323a2d1490aa44c89685e520f43
Author: Roan He <[email protected]>
AuthorDate: Wed Sep 16 15:06:31 2026 +0800

    [fix](doc) update default compression description (#4142)
    
    ## Summary
    
    - Update the current and 4.x English and Chinese CREATE TABLE
    documentation for the compression table property.
    - Document that ZSTD is the default from Doris 4.0.3, while LZ4F was the
    default before 4.0.3.
    
    ## Validation
    
    - git diff --check
    - Dependency-free content assertions
---
 docs/sql-manual/sql-statements/table-and-view/table/CREATE-TABLE.md     | 2 +-
 .../sql-manual/sql-statements/table-and-view/table/CREATE-TABLE.md      | 2 +-
 .../sql-manual/sql-statements/table-and-view/table/CREATE-TABLE.md      | 2 +-
 .../sql-manual/sql-statements/table-and-view/table/CREATE-TABLE.md      | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/docs/sql-manual/sql-statements/table-and-view/table/CREATE-TABLE.md 
b/docs/sql-manual/sql-statements/table-and-view/table/CREATE-TABLE.md
index b205274381d..5d467da3fae 100644
--- a/docs/sql-manual/sql-statements/table-and-view/table/CREATE-TABLE.md
+++ b/docs/sql-manual/sql-statements/table-and-view/table/CREATE-TABLE.md
@@ -355,7 +355,7 @@ The functionality of creating synchronized materialized 
views with rollup is lim
 | storage_cooldown_time | Sets the expiration time for the initial storage 
medium of the table data. After this time, it will automatically downgrade to 
the first-level storage medium. |
 | colocate_with | When the Colocation Join feature is needed, use this 
parameter to set the Colocation Group. |
 | bloom_filter_columns | A list of column names specified by the user that 
require the addition of a Bloom Filter index. Each column's Bloom Filter index 
is independent and not a composite index. For example: `"bloom_filter_columns" 
= "k1, k2, k3"` |
-| compression | The default compression method for Doris tables is LZ4. After 
version 1.1, support for specifying ZSTD as the compression method is available 
for higher compression ratios. |
+| compression | Starting from version 4.0.3, the default compression method 
for Doris tables is ZSTD. Before version 4.0.3, the default compression method 
was LZ4F. |
 | function_column.sequence_col | When using the Unique Key model, you can 
specify a Sequence column. When Key columns are the same, REPLACE will be 
performed according to the Sequence column (the larger value replaces the 
smaller value; otherwise, it cannot be replaced). 
`function_column.sequence_col` is used to map the sequence column to a specific 
column in the table, which can be of integer or date/time types (`DATE`, 
`DATETIME`, `TIMESTAMP_NS`). The type of this column cannot be chan [...]
 | function_column.sequence_type | When using the Unique Key model, you can 
specify a Sequence column. When Key columns are the same, REPLACE will be 
performed according to the Sequence column (the larger value replaces the 
smaller value; otherwise, it cannot be replaced). Here, you only need to 
specify the type of the sequence column, which supports date/time types 
(`DATE`, `DATETIME`, `TIMESTAMP_NS`) or integers. Doris will create a hidden 
sequence column. |
 | enable_unique_key_merge_on_write | Whether the Unique table uses the 
Merge-on-Write implementation. This property was default disabled before 
version 2.1 and default enabled from version 2.1 onwards. |
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/table-and-view/table/CREATE-TABLE.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/table-and-view/table/CREATE-TABLE.md
index 16adb864e65..6b2c0d5f6ca 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/table-and-view/table/CREATE-TABLE.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/table-and-view/table/CREATE-TABLE.md
@@ -356,7 +356,7 @@ rollup 可以创建的同步物化视图功能有限。已不再推荐使用。
 | storage_cooldown_time                         | 
设定表数据的初始存储介质的到期时间。超过此时间后,会自动降级到第一级别的存储介质上。 |
 | colocate_with                                 | 当需要使用 Colocation Join 
功能时,使用这个参数设置 Colocation Group。 |
 | bloom_filter_columns                          | 用户指定需要添加 Bloom Filter 
索引的列名称列表。各个列的 Bloom Filter 索引是独立的,并不是组合索引。列如:`"bloom_filter_columns" = "k1, k2, 
k3"` |
-| compression                                   | Doris 表的默认压缩方式是 LZ4。1.1 
版本后,支持将压缩方式指定为 ZSTD 以获得更高的压缩比。 |
+| compression                                   | 自 4.0.3 版本起,Doris 表的默认压缩方式为 
ZSTD。在 4.0.3 版本之前,默认压缩方式为 LZ4F。 |
 | function_column.sequence_col                  | 当使用 Unique Key 模型时,可以指定一个 
Sequence 列,当 Key 列相同时,将按照 Sequence 列进行 REPLACE(较大值替换较小值,否则无法替换) 
。`function_column.sequence_col`用来指定 sequence 
列到表中某一列的映射,该列可以为整型和时间类型(`DATE`、`DATETIME`、`TIMESTAMP_NS`),创建后不能更改该列的类型。如果设置了`function_column.sequence_col`,
 `function_column.sequence_type`将被忽略。 |
 | function_column.sequence_type                 | 当使用 Unique Key 模型时,可以指定一个 
Sequence 列,当 Key 列相同时,将按照 Sequence 列进行 REPLACE(较大值替换较小值,否则无法替换) 
这里我们仅需指定顺序列的类型,支持时间类型(`DATE`、`DATETIME`、`TIMESTAMP_NS`)或整型。Doris 会创建一个隐藏的顺序列。 |
 | enable_unique_key_merge_on_write              | Unique 表是否使用 Merge-on-Write 
实现。该属性在 2.1 版本之前默认关闭,从 2.1 版本开始默认开启。 |
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-statements/table-and-view/table/CREATE-TABLE.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-statements/table-and-view/table/CREATE-TABLE.md
index ecfa5b796e4..bbf0d92109d 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-statements/table-and-view/table/CREATE-TABLE.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-statements/table-and-view/table/CREATE-TABLE.md
@@ -355,7 +355,7 @@ rollup 可以创建的同步物化视图功能有限。已不再推荐使用。
 | storage_cooldown_time                         | 
设定表数据的初始存储介质的到期时间。超过此时间后,会自动降级到第一级别的存储介质上。 |
 | colocate_with                                 | 当需要使用 Colocation Join 
功能时,使用这个参数设置 Colocation Group。 |
 | bloom_filter_columns                          | 用户指定需要添加 Bloom Filter 
索引的列名称列表。各个列的 Bloom Filter 索引是独立的,并不是组合索引。列如:`"bloom_filter_columns" = "k1, k2, 
k3"` |
-| compression                                   | Doris 表的默认压缩方式是 LZ4。1.1 
版本后,支持将压缩方式指定为 ZSTD 以获得更高的压缩比。 |
+| compression                                   | 自 4.0.3 版本起,Doris 表的默认压缩方式为 
ZSTD。在 4.0.3 版本之前,默认压缩方式为 LZ4F。 |
 | function_column.sequence_col                  | 当使用 Unique Key 模型时,可以指定一个 
Sequence 列,当 Key 列相同时,将按照 Sequence 列进行 REPLACE(较大值替换较小值,否则无法替换) 
。`function_column.sequence_col`用来指定 sequence 
列到表中某一列的映射,该列可以为整型和时间类型(DATE、DATETIME),创建后不能更改该列的类型。如果设置了`function_column.sequence_col`,
 `function_column.sequence_type`将被忽略。 |
 | function_column.sequence_type                 | 当使用 Unique Key 模型时,可以指定一个 
Sequence 列,当 Key 列相同时,将按照 Sequence 列进行 REPLACE(较大值替换较小值,否则无法替换) 
这里我们仅需指定顺序列的类型,支持时间类型或整型。Doris 会创建一个隐藏的顺序列。 |
 | enable_unique_key_merge_on_write              | Unique 表是否使用 Merge-on-Write 
实现。该属性在 2.1 版本之前默认关闭,从 2.1 版本开始默认开启。 |
diff --git 
a/versioned_docs/version-4.x/sql-manual/sql-statements/table-and-view/table/CREATE-TABLE.md
 
b/versioned_docs/version-4.x/sql-manual/sql-statements/table-and-view/table/CREATE-TABLE.md
index 03921178432..32c31b86236 100644
--- 
a/versioned_docs/version-4.x/sql-manual/sql-statements/table-and-view/table/CREATE-TABLE.md
+++ 
b/versioned_docs/version-4.x/sql-manual/sql-statements/table-and-view/table/CREATE-TABLE.md
@@ -354,7 +354,7 @@ The functionality of creating synchronized materialized 
views with rollup is lim
 | storage_cooldown_time | Sets the expiration time for the initial storage 
medium of the table data. After this time, it will automatically downgrade to 
the first-level storage medium. |
 | colocate_with | When the Colocation Join feature is needed, use this 
parameter to set the Colocation Group. |
 | bloom_filter_columns | A list of column names specified by the user that 
require the addition of a Bloom Filter index. Each column's Bloom Filter index 
is independent and not a composite index. For example: `"bloom_filter_columns" 
= "k1, k2, k3"` |
-| compression | The default compression method for Doris tables is LZ4. After 
version 1.1, support for specifying ZSTD as the compression method is available 
for higher compression ratios. |
+| compression | Starting from version 4.0.3, the default compression method 
for Doris tables is ZSTD. Before version 4.0.3, the default compression method 
was LZ4F. |
 | function_column.sequence_col | When using the Unique Key model, you can 
specify a Sequence column. When Key columns are the same, REPLACE will be 
performed according to the Sequence column (the larger value replaces the 
smaller value; otherwise, it cannot be replaced). 
`function_column.sequence_col` is used to map the sequence column to a specific 
column in the table, which can be of integer or date/time types (DATE, 
DATETIME). The type of this column cannot be changed after creation.  [...]
 | function_column.sequence_type | When using the Unique Key model, you can 
specify a Sequence column. When Key columns are the same, REPLACE will be 
performed according to the Sequence column (the larger value replaces the 
smaller value; otherwise, it cannot be replaced). Here, you only need to 
specify the type of the sequence column, which supports date/time types or 
integers. Doris will create a hidden sequence column. |
 | enable_unique_key_merge_on_write | Whether the Unique table uses the 
Merge-on-Write implementation. This property was default disabled before 
version 2.1 and default enabled from version 2.1 onwards. |


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to