You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "HeLifu (JIRA)" <ji...@apache.org> on 2019/04/26 02:59:00 UTC

[jira] [Created] (KUDU-2803) support non-primary key type alteration

HeLifu created KUDU-2803:
----------------------------

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


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.

Currently, here are two ways to get rid of this problem:
 # for the newly tables: predefine a big type for every column;
 # for the existing tables: stop app(write) -> add a new column with new type -> copy data -> drop old column -> rename new column to old column -> start app;

However, neither of them is elegant. So, is it possible to support non-primary key type alteration?

 



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