[
https://issues.apache.org/jira/browse/HIVE-3282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13427095#comment-13427095
]
Namit Jain commented on HIVE-3282:
----------------------------------
+1
> Convert runtime exceptions to semantic exceptions for missing
> partitions/tables in show/describe statements
> -----------------------------------------------------------------------------------------------------------
>
> Key: HIVE-3282
> URL: https://issues.apache.org/jira/browse/HIVE-3282
> Project: Hive
> Issue Type: Bug
> Components: Query Processor
> Affects Versions: 0.9.0
> Reporter: Sambavi Muthukrishnan
> Assignee: Sambavi Muthukrishnan
> Priority: Minor
> Fix For: 0.9.1
>
> Attachments: HIVE-3282.1.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> 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
--
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