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

Kevin Wilfong commented on HIVE-3203:
-------------------------------------

Updated the patch, I had removed adding the table as an input.
                
> Drop partition throws NPE if table doesn't exist
> ------------------------------------------------
>
>                 Key: HIVE-3203
>                 URL: https://issues.apache.org/jira/browse/HIVE-3203
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.10.0
>            Reporter: Kevin Wilfong
>            Assignee: Kevin Wilfong
>            Priority: Minor
>             Fix For: 0.10.0
>
>         Attachments: HIVE-3203.1.patch.txt, HIVE-3203.2.patch.txt, 
> HIVE-3203.3.patch.txt, HIVE-3203.4.patch.txt
>
>
> ALTER TABLE t1 DROP PARTITION (part = '1');
> This throws an NPE if t1 doesn't exist.  A SemanticException would be cleaner.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to