You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Josh Ferguson (JIRA)" <ji...@apache.org> on 2008/11/26 02:40:44 UTC

[jira] Commented: (HIVE-53) Hive should turn newline into a space for multi-line queries

    [ 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.