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 <bur...@spinn3r.com> wrote: > 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.spark.sql.api.java.Row@37f108 > > org.apache.spark.sql.api.java.Row@d0426773 > > org.apache.spark.sql.api.java.Row@38c9d3 > > > -- > > Founder/CEO Spinn3r.com > Location: *San Francisco, CA* > blog: http://burtonator.wordpress.com > … or check out my Google+ profile > <https://plus.google.com/102718274791889610666/posts> > <http://spinn3r.com> > >