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

Zhihua Deng updated HIVE-29034:
-------------------------------
    Fix Version/s: 4.1.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

Merged to master.

Thank you for the review, [~dkuzmenko]  and [~okumin]!

> ALTER 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
>          Components: Standalone Metastore
>            Reporter: Zhihua Deng
>            Assignee: Zhihua Deng
>            Priority: Major
>              Labels: hive-4.1.0-must
>             Fix For: 4.1.0
>
>
> 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