[
https://issues.apache.org/jira/browse/HIVE-13351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15275387#comment-15275387
]
Hari Sankar Sivarama Subramaniyan commented on HIVE-13351:
----------------------------------------------------------
[~sushanth] HIVE-13700 is the jira, I have uploaded a patch there, can you
please review it.
Thanks
Hari
> Support drop Primary Key/Foreign Key constraints
> ------------------------------------------------
>
> Key: HIVE-13351
> URL: https://issues.apache.org/jira/browse/HIVE-13351
> Project: Hive
> Issue Type: Sub-task
> Components: CBO, Logical Optimizer
> Reporter: Hari Sankar Sivarama Subramaniyan
> Assignee: Hari Sankar Sivarama Subramaniyan
> Labels: TODOC2.1
> Fix For: 2.1.0
>
> Attachments: HIVE-13351.1.patch, HIVE-13351.2.patch
>
>
> ALTER TABLE TABLENAME DROP CONSTRAINT CONSTRAINTNAME;
> The CONSTRAINTNAME has to be associated with the mentioned table, i.e. there
> should be atleast 1 table column of TABLENAME participating in the constraint.
> Otherwise, we should throw an error.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)