Answer Posted / Punit Sirotiya
The reduce() operation in Apache Spark is a transformation function that reduces DataFrame or RDD elements to a single value using an associative and commutative binary function. For example, if the function is addition, reduce() will sum all elements in a collection. The reduction is done by combining pairs of elements recursively.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers