Hi
It may be simple question, but I can not figure out the most efficient way.
There is a RDD containing list.

RDD
(
 List(1,2,3,4,5)
 List(6,7,8,9,10)
)

I want to transform this to

RDD
(
List(1,6)
List(2,7)
List(3,8)
List(4,9)
List(5,10)
)

And I want to achieve this without using collect method because realworld
RDD can have a lot of elements then it may cause out of memory.
Any ideas will be welcome.

Best regards
Kevin



--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/Transform-RDD-List-tp11948.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org

Reply via email to