Hi Ashutosh, Could you give more details as to what you are wanting do and in what feature of Spark you want use? Yes, spark-csv is a connector for SparkSQL module...hence it works with SQLContext only.
Thanking You --------------------------------------------------------------------------------- Praveen Devarao Spark Technology Centre IBM India Software Labs --------------------------------------------------------------------------------- "Courage doesn't always roar. Sometimes courage is the quiet voice at the end of the day saying I will try again" From: Ashutosh Kumar <kmr.ashutos...@gmail.com> To: "user @spark" <user@spark.apache.org> Date: 27/04/2016 10:55 am Subject: removing header from csv file I see there is a library spark-csv which can be used for removing header and processing of csv files. But it seems it works with sqlcontext only. Is there a way to remove header from csv files without sqlcontext ? Thanks Ashutosh