You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Igor Pergenitsa (JIRA)" <ji...@apache.org> on 2018/07/05 09:12:00 UTC
[jira] [Created] (SPARK-24745) Map function does not keep rdd name
Igor Pergenitsa created SPARK-24745:
---------------------------------------
Summary: Map function does not keep rdd name
Key: SPARK-24745
URL: https://issues.apache.org/jira/browse/SPARK-24745
Project: Spark
Issue Type: Bug
Components: Spark Core
Affects Versions: 2.3.1
Reporter: Igor Pergenitsa
This snippet
{code:scala}
val namedRdd = sparkContext.makeRDD(List("abc", "123")).setName("named_rdd")
println(namedRdd.name)
val mappedRdd = namedRdd.map(_.length)
println(mappedRdd.name){code}
outputs:
named_rdd
null
--
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