groupByKey - another example

#1

Originally published at: http://www.itversity.com/topic/groupbykey-another-example/

As groupByKey is generic and powerful, let us see another example. Using products, let us compute top N priced products (dense ranking) If we pass a value to get top N priced products we are supposed to get all the records which fall under top N priced products Here is the logic to get top N priced…

0 Likes