[ https://issues.apache.org/jira/browse/PIG-972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875410#action_12875410 ]
Daniel Dai commented on PIG-972: -------------------------------- If we have a statement: {code} a = load '1.txt' as (a0:int, a1:int); b = group a by a0; c = foreach b { d = order a by $0; generate d, *; } {code} Here is proposal 2.b from Aniket: {code} grunt> describe c: c::d: {a0: int,a1: int} c: {d: {a0: int,a1: int},group: int,a: {a0: int,a1: int}} grunt> describe c::d; c::d: {a0: int,a1: int} {code} I vote for this approach. Opinion? > Make describe work with nested foreach > -------------------------------------- > > Key: PIG-972 > URL: https://issues.apache.org/jira/browse/PIG-972 > Project: Pig > Issue Type: Improvement > Reporter: Olga Natkovich > Assignee: Aniket Mokashi > Fix For: 0.8.0 > > Attachments: NestedDescribeProp1.patch > > > Currently Parser can't deal with that. This is because describe is part of > Grunt parser while the rest of nested foreach is handled by the QueryParser -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.