You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by zc...@apache.org on 2026/02/15 09:07:56 UTC

(doris-website) branch master updated: Add version hint and link to overview docs for ALTER TABLE DISTRIBUTION (#3391)

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

zclll 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 d93d1923d72 Add version hint and link to overview docs for ALTER TABLE DISTRIBUTION (#3391)
d93d1923d72 is described below

commit d93d1923d72a32956987c5ea985e71872e165081
Author: zclllyybb <zh...@selectdb.com>
AuthorDate: Sun Feb 15 17:07:51 2026 +0800

    Add version hint and link to overview docs for ALTER TABLE DISTRIBUTION (#3391)
    
    ## Versions
    
    - [x] dev
    - [x] 4.x
    - [ ] 3.x
    - [ ] 2.1
    
    ## Languages
    
    - [x] Chinese
    - [x] English
    
    ## Docs Checklist
    
    - [ ] Checked by AI
    - [ ] Test Cases Built
---
 docs/table-design/overview.md                                         | 2 +-
 .../docusaurus-plugin-content-docs/current/table-design/overview.md   | 2 +-
 .../sql-statements/table-and-view/table/ALTER-TABLE-DISTRIBUTION.md   | 4 ++++
 .../version-4.x/table-design/overview.md                              | 2 +-
 .../sql-statements/table-and-view/table/ALTER-TABLE-DISTRIBUTION.md   | 4 ++++
 versioned_docs/version-4.x/table-design/overview.md                   | 2 +-
 6 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/docs/table-design/overview.md b/docs/table-design/overview.md
index fd3fa79f241..3806031e066 100644
--- a/docs/table-design/overview.md
+++ b/docs/table-design/overview.md
@@ -29,7 +29,7 @@ In Doris, the CREATE TABLE statement can specify [table properties](../sql-manua
 
 - **storage_policy**: Controls the migration strategy for cold and hot data separation storage.
 
-These properties apply to partitions, meaning that once a partition is created, it will have its own properties. Modifying table properties will only affect partitions created in the future and will not affect existing partitions. For more information about table properties, refer to [ALTER TABLE PROPERTY](../sql-manual/sql-statements/table-and-view/table/ALTER-TABLE-PROPERTY).
+These properties apply to partitions, meaning that once a partition is created, it will have its own properties. Modifying table properties will only affect partitions created in the future and will not affect existing partitions. For more information about table properties, refer to [ALTER TABLE PROPERTY](../sql-manual/sql-statements/table-and-view/table/ALTER-TABLE-PROPERTY) and [ALTER TABLE DISTRIBUTION](../sql-manual/sql-statements/table-and-view/table/ALTER-TABLE-DISTRIBUTION).
 
 ## Notes
 
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/table-design/overview.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/table-design/overview.md
index 9f5a0eb0db9..c7c289cb4bc 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/table-design/overview.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/table-design/overview.md
@@ -26,7 +26,7 @@ Doris 的建表语句中可以指定[建表属性](../sql-manual/sql-statements/
 
 - 冷热分离存储策略 (storage_policy) :控制数据的冷热分离存储的迁移策略;
 
-这些属性作用于分区,即分区创建之后,分区就会有自己的属性,修改表属性只对未来创建的分区生效,对已经创建好的分区不生效,关于属性更多的信息请参考[修改表属性](../sql-manual/sql-statements/table-and-view/table/ALTER-TABLE-PROPERTY)。[动态分区](data-partitioning/dynamic-partitioning.md) 可以单独设置这些属性。
+这些属性作用于分区,即分区创建之后,分区就会有自己的属性,修改表属性只对未来创建的分区生效,对已经创建好的分区不生效,关于属性更多的信息请参考[修改表属性](../sql-manual/sql-statements/table-and-view/table/ALTER-TABLE-PROPERTY)和[修改分桶配置](../sql-manual/sql-statements/table-and-view/table/ALTER-TABLE-DISTRIBUTION)。[动态分区](data-partitioning/dynamic-partitioning.md) 可以单独设置这些属性。
 
 ## 注意事项
 
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-statements/table-and-view/table/ALTER-TABLE-DISTRIBUTION.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-statements/table-and-view/table/ALTER-TABLE-DISTRIBUTION.md
index d3f0feaf3dc..9482f7443c7 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-statements/table-and-view/table/ALTER-TABLE-DISTRIBUTION.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-statements/table-and-view/table/ALTER-TABLE-DISTRIBUTION.md
@@ -55,6 +55,10 @@ ALTER TABLE example_db.my_table ADD PARTITION p3 VALUES LESS THAN ('30');
 -- p3 将使用 10 个分桶;已有分区不受影响
 ```
 
+:::info
+注意,切换为/切出 AUTO 分桶模式,自 Doris 4.0.4 开始支持。
+:::
+
 2. 从固定分桶数切换为 AUTO
 
 ```sql
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/table-design/overview.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/table-design/overview.md
index 9f5a0eb0db9..c7c289cb4bc 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/table-design/overview.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/table-design/overview.md
@@ -26,7 +26,7 @@ Doris 的建表语句中可以指定[建表属性](../sql-manual/sql-statements/
 
 - 冷热分离存储策略 (storage_policy) :控制数据的冷热分离存储的迁移策略;
 
-这些属性作用于分区,即分区创建之后,分区就会有自己的属性,修改表属性只对未来创建的分区生效,对已经创建好的分区不生效,关于属性更多的信息请参考[修改表属性](../sql-manual/sql-statements/table-and-view/table/ALTER-TABLE-PROPERTY)。[动态分区](data-partitioning/dynamic-partitioning.md) 可以单独设置这些属性。
+这些属性作用于分区,即分区创建之后,分区就会有自己的属性,修改表属性只对未来创建的分区生效,对已经创建好的分区不生效,关于属性更多的信息请参考[修改表属性](../sql-manual/sql-statements/table-and-view/table/ALTER-TABLE-PROPERTY)和[修改分桶配置](../sql-manual/sql-statements/table-and-view/table/ALTER-TABLE-DISTRIBUTION)。[动态分区](data-partitioning/dynamic-partitioning.md) 可以单独设置这些属性。
 
 ## 注意事项
 
diff --git a/versioned_docs/version-4.x/sql-manual/sql-statements/table-and-view/table/ALTER-TABLE-DISTRIBUTION.md b/versioned_docs/version-4.x/sql-manual/sql-statements/table-and-view/table/ALTER-TABLE-DISTRIBUTION.md
index a35def989d5..7b1bcb61c0b 100644
--- a/versioned_docs/version-4.x/sql-manual/sql-statements/table-and-view/table/ALTER-TABLE-DISTRIBUTION.md
+++ b/versioned_docs/version-4.x/sql-manual/sql-statements/table-and-view/table/ALTER-TABLE-DISTRIBUTION.md
@@ -55,6 +55,10 @@ ALTER TABLE example_db.my_table ADD PARTITION p3 VALUES LESS THAN ('30');
 -- p3 will have 10 buckets; existing partitions remain unchanged
 ```
 
+:::info
+Switching to/away from AUTO bucket mode is supported since Doris 4.0.4.
+:::
+
 2. Switch from a fixed bucket count to AUTO
 
 ```sql
diff --git a/versioned_docs/version-4.x/table-design/overview.md b/versioned_docs/version-4.x/table-design/overview.md
index fd3fa79f241..3806031e066 100644
--- a/versioned_docs/version-4.x/table-design/overview.md
+++ b/versioned_docs/version-4.x/table-design/overview.md
@@ -29,7 +29,7 @@ In Doris, the CREATE TABLE statement can specify [table properties](../sql-manua
 
 - **storage_policy**: Controls the migration strategy for cold and hot data separation storage.
 
-These properties apply to partitions, meaning that once a partition is created, it will have its own properties. Modifying table properties will only affect partitions created in the future and will not affect existing partitions. For more information about table properties, refer to [ALTER TABLE PROPERTY](../sql-manual/sql-statements/table-and-view/table/ALTER-TABLE-PROPERTY).
+These properties apply to partitions, meaning that once a partition is created, it will have its own properties. Modifying table properties will only affect partitions created in the future and will not affect existing partitions. For more information about table properties, refer to [ALTER TABLE PROPERTY](../sql-manual/sql-statements/table-and-view/table/ALTER-TABLE-PROPERTY) and [ALTER TABLE DISTRIBUTION](../sql-manual/sql-statements/table-and-view/table/ALTER-TABLE-DISTRIBUTION).
 
 ## Notes
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org