You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Yang Yang (JIRA)" <ji...@apache.org> on 2009/11/13 19:09:39 UTC

[jira] Created: (PIG-1092) Pig Latin Parser fails to recognize "\n" as a whitespace

Pig Latin Parser fails to recognize "\n" as a whitespace
--------------------------------------------------------

                 Key: PIG-1092
                 URL: https://issues.apache.org/jira/browse/PIG-1092
             Project: Pig
          Issue Type: Bug
          Components: grunt
         Environment: RHEL linux
            Reporter: Yang Yang
            Priority: Minor


the following pig latin script fails to parse


a = load 'input_file' as
( field1 : int );

note that there is no char after the "as", so there is only one "\n" char between the "as" and "(" on the next line.

adding a whitespace after "as" solves it.

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


[jira] Updated: (PIG-1092) Pig Latin Parser fails to recognize "\n" as a whitespace

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

Olga Natkovich updated PIG-1092:
--------------------------------

    Fix Version/s: 0.9.0

> Pig Latin Parser fails to recognize "\n" as a whitespace
> --------------------------------------------------------
>
>                 Key: PIG-1092
>                 URL: https://issues.apache.org/jira/browse/PIG-1092
>             Project: Pig
>          Issue Type: Bug
>          Components: grunt
>         Environment: RHEL linux
>            Reporter: Yang Yang
>            Priority: Minor
>             Fix For: 0.9.0
>
>
> the following pig latin script fails to parse
> a = load 'input_file' as
> ( field1 : int );
> note that there is no char after the "as", so there is only one "\n" char between the "as" and "(" on the next line.
> adding a whitespace after "as" solves it.

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


[jira] Assigned: (PIG-1092) Pig Latin Parser fails to recognize "\n" as a whitespace

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

Alan Gates reassigned PIG-1092:
-------------------------------

    Assignee: Xuefu Zhang

> Pig Latin Parser fails to recognize "\n" as a whitespace
> --------------------------------------------------------
>
>                 Key: PIG-1092
>                 URL: https://issues.apache.org/jira/browse/PIG-1092
>             Project: Pig
>          Issue Type: Bug
>          Components: grunt
>         Environment: RHEL linux
>            Reporter: Yang Yang
>            Assignee: Xuefu Zhang
>            Priority: Minor
>             Fix For: 0.9.0
>
>
> the following pig latin script fails to parse
> a = load 'input_file' as
> ( field1 : int );
> note that there is no char after the "as", so there is only one "\n" char between the "as" and "(" on the next line.
> adding a whitespace after "as" solves it.

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