You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Cheolsoo Park (JIRA)" <ji...@apache.org> on 2013/12/27 23:48:50 UTC

[jira] [Assigned] (PIG-3643) Nested Foreach with UDF and bincond is broken

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

Cheolsoo Park reassigned PIG-3643:
----------------------------------

    Assignee: Cheolsoo Park

TestLogicalPlanGenerator is broken by this too. Let me fix this.

> Nested Foreach with UDF and bincond is broken
> ---------------------------------------------
>
>                 Key: PIG-3643
>                 URL: https://issues.apache.org/jira/browse/PIG-3643
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.13.0
>            Reporter: Rohini Palaniswamy
>            Assignee: Cheolsoo Park
>
> Was checking out PIG-3000. 
> A = load 'data' as (a:chararray);
> B = foreach A { c = UPPER(a); generate ((c eq 'TEST') ? 1 : 0), ((c eq 'DEV') ? 1 : 0); }
> This now throws "Invalid field projection. Projected field [c] does not exist in schema".  Works fine in 0.11. Broken in trunk. Haven't checked 0.12. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)