【发布时间】:2011-12-24 11:17:06
【问题描述】:
A = load 'a.txt' as (id, a1);
B = load 'b.txt as (id, b1);
C = join A by id, B by id;
D = foreach C generate id,a1,b1;
dump D;
第 4 行失败:
Invalid field projection. Projected field [id] does not exist in schema
我尝试更改为 A.id 但最后一行失败:ERROR 0: Scalar has more than one row in the output.
【问题讨论】:
标签: apache-pig