In Apache Spark, what is the key difference between a transformation and an action?
-
A
Transformations run on the driver; actions run on workers
-
B
Transformations are lazy and return RDDs; actions trigger execution and return results
-
C
Actions are faster than transformations
-
D
Transformations always cache data in memory