You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Alan Gates (JIRA)" <ji...@apache.org> on 2008/07/15 18:21:33 UTC

[jira] Assigned: (PIG-305) Nested order by queries return only one key instead of all keys

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

Alan Gates reassigned PIG-305:
------------------------------

    Assignee: Santhosh Srinivasan

> Nested order by queries return only one key instead of all keys
> ---------------------------------------------------------------
>
>                 Key: PIG-305
>                 URL: https://issues.apache.org/jira/browse/PIG-305
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: types_branch
>            Reporter: Alan Gates
>            Assignee: Santhosh Srinivasan
>             Fix For: types_branch
>
>
> Queries like:
> {code}
> a = load 'myfile';                                                                                            
> b = group a by $0;                                                                                                                                              
> c = foreach b {
>     c1 = order $1 by *; 
>     generate flatten(c1); 
> };                                                                                                     
> store c into 'outfile';
> {code}
> return just one key of the data instead of returning all keys.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.