[
https://issues.apache.org/jira/browse/PIG-1923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011446#comment-13011446
]
Richard Ding commented on PIG-1923:
-----------------------------------
+1
> 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