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


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.

Reply via email to