[
https://issues.apache.org/jira/browse/PIG-1766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12971458#action_12971458
]
Xuefu Zhang commented on PIG-1766:
----------------------------------
+1
Please commit after test-patch and unit tests pass.
> New logical plan: ImplicitSplitInserter should before
> DuplicateForEachColumnRewrite
> -----------------------------------------------------------------------------------
>
> Key: PIG-1766
> URL: https://issues.apache.org/jira/browse/PIG-1766
> Project: Pig
> Issue Type: Bug
> Components: impl
> Affects Versions: 0.8.0
> Reporter: Daniel Dai
> Assignee: Daniel Dai
> Fix For: 0.8.0
>
> Attachments: PIG-1766-1.patch
>
>
> The following script produce wrong result:
> {code}
> A = load '1.txt' AS (a0:int, a1:int);
> B = load '2.txt' AS (b0:int, b1:chararray);
> C = join A by a0, B by b0;
> D = foreach B generate b0 as d0, b1 as d1;
> E = join C by a1, D by d0;
> F = foreach E generate b1, d1;
> dump F;
> {code}
> 1.txt:
> 1 2
> 1 3
> 2 4
> 2 5
> 2.txt:
> 1 one
> 2 two
> Expected:
> (one,two)
> We get:
> (one,one)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.