mapValues is part of syllabus of certification?

I am working on one of problem

val a = sc.parallelize(List(“dog”, “tiger”, “lion”, “cat”, “panther”, “eagle”), 2)


Can anyone let me know mapValues is part of syllabus of certification or is it part of spark sql


Above statement is it same as below ??

b.mapValues(x => x+1).collect

CCA 175 is based on 1.2.1 and I searched for mapValues in 1.2.1 official documentation and there is nothing in it. Hence probability of questions on mapValues is low.

What is b here? there is no function mapValues on RDD.

yes sir ,thank you for the reply ,appreciated