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

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

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.


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

Posted by "Ashish Thusoo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-53?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashish Thusoo resolved HIVE-53.
-------------------------------

    Resolution: Duplicate

This is a duplicate of HIVE-47. We are still working on fixing the issues with the patch that Jeremey submitted as part of Hive-47.

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


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

Posted by "Josh Ferguson (JIRA)" <ji...@apache.org>.
    [ 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.