Apache Spark - Key Value RDD

22 / 29

If we need to reduce an RDD into a value which is of different data type than the actual RDD, which action would we use?