You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/02/27 17:34:00 UTC

[jira] [Resolved] (SPARK-27000) Global function that has the same name can't be overwritten in Python RDD API

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

Hyukjin Kwon resolved SPARK-27000.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0

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

> Global function that has the same name can't be overwritten in Python RDD API
> -----------------------------------------------------------------------------
>
>                 Key: SPARK-27000
>                 URL: https://issues.apache.org/jira/browse/SPARK-27000
>             Project: Spark
>          Issue Type: Bug
>          Components: PySpark
>    Affects Versions: 3.0.0
>            Reporter: Hyukjin Kwon
>            Assignee: Hyukjin Kwon
>            Priority: Critical
>             Fix For: 3.0.0
>
>
> {code}
> >>> def hey():
> ...     return "Hi"
> ...
> >>> spark.range(1).rdd.map(lambda _: hey()).collect()
> ['Hi']
> >>> def hey():
> ...     return "Yeah"
> ...
> >>> spark.range(1).rdd.map(lambda _: hey()).collect()
> ['Hi']
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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