Question: Explain the difference between Spark transformations and actions.Answer: Transformations are operations that create a new RDD, while actions are operations that return a value to the driver program or write data to an external storage system.Example:
|
Is it helpful?
Yes
No
Most helpful rated by users:
- What is the purpose of the Spark SQL module?
- Explain the difference between narrow and wide transformations in Spark.