Hi to all,
I have 2 rdd D1 and D2 like:

D1:
A,p1,a
A,p2,a2
A,p3,X
B,p3,Y
B,p1,b1

D2:
X,s,V
X,r,2 Y,j,k

I'd like to have a unique rdd D3(Tuple4) like

A,X,a1,a2 B,Y,b1,null

Basically filling with <D1.f0,D2.f0,D1.f2(D1.f1==p1),D1.f2(if D1.f1==p2)>
when D1.f2==D2.f0.
Is that possible and how? Could you show me a simple snippet?

Thanks in advance,

Reply via email to