syntax.us Let the syntax do the talking
Blog Contact Posts Questions Tags Hire Me

Question:
In Spark how to foreach a sequence?

Let the syntax foreach a sequence:
scala>
scala>
scala> (1 to 5).foreach(jj => println(jj))
1
2
3
4
5
scala>
scala>
scala>


syntax.us Let the syntax do the talking
Blog Contact Posts Questions Tags Hire Me