[ 
https://issues.apache.org/jira/browse/HIVE-13351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15272149#comment-15272149
 ] 

Lefty Leverenz commented on HIVE-13351:
---------------------------------------

Doc note:  This will need to be documented in the wiki for release 2.1.0.

* [Language Manual -- DDL -- Alter Table | 
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-AlterTable]

Added a TODOC2.1 label.

> 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)

Reply via email to