spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sparkino <>
Subject spark-sql problem with textfile separator
Date Thu, 19 Feb 2015 10:12:58 GMT
Hello everybody,
I'm quite new to Spark and Scala as well and I was trying to analyze some
csv data via spark-sql 

My csv file contains data like this

Following the example at this link below

I have that code:

When I try to fetch "val name_address" the second field (address) does not
contain all the text. The issue is probably the comma, it is at the same
time the split character and a string value of the third column (address) of
the csv file.

How can handle this?

Thank you in advance

View this message in context:
Sent from the Apache Spark User List mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message