Koji Noguchi created PIG-4841:
---------------------------------

             Summary: Nested-op with schema declaration fails with syntax error
                 Key: PIG-4841
                 URL: https://issues.apache.org/jira/browse/PIG-4841
             Project: Pig
          Issue Type: Bug
          Components: parser
    Affects Versions: 0.15.0, 0.11.1
            Reporter: Koji Noguchi
            Assignee: Koji Noguchi
            Priority: Minor


Nested-op+foreach+schema("as") fails. 

{code}
knoguchi@truelisten-lm pig> cat test6.pig
A = load 'input.txt' as (a1:int, a2:int);
B = FOREACH (FOREACH A GENERATE a1 as b1) GENERATE b1;

dump B;
{code}

{panel}
2016-03-11 17:57:31,364 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 
1000: Error during parsing. Lexical error at line 5, column 0.  Encountered: 
<EOF> after : ""
{panel}



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

Reply via email to