spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hafiz Mujadid <>
Subject skipping header from each file
Date Fri, 09 Jan 2015 06:18:25 GMT
Suppose I give three files paths to spark context to read and each file has
schema in first row. how can we skip schema lines from headers

val rdd=sc.textFile("file1,file2,file3");

View this message in context:
Sent from the Apache Spark User List mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message