You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/01/09 11:29:26 UTC
[jira] [Commented] (HIVE-3282) Convert runtime exceptions to
semantic exceptions for missing partitions/tables in show/describe
statements
[ https://issues.apache.org/jira/browse/HIVE-3282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13548153#comment-13548153 ]
Hudson commented on HIVE-3282:
------------------------------
Integrated in Hive-trunk-hadoop2 #54 (See [https://builds.apache.org/job/Hive-trunk-hadoop2/54/])
HIVE-3282 Convert runtime exceptions to semantic exceptions for missing partitions/tables
in show/describe statements (Sambavi Muthukrishnan via namit) (Revision 1368352)
Result = ABORTED
namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1368352
Files :
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java
* /hive/trunk/ql/src/test/queries/clientnegative/desc_failure1.q
* /hive/trunk/ql/src/test/queries/clientnegative/desc_failure2.q
* /hive/trunk/ql/src/test/queries/clientnegative/show_partitions1.q
* /hive/trunk/ql/src/test/queries/clientnegative/show_tableproperties1.q
* /hive/trunk/ql/src/test/queries/clientpositive/desc_non_existent_tbl.q
* /hive/trunk/ql/src/test/queries/clientpositive/inputddl6.q
* /hive/trunk/ql/src/test/queries/clientpositive/show_tblproperties.q
* /hive/trunk/ql/src/test/results/clientnegative/desc_failure1.q.out
* /hive/trunk/ql/src/test/results/clientnegative/desc_failure2.q.out
* /hive/trunk/ql/src/test/results/clientnegative/show_partitions1.q.out
* /hive/trunk/ql/src/test/results/clientnegative/show_tableproperties1.q.out
* /hive/trunk/ql/src/test/results/clientnegative/show_tables_bad_db1.q.out
* /hive/trunk/ql/src/test/results/clientnegative/show_tables_bad_db2.q.out
* /hive/trunk/ql/src/test/results/clientnegative/show_tablestatus.q.out
* /hive/trunk/ql/src/test/results/clientnegative/show_tablestatus_not_existing_part.q.out
* /hive/trunk/ql/src/test/results/clientpositive/desc_non_existent_tbl.q.out
* /hive/trunk/ql/src/test/results/clientpositive/inputddl6.q.out
* /hive/trunk/ql/src/test/results/clientpositive/show_tblproperties.q.out
> 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.10.0
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira