You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Xuefu Zhang (JIRA)" <ji...@apache.org> on 2011/03/15 19:44:30 UTC

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

     [ https://issues.apache.org/jira/browse/PIG-1092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xuefu Zhang resolved PIG-1092.
------------------------------

    Resolution: Cannot Reproduce

Cannot be reproduced in trunk before or after parser replacement.

> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira