hi dears!
Is there some efficient way to drop first line of an RDD[String]?
any suggestion?
Thanks
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/removing-first-record-from-RDD-String-tp20834.html
Sent from the Apache Spark User List mailing list
)
Thus, you don't need to filter on the whole RDD. Good luck.
Hao
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/removing-first-record-from-RDD-String-tp20834p20836.html
Sent from the Apache Spark User List mailing list archive at Nabble.com
) =
if (i == 0 iterator.hasNext) {
iterator.next
iterator
} else iterator)
Thus, you don't need to filter on the whole RDD. Good luck.
Hao
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/removing-first-record-from-RDD-String
?
Thanks
--
If you reply to this email, your message will be added to the discussion
below:
http://apache-spark-user-list.1001560.n3.nabble.com/removing-first-record-from-RDD-String-tp20834.html
To unsubscribe from Apache Spark User List, click here
http://apache
yep Michael Quinlan,it's working as suggested by Hoe Ren
thansk to you and Hoe Ren
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/removing-first-record-from-RDD-String-tp20834p20840.html
Sent from the Apache Spark User List mailing list archive