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)