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] Commented: (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=12613653#action_12613653 ] 

Alan Gates commented on PIG-305:
--------------------------------

At least part of the issue is the logical plan in the above query is not correctly connected together.  This looks related to what Tyson reported in PIG-299.  Don't know whether it's a duplicate or if there are additional issues.  Assigning to Santhosh to at least deal with the parser issues.

> 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
>             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.