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/16 02:25:31 UTC

[jira] Issue Comment Edited: (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:comment-tabpanel&focusedCommentId=12613796#action_12613796 ] 

alangates edited comment on PIG-305 at 7/15/08 5:24 PM:
---------------------------------------------------------

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

      was (Author: alangates):
    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.