You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Sambavi Muthukrishnan (JIRA)" <ji...@apache.org> on 2012/07/20 01:07:35 UTC

[jira] [Created] (HIVE-3282) Convert runtime exceptions to semantic exceptions for missing partitions/tables in show/describe statements

Sambavi Muthukrishnan created HIVE-3282:
-------------------------------------------

             Summary: 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




--
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

        

[jira] [Updated] (HIVE-3282) Convert runtime exceptions to semantic exceptions for missing partitions/tables in show/describe statements

Posted by "Sambavi Muthukrishnan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-3282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sambavi Muthukrishnan updated HIVE-3282:
----------------------------------------

    Status: Patch Available  (was: Open)
    
> 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

        

[jira] [Updated] (HIVE-3282) Convert runtime exceptions to semantic exceptions for missing partitions/tables in show/describe statements

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-3282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Namit Jain updated HIVE-3282:
-----------------------------

      Resolution: Fixed
    Hadoop Flags: Reviewed
          Status: Resolved  (was: Patch Available)

Committed. Thanks Sambavi
                
> 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

        

[jira] [Commented] (HIVE-3282) Convert runtime exceptions to semantic exceptions for missing partitions/tables in show/describe statements

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
    [ 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

        

[jira] [Commented] (HIVE-3282) Convert runtime exceptions to semantic exceptions for missing partitions/tables in show/describe statements

Posted by "Sambavi Muthukrishnan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-3282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426348#comment-13426348 ] 

Sambavi Muthukrishnan commented on HIVE-3282:
---------------------------------------------

Code review is at https://reviews.facebook.net/D4467
                
> 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
>
>   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

        

[jira] [Updated] (HIVE-3282) Convert runtime exceptions to semantic exceptions for missing partitions/tables in show/describe statements

Posted by "Sambavi Muthukrishnan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-3282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sambavi Muthukrishnan updated HIVE-3282:
----------------------------------------

           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

    Remaining Estimate: 24h
     Original Estimate: 24h
    
> 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
>
>   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

        

[jira] [Commented] (HIVE-3282) Convert runtime exceptions to semantic exceptions for missing partitions/tables in show/describe statements

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-3282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13427305#comment-13427305 ] 

Hudson commented on HIVE-3282:
------------------------------

Integrated in Hive-trunk-h0.21 #1586 (See [https://builds.apache.org/job/Hive-trunk-h0.21/1586/])
    HIVE-3282 Convert runtime exceptions to semantic exceptions for missing partitions/tables
in show/describe statements (Sambavi Muthukrishnan via namit) (Revision 1368352)

     Result = SUCCESS
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.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

        

[jira] [Updated] (HIVE-3282) Convert runtime exceptions to semantic exceptions for missing partitions/tables in show/describe statements

Posted by "Sambavi Muthukrishnan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-3282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sambavi Muthukrishnan updated HIVE-3282:
----------------------------------------

    Attachment: HIVE-3282.1.patch
    
> 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

        

[jira] [Updated] (HIVE-3282) Convert runtime exceptions to semantic exceptions for missing partitions/tables in show/describe statements

Posted by "Carl Steinbach (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-3282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carl Steinbach updated HIVE-3282:
---------------------------------

    Fix Version/s:     (was: 0.9.1)
                   0.10.0

Correcting the fixversion field.
                
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira