Santosh is the best person to answer this, as he wrote that code.  But, IIRC 
its purpose is to store the "full" name of a column after cogroups and joins.  
For example,

A = load 'foo' as (u, v);
B = load 'bar' as (x, y);
C = join A by u, B by x;

I believe the canonicalname will now hold A::u, etc.

Alan.

On Nov 16, 2011, at 7:25 PM, Jonathan Coveney wrote:

> If you do:
> 
> Schema s1 = Utils.getSchemaFromString(
> "b:bag{t:tuple(name:chararray,age:int)}");
> 
> 
> then it will all be -1'd out. It doesn't seem to be used anywhere, I was
> just wondering, since in other case, it will be populated properly.
> 
> 
> Thanks
> 
> Jon

Reply via email to