Hi,
I'm a newbie in Spark and faces the following use case :
val data = Array ( "A", "1;2;3")
val rdd = sc.parallelize(data)
// Something here to produce RDD of (Key,value)
// ( "A", "1") , ("A", "2"), ("A", "3)
Does anybody know how to do ?
Thank's
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/Key-Value-decomposition-tp17966.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]