A = load '$input1' using pigStorage() AS (a,b,c,d,e)
B = load '$input2' using pigStorage() AS (a,b1,c1,d1,e1)
C = JOIN A by a, B by a;
D = do something;
'D'应为格式(a,b,c,d,e,b1)
如何实现这一目标?
答案 0 :(得分:2)
D = FOREACH C GENERATE A::a .. A::e, B::b AS b1;