We have discussed some basic operations for creating and manipulating RDDs. Now it is time to categorize them into two main categories:
- Transformations
- Actions
We have discussed some basic operations for creating and manipulating RDDs. Now it is time to categorize them into two main categories:
As the name suggests, transformations help us in transforming existing RDDs. As an output, they always create a new RDD that gets computed lazily. In the previous examples, we have discussed many transformations, such as map(), filter(), and reduceByKey().
Transformations are of two types:
Narrow transformations...