You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Julien Le Dem (JIRA)" <ji...@apache.org> on 2011/03/20 23:20:06 UTC

[jira] [Updated] (PIG-1923) Jython UDFs fail to convert Maps of Integer values back to Pig types

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

Julien Le Dem updated PIG-1923:
-------------------------------

    Attachment: PIG-1923_branch-0.8.patch

PIG-1923_branch-0.8.patch
fix for the branch 0.8

> Jython UDFs fail to convert Maps of Integer values back to Pig types
> --------------------------------------------------------------------
>
>                 Key: PIG-1923
>                 URL: https://issues.apache.org/jira/browse/PIG-1923
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.8.0
>            Reporter: Julien Le Dem
>            Assignee: Julien Le Dem
>             Fix For: 0.9.0
>
>         Attachments: PIG-1923.patch, PIG-1923_branch-0.8.patch
>
>
> java.io.IOException: Error executing function: org.apache.pig.backend.executionengine.ExecException: ERROR 0: Cannot convert jython type to pig datatype org.apache.pig.backend.executionengine.ExecException: ERROR 0: Cannot convert jython type to pig datatype java.lang.ClassCastException: java.lang.Integer cannot be cast to org.python.core.PyObject
>     at org.apache.pig.scripting.jython.JythonFunction.exec(JythonFunction.java:109)
>     at org.apache.pig.backend.hadoop.executionengine.physicalLayer.expressionOperators.POUserFunc.getNext(POUserFunc.java:229)
>     ... 10 more

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira