You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2011/01/12 03:32:05 UTC

[jira] Resolved: (PIG-1785) New logical plan: uid conflict in flattened fields

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

Daniel Dai resolved PIG-1785.
-----------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]

All tests pass as in review notes. Patch committed to both trunk and 0.8 branch.

> New logical plan: uid conflict in flattened fields
> --------------------------------------------------
>
>                 Key: PIG-1785
>                 URL: https://issues.apache.org/jira/browse/PIG-1785
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>             Fix For: 0.8.0
>
>         Attachments: PIG-1785-1.patch, PIG-1785-2.patch
>
>
> The following script produce wrong result:
> {code}
> a = load '1.txt' as (a0:bag{t:tuple(i0:int, i1:int)});
> b = foreach a generate flatten(a0) as (b0, b1), flatten(a0) as (b2, b3);
> c = filter b by b0>b2;
> dump c;
> {code}
> 1.txt:
> {(1,2),(2,3)}
> Expected result:
> (2,3,1,2)
> We get nothing.

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