To use RDD operations we can use either foreachRDD()
or transorm()
but I can not understand what's the difference between them.
Asked
Active
Viewed 617 times
0

pheeleeppoo
- 1,491
- 6
- 25
- 29

Slim AZAIZ
- 646
- 1
- 8
- 21
-
Not really a logical question imo. See https://stackoverflow.com/questions/32168039/what-is-exact-difference-between-spark-transform-in-dstream-and-map. – thebluephantom Nov 12 '17 at 10:04
-
See https://stackoverflow.com/questions/36421619/whats-the-meaning-of-dstream-foreachrdd-function – thebluephantom Nov 12 '17 at 10:05