Casting a field removes its alias.

                 Key: PIG-532
             Project: Pig
          Issue Type: Bug
          Components: impl
    Affects Versions: types_branch
            Reporter: Alan Gates
            Priority: Minor
             Fix For: types_branch

Given a script like:

a = loader 'myfile' as (x, y);
b = foreach a generate (int)x, (double)y;
c = group a by x;

you will get an error that x is an unknown alias.  The cast operator is not 
carrying through the alias.  It should.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Reply via email to