Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 666 Bytes

spark-rdd-mappartitionsrdd.adoc

File metadata and controls

16 lines (12 loc) · 666 Bytes

MapPartitionsRDD

MapPartitionsRDD is an RDD that applies the provided function f to every partition of the parent RDD.

By default, it does not preserve partitioning — the last input parameter preservesPartitioning is false. If it is true, it retains the original RDD’s partitioning.

MapPartitionsRDD is the result of the following transformations: