Appending an incrental value to each RDD record

2014-12-16 Thread bethesda
-an-incrental-value-to-each-RDD-record-tp20718.html Sent from the Apache Spark User List mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h

Re: Appending an incrental value to each RDD record

2014-12-16 Thread Gerard Maas
-list.1001560.n3.nabble.com/Appending-an-incrental-value-to-each-RDD-record-tp20718.html Sent from the Apache Spark User List mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@spark.apache.org

Re: Appending an incrental value to each RDD record

2014-12-16 Thread mj
://spark.apache.org/docs/latest/api/scala/index.html#org.apache.spark.rdd.RDD -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Appending-an-incrental-value-to-each-RDD-record-tp20718p20720.html Sent from the Apache Spark User List mailing list archive at Nabble.com

Re: Appending an incrental value to each RDD record

2014-12-16 Thread bethesda
Thanks! zipWithIndex() works well. I had overlooked it because the name 'zip' is rather odd -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Appending-an-incrental-value-to-each-RDD-record-tp20718p20722.html Sent from the Apache Spark User List mailing