Re: field name reference - alias

2013-08-08 Thread Pradeep Gollakota
This is expected behavior. The disambiguation comes only after two or more relations are brought together. As per the docs at http://pig.apache.org/docs/r0.11.1/basic.html#disambiguate, the disambiguate operator can only be used to identify field names after JOIN, COGROUP, CROSS, or FLATTEN operat

field name reference - alias

2013-08-08 Thread Keren Ouaknine
Hello, Can one refer to a field name with no ambiguity by its full name (A::x instead of x)? Below are two contradictory behaviors: * * *First example:* A = load '1.txt' using PigStorage(' ') as (x:int, y:chararray, z:chararray); B = load '1_ext.txt' using PigStorage(' ') as (a:int, b:char