What is difference between mapPartitions vs foreachPartition?

When to use these?

Thanks,
Arun

Reply via email to