spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tobias Pfeiffer <...@preferred.jp>
Subject Re: SchemaRDD to RDD[String]
Date Thu, 25 Dec 2014 01:12:23 GMT
Hi,

On Wed, Dec 24, 2014 at 3:18 PM, Hafiz Mujadid <hafizmujadid00@gmail.com>
wrote:
>
> I want to convert a schemaRDD into RDD of String. How can we do that?
>
> Currently I am doing like this which is not converting correctly no
> exception but resultant strings are empty
>
> here is my code
>

Hehe, this is the most Java-ish Scala code I have ever seen ;-)

Having said that, are you sure that your rows are not empty? The code looks
correct to me, actually.

Tobias

Mime
View raw message