You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Aniket Mokashi (JIRA)" <ji...@apache.org> on 2012/04/21 03:03:32 UTC
[jira] [Work started] (PIG-2117) support use of relational
operators supported within nested-foreach in expressions
[ https://issues.apache.org/jira/browse/PIG-2117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on PIG-2117 started by Aniket Mokashi.
> 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
> Assignee: Aniket Mokashi
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira