How to identify that the given operation is transformation or action?
Answer Posted / Rahul Vardhan
{"In Apache Spark, operations can be categorized as transformations (lazy) or actions (eager). Transformations create new DataFrames or RDDs but do not execute them immediately. Instead, they are collected and executed when an action is called. Examples of transformations include map(), filter(), and groupBy(). Actions, on the other hand, trigger the execution of transformations and return a value to the driver program. Examples of actions include count(), first(), and collect()."}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers