You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/10/11 06:46:08 UTC

[GitHub] [doris] morningman commented on a diff in pull request #13280: [typo](docs)Modification instructions and examples for adding schema change key columns

morningman commented on code in PR #13280:
URL: https://github.com/apache/doris/pull/13280#discussion_r991874787


##########
docs/zh-CN/docs/advanced/alter-table/schema-change.md:
##########
@@ -181,6 +181,42 @@ ADD COLUMN k5 INT default "1" to rollup2;
 
 同时,不允许向 Rollup 中加入 Base 表已经存在的列。如果用户需要这样做,可以重新建立一个包含新增列的 Rollup,之后再删除原 Rollup。
 
+### 修改 Key 列
+
+修改表的 Key 列是通过 `key` 关键字完成,下面我们通过一个例子来看。

Review Comment:
   这个用法只针对 duplicate key 表的key列,即排序列的修改。其他data model 的表不需要这个写法。



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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