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

Timothy Driscoll commented on HIVE-9086:
----------------------------------------

[~leftylev] As I read the documentation, I'd expect that this would work:
{code}
ALTER TABLE <table> DROP PURGE PARTITION (partition=blah);
{code}

The patch as implemented looks like the syntax would be:
{code}
ALTER TABLE <table> DROP PARTITION (<part>=<val>) PURGE;
{code}

I'm not sure if we want the patch to match to documentation or vice versa, but 
seems like they do not match.


> Add language support to PURGE data while dropping partitions.
> -------------------------------------------------------------
>
>                 Key: HIVE-9086
>                 URL: https://issues.apache.org/jira/browse/HIVE-9086
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 0.15.0
>            Reporter: Mithun Radhakrishnan
>            Assignee: Mithun Radhakrishnan
>         Attachments: HIVE-9086.1.patch
>
>
> HIVE-9083 adds metastore-support to skip-trash while dropping partitions. 
> This patch includes language support to do the same.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to