object CC{
def my{
val input = sc.textFile("file:///home/user/sparktemp/test.csv")
input.collect().foreach(println)
val result = input.map{ line =>
val reader = new CSVReader(new StringReader(line));
reader.readNext()
}
println(result.getClass)
result.collect().foreach(x => {x.foreach(println);println("======")})
}
}[/mw_shl_code]