hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lefty Leverenz (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-2949) bug with describe and reserved keyword
Date Tue, 27 Jan 2015 08:08:35 GMT

    [ https://issues.apache.org/jira/browse/HIVE-2949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14293155#comment-14293155
] 

Lefty Leverenz commented on HIVE-2949:
--------------------------------------

According to [~navis]'s comment on HIVE-6187 backticks worked for DESCRIBE in trunk on 13/Jan/2014
so that means the fix was included in Hive 0.13.0, released 21/Apr/2014.

It may have been fixed by HIVE-6013 (Supporting Quoted Identifiers in Column Names), committed
to trunk 19/Dec/2013.

> bug with describe and reserved keyword
> --------------------------------------
>
>                 Key: HIVE-2949
>                 URL: https://issues.apache.org/jira/browse/HIVE-2949
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Fabian Alenius
>            Priority: Minor
>
> Hi,
> there seems to an issue with the describe statement and using reserved keywords for tablenames.
> Specifically, describe does not seem to work on a table called 'user' even though it's
escaped in the query.
> So this works:
> show partitions `user`;
> But this does not work:
> describe `user`;
> FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message