Transformations creates a new RDD from an existing RDD by applying transformation logic to each of the elements in the existing RDD. Some of the transformation functions involve splitting the element, filtering out elements, and performing calculations of some sort. Several transformations can be performed in a sequence. However, no execution takes place during the planning.
Transformations can be divided into four categories, as follows.