Explain about transformations and actions in the context of RDDs.
Answer Posted / Ashok Kumar Ray
Transformations in Apache Spark are lazy operations that create new datasets (RDDs) based on existing ones. They are applied to an RDD but do not trigger execution. Actions, on the other hand, are execution triggers that process and return a value back to the driver program. Examples of transformations include map(), filter(), and groupBy(). Examples of actions include count(), first(), and saveAsTextFile().
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers