How can I read data from a file and stream it to Apache Spark ?
I have a CSV file -LRB- custid , data , weight , timetoload -RRB- . I want to read the CSV file , filter for lines where the weight > 5 lbs . How can I achieve this in Apache Spark using Scala ?