[ 
https://issues.apache.org/jira/browse/KUDU-2803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16826986#comment-16826986
 ] 

Grant Henke commented on KUDU-2803:
-----------------------------------

Do you envision only supporting widening types? Is there another database that 
you think supports type alteration well to use as reference?

> support non-primary key type alteration
> ---------------------------------------
>
>                 Key: KUDU-2803
>                 URL: https://issues.apache.org/jira/browse/KUDU-2803
>             Project: Kudu
>          Issue Type: Improvement
>            Reporter: HeLifu
>            Priority: Major
>
> We know that kudu does not allow the type of a column to be altered right 
> now. But indeed, a very common case is RDMS -> kudu, and there will be type 
> alterations inevitably, especially for small to large types.
> Currently, here are two ways to get rid of this problem:
>  # for the new tables: predefine a large type for every column;
>  # for the existing tables: stop app(write) > add a new column with large 
> type > copy data -> drop old column -> rename new column to old column -> 
> start app;
> However, neither of them is elegant. So, i think it is necessary to support 
> non-primary key type alteration.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to