pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIG-4818) Single quote inside comment in GENERATE is not being ignored
Date Mon, 29 Feb 2016 22:53:18 GMT

    [ https://issues.apache.org/jira/browse/PIG-4818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15172789#comment-15172789
] 

Daniel Dai commented on PIG-4818:
---------------------------------

+1.

And this happens only when the comment is in GENERATE clause.

> Single quote inside comment in GENERATE is not being ignored
> ------------------------------------------------------------
>
>                 Key: PIG-4818
>                 URL: https://issues.apache.org/jira/browse/PIG-4818
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.12.0, 0.12.1, 0.13.0, 0.14.0, 0.15.0
>            Reporter: Koji Noguchi
>            Assignee: Koji Noguchi
>            Priority: Minor
>         Attachments: pig-4818-v01.patch
>
>
> {code}
> A = load '1.txt' as (a1:int, a2:int);
> B = FOREACH A GENERATE a1,
>  -- testing ' here with single quote
>               a2;
> dump B;
> {code}
> This fails with 
> {panel}
> 2016-02-29 20:09:05,507 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1000: Error
during parsing. Lexical error at line 6, column 0.  Encountered: <EOF> after : ""
> {panel}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message