Do your debug println show values? i.e. what would you see if in rowToString
you output println(" row to string "+row+" "+sub)?
Another thing to check would be to do schemaRDD.take(3) or something to
make sure you actually have data....
you can also try this: rowToString(schemaRDD.first,list) and see if you get
anything
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/SchemaRDD-to-RDD-String-tp20846p20910.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]