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:40:27 UTC

[GitHub] [doris] hf200012 opened a new pull request, #13280: [typo](docs)Modification instructions and examples for adding schema change key columns

hf200012 opened a new pull request, #13280:
URL: https://github.com/apache/doris/pull/13280

   
   
   Modification instructions and examples for adding schema change key columns
   
   # Proposed changes
   
   Issue Number: close #xxx
   
   ## Problem summary
   
   Describe your changes.
   
   ## Checklist(Required)
   
   1. Does it affect the original behavior: 
       - [ ] Yes
       - [ ] No
       - [ ] I don't know
   2. Has unit tests been added:
       - [ ] Yes
       - [ ] No
       - [ ] No Need
   3. Has document been added or modified:
       - [ ] Yes
       - [ ] No
       - [ ] No Need
   4. Does it need to update dependencies:
       - [ ] Yes
       - [ ] No
   5. Are there any changes that cannot be rolled back:
       - [ ] Yes (If Yes, please explain WHY)
       - [ ] No
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at [dev@doris.apache.org](mailto:dev@doris.apache.org) by explaining why you chose the solution you did and what alternatives you considered, etc...
   
   


-- 
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


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

Posted by GitBox <gi...@apache.org>.
chenlinzhong commented on PR #13280:
URL: https://github.com/apache/doris/pull/13280#issuecomment-1274163179

   I suggest adding the command "show alter table column" , so that user can view the progress
   


-- 
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


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

Posted by GitBox <gi...@apache.org>.
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


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

Posted by GitBox <gi...@apache.org>.
hf200012 commented on PR #13280:
URL: https://github.com/apache/doris/pull/13280#issuecomment-1274225482

   > I suggest adding the command "show alter table column" , so that user can view the progress
   
   ok


-- 
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


[GitHub] [doris] yiguolei merged pull request #13280: [typo](docs)Modification instructions and examples for adding schema change key columns

Posted by GitBox <gi...@apache.org>.
yiguolei merged PR #13280:
URL: https://github.com/apache/doris/pull/13280


-- 
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


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

Posted by GitBox <gi...@apache.org>.
hf200012 commented on code in PR #13280:
URL: https://github.com/apache/doris/pull/13280#discussion_r991884646


##########
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:
   solve



-- 
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