ReduceByKey but with different functions depending on key

2014-11-18 Thread jelgh
-functions-depending-on-key-tp19177.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...@spark.apache.org

Re: ReduceByKey but with different functions depending on key

2014-11-18 Thread Yanbo
-functions-depending-on-key-tp19177.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: ReduceByKey but with different functions depending on key

2014-11-18 Thread Debasish Das
function and apply it on the filtered subsets. This feels kinda hackish though. Is there a better way? Best regards, Johannes -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/ReduceByKey-but-with-different-functions-depending-on-key-tp19177

Re: ReduceByKey but with different functions depending on key

2014-11-18 Thread lordjoe
, Tuple2lt;K, V(t._1(),new Tuple2K,V(t._1(),t._2()); } }); } -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/ReduceByKey-but-with-different-functions-depending-on-key-tp19177p19198.html Sent from the Apache Spark User List