You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Carl Steinbach (JIRA)" <ji...@apache.org> on 2011/07/18 23:48:57 UTC

[jira] [Created] (HIVE-2290) Improve error messages for DESCRIBE command

Improve error messages for DESCRIBE command
-------------------------------------------

                 Key: HIVE-2290
                 URL: https://issues.apache.org/jira/browse/HIVE-2290
             Project: Hive
          Issue Type: Improvement
          Components: Diagnosability, SQL
            Reporter: Carl Steinbach




--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (HIVE-2290) Improve error messages for DESCRIBE command

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

Ashutosh Chauhan resolved HIVE-2290.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.9.0

Fixed as part of HIVE-11 which results in a better error message.
                
> Improve error messages for DESCRIBE command
> -------------------------------------------
>
>                 Key: HIVE-2290
>                 URL: https://issues.apache.org/jira/browse/HIVE-2290
>             Project: Hive
>          Issue Type: Improvement
>          Components: Diagnosability, SQL
>            Reporter: Carl Steinbach
>             Fix For: 0.9.0
>
>


--
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-2290) Improve error messages for DESCRIBE command

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

Carl Steinbach commented on HIVE-2290:
--------------------------------------

Hive's DESCRIBE command uses non-standard syntax (see HIVE-1977) which results in a lot of errors for users. Unfortunately, the current error message does not provide any help:

{noformat}
hive> CREATE DATABASE d1;
OK
hive> CREATE TABLE d1.t(x INT);
OK
hive> DESCRIBE d1.t;
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
hive> 
{noformat}

The error message should instead say something like "Table 'd1' does not exist".

> Improve error messages for DESCRIBE command
> -------------------------------------------
>
>                 Key: HIVE-2290
>                 URL: https://issues.apache.org/jira/browse/HIVE-2290
>             Project: Hive
>          Issue Type: Improvement
>          Components: Diagnosability, SQL
>            Reporter: Carl Steinbach
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira