Map vs mapValues in Spark

247    Asked by AashnaSaito in Java , Asked on Nov 30, -0001

I'm currently learning Spark and developing custom machine learning algorithms. My question is what is the difference between .map() and .mapValues() and what are cases where I clearly have to use one instead of the other?

Answered by David Piper

Your Answer

Interviews

Parent Categories