Re: Join Multiple Relations by Different Fields

2012-12-14 Thread Jonathan Coveney
it's a little confusing, but the following is a tuple: (key1,foo,) it's just not the tuple you want. it is a tuple where the first field is "key1,foo" and the second field is null. The printing makes this ambiguous 2012/12/14 Thomas Bach > (key1,foo,)

Re: Join Multiple Relations by Different Fields

2012-12-14 Thread Thomas Bach
for the noise, Thomas Bach. Footnotes: [1] http://stackoverflow.com/questions/13861570/join-multiple-relations-by-different-fields

Join Multiple Relations by Different Fields

2012-12-14 Thread Thomas Bach
Hi, Say I have three files `data1`, `data2` and `assocs`: $ cat data1 key1,foo key2,bar $ cat data2 key3,braz key4,froz $ cat assoc key1,key3 key2,key4 I load these files via $ pig -b -p debug=WARN -x local Warning: $HADOOP_HOME is deprecated. Apache Pig version 0.10.0 (r1328203) compiled Apr