Re: saveAsTextFile just uses toString and Row@37f108

2015-01-13 Thread Reynold Xin
It is just calling RDD's saveAsTextFile. I guess we should really override the saveAsTextFile in SchemaRDD (or make Row.toString comma separated). Do you mind filing a JIRA ticket and copy me? On Tue, Jan 13, 2015 at 12:03 AM, Kevin Burton wrote: > This is almost funny. > > I want to dump a co

saveAsTextFile just uses toString and Row@37f108

2015-01-13 Thread Kevin Burton
This is almost funny. I want to dump a computation to the filesystem. It’s just the result of a Spark SQL call reading the data from Cassandra. The problem is that it looks like it’s just calling toString() which is useless. The example is below. I assume this is just a (bad) bug. org.apache.