Member since
β04-07-2017
1
Post
0
Kudos Received
0
Solutions
β04-07-2017
05:38 AM
You can use RDD.toLocalIterator() to bring the data to the driver (one RDD partition at a time for your low banner ad design costπ val array = sc.parallelize(List(1, 2, 3, 4))
for(rec <- array.toLocalIterator) { println(rec) }
... View more