hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-305) Nested order by queries return only one key instead of all keys
Date Wed, 16 Jul 2008 00:15:31 GMT

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

Alan Gates updated PIG-305:
---------------------------

    Attachment: innerorder.patch

This has nothing to do with the logical plan, as I originally posited.  It was an error in
POSort that wasn't resetting the done flag so that subsequent values were not getting processed.

> 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: Alan Gates
>             Fix For: types_branch
>
>         Attachments: innerorder.patch
>
>
> 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.


Mime
View raw message