You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Josh Rosen (JIRA)" <ji...@apache.org> on 2014/09/24 22:00:33 UTC

[jira] [Resolved] (SPARK-3679) pickle the exact globals of functions

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

Josh Rosen resolved SPARK-3679.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 1.2.0

Issue resolved by pull request 2522
[https://github.com/apache/spark/pull/2522]

> pickle the exact globals of functions
> -------------------------------------
>
>                 Key: SPARK-3679
>                 URL: https://issues.apache.org/jira/browse/SPARK-3679
>             Project: Spark
>          Issue Type: Bug
>          Components: PySpark
>            Reporter: Davies Liu
>            Assignee: Davies Liu
>            Priority: Critical
>             Fix For: 1.2.0
>
>
> function.func_code.co_names has all the names used in the function, including name of attributes. It will pickle some unnecessary globals if there is a global having the same name with attribute (in co_names).
> There is a regression introduced by PR 2114 https://github.com/apache/spark/pull/2144/files



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org