spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hyukjin Kwon (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-27000) Global function that has the same name can't be overwritten in Python RDD API
Date Wed, 27 Feb 2019 04:56:00 GMT

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

Hyukjin Kwon updated SPARK-27000:
---------------------------------
    Summary: Global function that has the same name can't be overwritten in Python RDD API
 (was: Functions that has the same name can't be used in Python RDD API)

> 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
>
> {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


Mime
View raw message