Hi,

I have JavaPairRDD<String, List<Integer>> and as an example what I want to
get.


user_id

cat1

cat2

cat3

cat4

522

0

1

2

0

62

1

0

3

0

661

1

2

0

1


query : the users who have a number (except 0) in cat1 and cat3 column
answer: cat2 -> 522,611 & cat3->522,62 = user 522

How can I get this solution?
I think at first, I should have JavaRDD<List<String>> of user list who are
in that column.

Thank you

Best,
yasemin

-- 
hiç ender hiç

Reply via email to