I am new to scala and I have a requirement to remove header from csv file and then write into parquet format file using scala.
I am trying this but how do I remove the header:
val df = spark.read.format("csv").load("path")
Can someone please help on this.
Thanks Sandeep