ch. map takes iterator returns
>> iterator foreach takes iterator returns Unit.
>>
>> On Mon, Apr 20, 2015 at 4:05 PM, Arun Patel
>> wrote:
>>
>>> What is difference between mapPartitions vs foreachPartition?
>>>
>>> When to use these?
>>>
>>> Thanks,
>>> Arun
>>>
>>
>>
>
5 at 4:05 PM, Arun Patel
> wrote:
>
>> What is difference between mapPartitions vs foreachPartition?
>>
>> When to use these?
>>
>> Thanks,
>> Arun
>>
>
>
The same, which is between map and foreach. map takes iterator returns
iterator foreach takes iterator returns Unit.
On Mon, Apr 20, 2015 at 4:05 PM, Arun Patel wrote:
> What is difference between mapPartitions vs foreachPartition?
>
> When to use these?
>
> Thanks,
> Arun
>
What is difference between mapPartitions vs foreachPartition?
When to use these?
Thanks,
Arun