Zhihua Deng created HIVE-29034:
----------------------------------

             Summary: ALTER TABLE PARTITION CHANGE COLUMN fails with Oracle 
backed Hive Metastore
                 Key: HIVE-29034
                 URL: https://issues.apache.org/jira/browse/HIVE-29034
             Project: Hive
          Issue Type: Bug
            Reporter: Zhihua Deng
            Assignee: Zhihua Deng


create external table altercolumn(a int, value int) partitioned by(c string);
alter table altercolumn add partition(c='a');
alter table altercolumn add partition(c='b');
alter table altercolumn partition(c='a') CHANGE COLUMN value value string;

The issue is due to deleting from CDS where SDS still has {{CD_ID}} foreign key 
pointing to CDS, which validates the integrity constraint (SDS_FK2).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to