Answer Posted / Manoj Kumar Vishwakarma
FlatMap in Apache Spark is a transformation function that takes an input DStream (DataStream) and applies a user-defined map function to each element of the data stream. The flatMap operation then flattens the resulting collection of objects, effectively transforming one record into multiple records.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers