You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Jong Wook Kim <jo...@nyu.edu> on 2015/02/09 16:12:12 UTC

Re: saveAsTextFile of RDD[Array[Any]]

If you have `RDD[Array[Any]]` you can do

rdd.map(_.mkString("\t"))

or with some other delimiter to make it `RDD[String]`, and then call
`saveAsTextFile`.




--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/saveAsTextFile-of-RDD-Array-Any-tp21548p21554.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

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