What is spark mapvalues?



What is spark mapvalues?..

Answer / Aakash Bajpai

mapValues is an action in Apache Spark that applies a function to each key-value pair's value of the RDD. It returns a new RDD with the same set of keys, where each key has a newly computed value.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Spark Interview Questions

explain the key features of Apache Spark?

1 Answers  


What is meant by rdd in spark?

1 Answers  


Does spark run hadoop?

1 Answers  


What is difference between cache and persist in spark?

1 Answers  


How Spark uses Hadoop?

1 Answers  


What do you understand by Executor Memory in a Spark application?

1 Answers  


Name the components of spark ecosystem.

1 Answers  


What are the various data sources available in SparkSQL?

1 Answers  


Why is BlinkDB used?

1 Answers  


What are the benefits of Spark lazy evaluation?

1 Answers  


What is the difference between hadoop and spark?

1 Answers  


Explain Spark leftOuterJoin() and rightOuterJoin() operation?

1 Answers  


Categories