What are the types of transformation in RDD in Apache Spark?



What are the types of transformation in RDD in Apache Spark?..

Answer / Aniket Shukla

There are two main categories of transformations in RDD: parallel collections and higher-order functions. Parallel collections include operations like map(), filter(), and reduce(). Higher-order functions involve aggregation operations like fold(), combineByKey(), and groupByKey().

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Spark Interview Questions

How can I improve my spark performance?

1 Answers  


Explain the repartition() operation in Spark?

1 Answers  


What is difference between spark and hadoop?

1 Answers  


Is cache an action in spark?

1 Answers  


Why is Transformation lazy in Spark?

1 Answers  


What is the role of Spark Driver in spark applications?

1 Answers  


What is SparkSession in Apache Spark?

1 Answers  


What is executor cores in spark?

1 Answers  


Explain sortbykey() operation?

1 Answers  


What is a Sparse Vector?

1 Answers  


Why does spark skip stages?

1 Answers  


Why do fires spark?

1 Answers  


Categories