[ https://issues.apache.org/jira/browse/HIVE-18853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vineet Garg updated HIVE-18853: ------------------------------- Fix Version/s: (was: 3.0.0) 3.1.0 Deferring this to 3.1.0 since the branch for 3.0.0 has been cut off. Please update the JIRA if you would like to get your patch in 3.0.0. > Alter table change column shouldn't let define same constraint on a column > with existing constraint > --------------------------------------------------------------------------------------------------- > > Key: HIVE-18853 > URL: https://issues.apache.org/jira/browse/HIVE-18853 > Project: Hive > Issue Type: Bug > Reporter: Vineet Garg > Assignee: Vineet Garg > Priority: Major > Fix For: 3.1.0 > > > {code:sql} > create table ttest(i int constraint nn1 not null enable); > alter table ttest change i i int constraint nn2 not null enable); > {code} > The above statements will end up creating multiple not null constraints on > column i/j. > {code:sql} > desc formatted ttest; > # Not Null Constraints > Table: constraints.ttest > Constraint Name: nn1 > Column Name: i > Constraint Name: nn2 > Column Name: i > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)