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 <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to