hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ning Zhang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-974) Cluster is a reserved work in hive so things like sqoop fail
Date Tue, 08 Dec 2009 21:46:18 GMT

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

Ning Zhang commented on HIVE-974:

You can use back quote to escape Hive keywords. select `cluster` from T should work. 

> Cluster is a reserved work in hive so things like sqoop fail
> ------------------------------------------------------------
>                 Key: HIVE-974
>                 URL: https://issues.apache.org/jira/browse/HIVE-974
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: Alex Newman
> 4:20:27 PM) posix4e: FAILED: Parse Error: line 1:50 mismatched input 'cluster' expecting
Identifier in column specification
> (4:20:27 PM) posix4e: from sqoop import of all tables, Which is different error :)
> (4:22:29 PM) kimballa: ooh, 'cluster' is a reserved word in Hive.
> (4:22:45 PM) posix4e: doh!
> (4:22:47 PM) posix4e: anyway to get around that?
> (4:23:21 PM) kimballa: hm. that's a new bug.
> (4:23:52 PM) kimballa: hack src/contrib/sqoop/src/java/org/apache/hadoop/sqoop/hive/TableDefWriter.java
> (4:24:11 PM) kimballa: I can get to it at some point, but it'll have to take a number
in the queue. You should at least file me a JIRA so I remember :)

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message