Thanks Michael, that makes total sense. It works perfectly. Yadid
On Thu, Aug 28, 2014 at 9:19 PM, Michael Armbrust <mich...@databricks.com> wrote: > The comma is just the way the default toString works for Row objects. > Since SchemaRDDs are also RDDs, you can do arbitrary transformations on > the Row objects that are returned. > > For example, if you'd rather the delimiter was '|': > > sql("SELECT * FROM src").map(_.mkString("|")).collect() > > > On Thu, Aug 28, 2014 at 7:58 AM, yadid ayzenberg <ya...@media.mit.edu> > wrote: > >> Hi All, >> >> Is there any way to change the delimiter from being a comma ? >> Some of the strings in my data contain commas as well, making it very >> difficult to parse the results. >> >> Yadid >> > >