Re: Running multiple foreach loops

2016-02-17 Thread radoburansky
ant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Running-multiple-foreach-loops-tp26256p26260.html Sent from the Apache Spark User List mailing list archive at Nabble.com.

Re: Running multiple foreach loops

2016-02-17 Thread Sabarish Sasidharan
:RDD[Thing]){ > //a's logic > r.foreach{ thing => b += thing} > } > > and so on. However Im worried that this would cause a performance hit. Does > anyone have any thoughts as to whether this would be a bad idea? > > thank you! > > > > -- > View this message in cont

Re: Running multiple foreach loops

2016-02-17 Thread Daniel Imberman
ogic > > r.foreach{ thing => b += thing} > > } > > > > and so on. However Im worried that this would cause a performance hit. > Does > > anyone have any thoughts as to whether this would be a

Re: Running multiple foreach loops

2016-02-17 Thread Ted Yu
or, r:RDD[Thing]){ > //a's logic > r.foreach{ thing => b += thing} > } > > and so on. However Im worried that this would cause a performance hit. Does > anyone have any thoughts as to whether this would be a bad idea? > > thank you! > > > > -- > View

Running multiple foreach loops

2016-02-17 Thread Daniel Imberman
g => b += thing} } and so on. However Im worried that this would cause a performance hit. Does anyone have any thoughts as to whether this would be a bad idea? thank you! -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Running-multiple-foreach-loops-tp2