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/04/06 23:46:05 UTC

[jira] [Resolved] (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 resolved PIG-1923.
--------------------------------

    Resolution: Fixed

committed in TRUNK

> 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_branch-0.8.patch, PIG-1923_trunk.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