Really appreciate your efforts of developing Ruby-Spark and it's great.
In Spark there's a handy function of takeOrdered(N) to get the top N biggest element, very similar to Ruby's #max(N) or #max_by(N){block} method. Is it possible to make RDD.max(N) or RDD.max_by(N){key from block...} take N too?
Really appreciate your efforts of developing Ruby-Spark and it's great.
In Spark there's a handy function of takeOrdered(N) to get the top N biggest element, very similar to Ruby's #max(N) or #max_by(N){block} method. Is it possible to make RDD.max(N) or RDD.max_by(N){key from block...} take N too?
Thanks!