spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor Pergenitsa (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-24745) Map function does not keep rdd name
Date Thu, 05 Jul 2018 09:12:00 GMT
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


Mime
View raw message