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:50:58 UTC
[jira] [Commented] (HIVE-2290) Improve error messages for DESCRIBE
command
[ 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