I am new to Spark / Scala. I know how to upload CSV files:
sqlContext.read.format("csv")
and how to read text streams and file streams:
scc.textFileStream("""file:///c:\path\filename""");
scc.fileStream[LongWritable, Text, TextInputFormat](...)
but how to read text in CSV format ? Thank you Levy
source
share