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 2009/12/25 01:07:29 UTC

[jira] Updated: (PIG-1172) PushDownForeachFlatten shall not push ForEach below Join if the flattened fields is used in Join

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

Daniel Dai updated PIG-1172:
----------------------------

    Attachment: PIG-1172-1.patch

> PushDownForeachFlatten shall not push ForEach below Join if the flattened fields is used in Join
> ------------------------------------------------------------------------------------------------
>
>                 Key: PIG-1172
>                 URL: https://issues.apache.org/jira/browse/PIG-1172
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.6.0
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>             Fix For: 0.6.0
>
>         Attachments: PIG-1172-1.patch
>
>
> Currently the following script will push B below D. But we will use fattened column in the join, we cannot push that.
> A = load '1.txt' as (bg:bag{t:tuple(a0,a1)});
> B = FOREACH A generate flatten($0);
> C = load '3.txt' AS (c0, c1);
> D = JOIN B by a1, C by c1;
> E = limit D 10;
> explain E;

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