You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Alexis Deltour (JIRA)" <ji...@apache.org> on 2013/11/06 14:35:18 UTC

[jira] [Created] (HIVE-5754) NullPointerException when alter partition table and table does not exist

Alexis Deltour created HIVE-5754:
------------------------------------

             Summary: NullPointerException when alter partition table and table does not exist
                 Key: HIVE-5754
                 URL: https://issues.apache.org/jira/browse/HIVE-5754
             Project: Hive
          Issue Type: Bug
    Affects Versions: 0.10.0
            Reporter: Alexis Deltour


I have a problem with my oozie hive action which clean my hive table, and when my table doesn't exist and i alter partition table, i obtain different messages with 2 versions of hive :

Sur CDH3 hive 0.7.1 :
hive> ALTER TABLE mytable DROP IF EXISTS PARTITION (mypart='10');
FAILED: Error in semantic analysis: Table not found mytable  
--> Oozie action OK.

Sur CDH4 hive 0.10.0 :
hive> ALTER TABLE mytable DROP IF EXISTS PARTITION (mypart='10');
FAILED: NullPointerException null  
--> Oozie action in error.




--
This message was sent by Atlassian JIRA
(v6.1#6144)