mapPartitions - scala

Originally published at: http://www.itversity.com/topic/mappartitions-scala/

Earlier we have seen APIs such as map, flatMap, filter which are used to perform row level transformations. Let us also get into details about another API mapPartitions Recollect map, flatMap, filter map takes one record as input and returns one processed record as output flatMap takes one record as input and returns one or more processed…

HI,
I have doubt like what is the problem with when use mapPartition on simple operation.
thanks
suresh