As stated earlier in this book, if an RDD operation returns an RDD, then it is called a transformation. In Chapter 4, Understanding the Spark Programming Model, we learnt about commonly used useful transformations. Now we are going to look at some advanced level transformations.