val emp_data =spark.sparkContext.textFile("dataset");
val emp_header=emp_data.first()
val emp_data_without_header =emp_header.filter(x=>(!x.equals(emp_header)))
println("No.ofpartition="+emp_data_without_header.partitions.size)
30: error: value partitions is not a member of String emp_data_without_header.partitions.size ^
How to check the partitions for the above statement?