Answer Posted / Romi Awasthi
Transformations are lazy in Spark to optimize resource utilization. When a transformation is called, it doesn't immediately execute the action on all data; instead, it creates a logical plan outlining the steps required to process the data. The physical execution starts only when an action like collect(), count(), or save() is triggered.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers