A SchemaRDD is still an RDD, so you can just do rdd.map(row => row.toString). Or if you want to get a particular field of the row, you can do rdd.map(row => row(3).toString).
Matei On Oct 9, 2014, at 1:22 PM, Soumya Simanta <soumya.sima...@gmail.com> wrote: > I've a SchemaRDD that I want to convert to a RDD that contains String. How do > I convert the Row inside the SchemaRDD to String? --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org