hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ankur (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIG-1191) POCast throws exception for certain sequences of LOAD, FILTER, FORACH
Date Mon, 18 Jan 2010 05:53:54 GMT

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

Ankur commented on PIG-1191:
----------------------------

Verified that PIG-1191-2.patch successfully passes all 6 test cases with expected results.
So barring the increased number of release audit  warnings,
+1 for commit

> POCast throws exception for certain sequences of LOAD, FILTER, FORACH
> ---------------------------------------------------------------------
>
>                 Key: PIG-1191
>                 URL: https://issues.apache.org/jira/browse/PIG-1191
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.6.0
>            Reporter: Ankur
>            Assignee: Pradeep Kamath
>            Priority: Blocker
>         Attachments: PIG-1191-1.patch, PIG-1191-2.patch
>
>
> When using a custom load/store function, one that returns complex data (map of maps,
list of maps), for certain sequences  of LOAD, FILTER, FOREACH pig script throws an exception
of the form -
>  
> org.apache.pig.backend.executionengine.ExecException: ERROR 1075: Received a bytearray
from the UDF. Cannot determine how to convert the bytearray to <actual-type>
> at org.apache.pig.backend.hadoop.executionengine.physicalLayer.expressionOperators.POCast.getNext(POCast.java:639)
> ...
> Looking through the code of POCast, apparently the operator was unable to find the right
load function for doing the conversion and consequently bailed out with the exception failing
the entire pig script.

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


Mime
View raw message