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

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -