hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Ferguson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-53) Hive should turn newline into a space for multi-line queries
Date Wed, 26 Nov 2008 01:40:44 GMT

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

Josh Ferguson commented on HIVE-53:

This caused me pretty large amounts of pain today before I found it here, it makes the query
parser seem really flaky and cryptic to someone who is relatively new and trying to figure
out the various stuff in the query language. Just my $0.02.

> Hive should turn newline into a space for multi-line queries
> ------------------------------------------------------------
>                 Key: HIVE-53
>                 URL: https://issues.apache.org/jira/browse/HIVE-53
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: Jeff Hammerbacher
> In the current Hive release, using the Hive shell, a trailing space must be added to
multiline queries that don't indent; e.g.:
> hive> SELECT 
>     > n1.userid AS user1,
> ...
> Results in:
> FAILED: Parse Error: line 1:0 cannot recognize input 'SELECTn1'

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

View raw message