[ 
https://issues.apache.org/jira/browse/KUDU-2132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Will Berkeley resolved KUDU-2132.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 1.6.0

Fixed in 5ca7deae7483d9e6427d795b806680ec3c08a73c

> False error dropping a column if it's renamed to the old name of a primary 
> key column in the same alter as the primary key is renamed
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KUDU-2132
>                 URL: https://issues.apache.org/jira/browse/KUDU-2132
>             Project: Kudu
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 1.5.0
>            Reporter: Adar Dembo
>            Assignee: Will Berkeley
>             Fix For: 1.6.0
>
>         Attachments: alter_table-randomized-test.txt
>
>
> We ran into the following situation in the attached randomized alter test log:
> Two columns 'a' and 'b', 'a' is a primary key column. In the same alter table 
> request,
> 1. Rename 'a' to 'c'
> 2. Rename 'b' to 'a'
> 3. Drop 'a'
> In step 3, 'a' is not a primary key column and can be dropped; however, we 
> err and reject the alter saying a primary key column cannot be dropped.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to