You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by Apache Wiki <wi...@apache.org> on 2011/08/03 10:56:23 UTC
[Pig Wiki] Update of "NestedForeach" by Aniket Mokashi
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Pig Wiki" for change notification.
The "NestedForeach" page has been changed by Aniket Mokashi:
http://wiki.apache.org/pig/NestedForeach
New page:
#format wiki
#language en
<<Navigation(children)>>
<<TableOfContents>>
This document captures the specification for nested foreach support in pig and proposal for extending this support over multiple levels. This is tracked at [[#ref1|PIG-1631]].
== Introduction ==
Pig currently supports DISTINCT, FILTER, LIMIT, CROSS and ORDER BY inside nested foreach statement and it is highly desired to have support for FOREACH nested inside a foreach.
{{{
C = foreach B {
C1 = foreach A generate ..;
...
generate group, ..;
}
}}}