Search

Define “Transformations” in Spark.?


 “Transformations” are functions applied on RDD, resulting in a new RDD. It does not execute until an action occurs. map() and filter() are examples of “transformations”, where the former applies the function assigned to it on each element of the RDD and results in another RDD. The filter() creates a new RDD by selecting elements from the current RDD.