[ 
https://issues.apache.org/jira/browse/PIG-804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709040#action_12709040
 ] 

Santhosh Srinivasan commented on PIG-804:
-----------------------------------------

+1 for the patch.

> problem with lineage with double map redirection
> ------------------------------------------------
>
>                 Key: PIG-804
>                 URL: https://issues.apache.org/jira/browse/PIG-804
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.2.1
>            Reporter: Olga Natkovich
>            Assignee: Pradeep Kamath
>             Fix For: 0.3.0
>
>         Attachments: PIG-804.patch
>
>
> v1       = load     'data' as (s,m,l);
> v2       = foreach  v1  GENERATE
>                         s#'src_spaceid' AS vspaceid ;
> v3       = foreach  v2  GENERATE
>                         (chararray)vspaceid#'foo';
> explain v3;
> The last cast does not have a loader associated with it and as the result the 
> script fails on the backend with the following error: "Received a bytearray 
> from the UDF. Cannot determine how to convert the bytearray to string."

-- 
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