Koji Noguchi created PIG-4818:
---------------------------------

             Summary: 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.15.0, 0.14.0, 0.13.0, 0.12.1, 0.12.0
            Reporter: Koji Noguchi
            Assignee: Koji Noguchi
            Priority: Minor


{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)

Reply via email to