Spark Programming Guide - Spark 2.1.1 Documentation
spark.apache.org › docs › 2Parallelized collections are created by calling SparkContext ’s parallelize method on an existing collection in your driver program (a Scala Seq ). The elements of the collection are copied to form a distributed dataset that can be operated on in parallel. For example, here is how to create a parallelized collection holding the numbers 1 to 5:
RDD Programming Guide - Spark 3.3.1 Documentation
spark.apache.org › docs › latestParallelized collections are created by calling SparkContext ’s parallelize method on an existing collection in your driver program (a Scala Seq ). The elements of the collection are copied to form a distributed dataset that can be operated on in parallel. For example, here is how to create a parallelized collection holding the numbers 1 to 5: