hadoop - Select one relations all fields & one or two from other relation on PIG JOIN, how? -
a = load '$input1' using pigstorage() (a,b,c,d,e)
b = load '$input2' using pigstorage() (a,b1,c1,d1,e1)
c = join a, b a;
d = something;
'd' should of format (a,b,c,d,e,b1)
how achieve this?
d = foreach c generate a::a .. a::e, b::b b1;
Comments
Post a Comment