Skip to content
RED SAG Skills
mediumStudy question · answer published in Pandas interview questions, so no pointssparkspark-rdd

groupByKey vs reduceByKey

With the RDD API, why is rdd.reduceByKey(add) usually much better than rdd.groupByKey().mapValues(sum) for word counts?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions