Skip to main content
InterviewHubPRO
Section Overview
Q6

Question 6 of 50

Part 1: Basic & Foundational Concepts (Junior / Entry-Level)

12%
Apache Spark Big Data (50 Qs)•Part 1: Basic & Foundational Concepts (Junior / Entry-Level)

What is the difference between Transformations and Actions?

junior LevelState ManagementForms

In Simple Words:

  • Transformations: Lazy operations that produce a new DataFrame/RDD from an existing one: map(), filter(), select(), groupBy(), join(). Returns a DataFrame/RDD.
  • Actions: Eager operations that trigger computation across the cluster and return a value to the Driver or write data to external storage: count(), collect(), take(N), save(), show().