[
https://issues.apache.org/jira/browse/PIG-4841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15205166#comment-15205166
]
Daniel Dai commented on PIG-4841:
---------------------------------
+1
> Inline-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.11.1, 0.15.0
> Reporter: Koji Noguchi
> Assignee: Koji Noguchi
> Priority: Minor
> Attachments: pig-4841-v01.patch
>
>
> Inline-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)