spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yasemin Kaya <godo...@gmail.com>
Subject rdd split into new rdd
Date Wed, 23 Dec 2015 15:11:21 GMT
Hi,

I have data
*JavaPairRDD<String, TreeMap<String, Integer>> *format. In example:

*(1610, {a=1, b=1, c=2, d=2}) *

I want to get
*JavaPairRDD<String, List<String>>* In example:


*(1610, {a, b})*
*(1610, {c, d})*

Is there a way to solve this problem?

Best,
yasemin
-- 
hiç ender hiç

Mime
View raw message