Answer Posted / Sudhakar Yadav
In Apache Spark, FlatMap is used to transform each record in a DataFrame or RDD (Resilient Distributed Dataset) into zero or more records. This can be useful for various tasks such as splitting strings, breaking down nested structures, or performing complex data processing. The resulting records are then combined back into one DataFrame or RDD.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers