problem with lineage with double map redirection
------------------------------------------------

                 Key: PIG-804
                 URL: https://issues.apache.org/jira/browse/PIG-804
             Project: Pig
          Issue Type: Bug
            Reporter: Olga Natkovich
            Assignee: Pradeep Kamath


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