Showing posts with label Flatmap. Show all posts
Showing posts with label Flatmap. Show all posts

June 18, 2016

Apache Spark | Map and FlatMap

23:42 Posted by Freblogg , , , , No comments
Map and FlatMap functions transform one collection in to another just like the map and flatmap functions in several other functional languages. In the context of Apache Spark, they transform one RDD in to another RDD.

Here is how they differ from each other.