[ 
https://issues.apache.org/jira/browse/PIG-2117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aniket Mokashi reassigned PIG-2117:
-----------------------------------

    Assignee:     (was: 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
>
> 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 was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to