[
https://issues.apache.org/jira/browse/PIG-2117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aniket Mokashi updated PIG-2117:
--------------------------------
Anyone's working on this? I can try to tackle this one.
> support use of relational operators supported within nested-foreach in
> expressions
> ----------------------------------------------------------------------------------
>
> Key: PIG-2117
> URL: https://issues.apache.org/jira/browse/PIG-2117
> Project: Pig
> Issue Type: New Feature
> Reporter: Thejas M Nair
>
> This is more readable -
> res = FOREACH gby GENERATE group, FUNC(DISTINCT in.c3);
> than
> res = FOREACH gby { dist_c3 = DISTINCT in.c3; GENERATE group, FUNC(dist_c3);}
> All relations supported within nested-foreach could be supported for use
> within expressions.
> other examples -
> res = FOREACH gby GENERATE group, FUNC(limit in.c3 10);
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira