Daniel Dai updated PIG-888:

    Attachment: PIG-888-1.patch

The problem is that we didn't copy udf properly when we merge mrplan of 
different inputs in visitGlobalRearrange. Another related fix is that we should 
also deserialize import_list in PigInputFormat (as we did in 
https://issues.apache.org/jira/browse/PIG-883). I put these two fixes together 
in the patch.

> Pig do not pass udf to the backend in some situation
> ----------------------------------------------------
>                 Key: PIG-888
>                 URL: https://issues.apache.org/jira/browse/PIG-888
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.3.0
>            Reporter: Daniel Dai
>             Fix For: 0.4.0
>         Attachments: PIG-888-1.patch
> If we use udf and do not use register, in some situation backend will 
> complain that it cannot resolve class. For example, the following script do 
> not work.
> A = load '1.txt' using udf1();
> B = load '2.txt';
> C = join A by $0, B by $0;

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

Reply via email to