Hi , Can some one please explain the output of the flat map data in RDD as below {1, 2, 3, 3}
rdd.flatMap(x => x.to(3)) output as below {1, 2, 3, 2, 3, 3, 3} i am not able to understand how the output came as above. Thanks,
Hi , Can some one please explain the output of the flat map data in RDD as below {1, 2, 3, 3}
rdd.flatMap(x => x.to(3)) output as below {1, 2, 3, 2, 3, 3, 3} i am not able to understand how the output came as above. Thanks,