Re: ReduceByKey but with different functions depending on key

2014-11-18 Thread lordjoe
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 mailing list archive at Nabble.com. - To u

Re: ReduceByKey but with different functions depending on key

2014-11-18 Thread Debasish Das
iple functions. > > > > Only solution I've come up with is by filtering grouped for each reduce > > function and apply it on the filtered subsets. This feels kinda hackish > > though. > > > > Is there a better way? > > > > Best regards, > >

Re: ReduceByKey but with different functions depending on key

2014-11-18 Thread Yanbo
x27;ve come up with is by filtering grouped for each reduce > 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://a

ReduceByKey but with different functions depending on key

2014-11-18 Thread jelgh
uped for each reduce 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-tp19