[
https://issues.apache.org/jira/browse/PIG-1785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12979712#action_12979712
]
Daniel Dai commented on PIG-1785:
---------------------------------
Review request: https://reviews.apache.org/r/269/
> 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.