[ https://issues.apache.org/jira/browse/SPARK-3679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14146691#comment-14146691 ]
Apache Spark commented on SPARK-3679: ------------------------------------- User 'davies' has created a pull request for this issue: 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 > > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org