Answer Posted / Pratibha Dwivedi
Transformations are lazy operations that create a new dataset, but do not trigger any computation until an action is called. Actions, on the other hand, trigger the execution of all transformations up to that point, producing a result that can be persisted or written to an external storage system. Examples of actions include count(), collect(), and saveAsTextFile().
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers