What is the difference between reducebykey and groupbykey?
Answer Posted / Neha Rani
reduceByKey is an operation that reduces each pair of key-value pairs to a single value while combining multiple iterations. Group by key, on the other hand, groups the data by the key but does not perform any reduction unless an aggregate function is specified.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers