You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Koji Noguchi (JIRA)" <ji...@apache.org> on 2018/04/12 17:59:00 UTC
[jira] [Commented] (PIG-5338) Prevent deep copy of DataBag into
Jython List
[ https://issues.apache.org/jira/browse/PIG-5338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16436053#comment-16436053 ]
Koji Noguchi commented on PIG-5338:
-----------------------------------
Thanks [~gphillips] for the report! Please let us know if you want to work on the fix yourself or would leave the fix to others.
> Prevent deep copy of DataBag into Jython List
> ---------------------------------------------
>
> Key: PIG-5338
> URL: https://issues.apache.org/jira/browse/PIG-5338
> Project: Pig
> Issue Type: Improvement
> Reporter: Greg Phillips
> Priority: Major
>
> Pig Python UDFs currently perform deep copies on Bags converting them into Jython PyLists. This can cause Jython UDFs to run out of memory and fail. A Jython DataBag which extends PyList could allow for iterative access to DataBag elements, while only performing a deep copy when necessary.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)