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 2010/12/15 00:22:01 UTC
[jira] Resolved: (PIG-1766) New logical plan: ImplicitSplitInserter
should before DuplicateForEachColumnRewrite
[ https://issues.apache.org/jira/browse/PIG-1766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Dai resolved PIG-1766.
-----------------------------
Resolution: Fixed
Hadoop Flags: [Reviewed]
Review notes:
https://reviews.apache.org/r/167/
Patch committed to both trunk and 0.8 branch.
> 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.