You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Koji Noguchi (JIRA)" <ji...@apache.org> on 2016/11/08 23:17:58 UTC

[jira] [Updated] (PIG-5055) Infinite loop with join by fixed index

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

Koji Noguchi updated PIG-5055:
------------------------------
    Attachment: pig-5055-v01.patch

Attaching a patch that adds check in AddForEach optimization to skip when {{outputUids}} is empty.

Running tests.

> Infinite loop with join by fixed index
> --------------------------------------
>
>                 Key: PIG-5055
>                 URL: https://issues.apache.org/jira/browse/PIG-5055
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Koji Noguchi
>            Assignee: Koji Noguchi
>         Attachments: pig-5055-v01.patch
>
>
> Following pig script runs forever unless {{ColumnMapKeyPrune}} is disabled.
> {code}
> A = load 'input1.txt' as (a0:int, a1:int, a2:int);
> B = load 'input2.txt' as (b0:int, b1:int, b2:int);
> B2 = FILTER B by b0 == 0;
> C = join A by (1), B2 by (1) ;
> D = FOREACH C GENERATE A::a1, A::a2;
> store D into '/tmp/deleteme';
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)