Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.9.0
-
None
-
Reviewed
Description
The SHOW PARTITIONS command in Hive does not check for valid table and partition names during query compilation. Calling this command with non-existent table causes a run-time exception.
The DESC command also does not check for this in semantic analysis.
hive> desc xxxyyy;
OK
Table xxxyyy does not exist
Time taken: 1.403 seconds
hive> show partitions xxxyyy;
Table xxxyyy does not exist
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
Attachments
Attachments
Issue Links
- is related to
-
HIVE-3991 junit failure on Semantic Analysis
- Resolved