Question
What does groupByKey produce?
Select an option. Your answer will be checked instantly.
Correct Answer: C. Each key paired with all of its values
Explanation:
groupByKey gathers values across partitions.
It can use substantial network and memory when groups are large.
Leave a Reply