You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Olga Natkovich (JIRA)" <ji...@apache.org> on 2009/03/02 17:30:56 UTC

[jira] Assigned: (PIG-532) Casting a field removes its alias.

     [ https://issues.apache.org/jira/browse/PIG-532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olga Natkovich reassigned PIG-532:
----------------------------------

    Assignee: Thejas M Nair

> Casting a field removes its alias.
> ----------------------------------
>
>                 Key: PIG-532
>                 URL: https://issues.apache.org/jira/browse/PIG-532
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: types_branch
>            Reporter: Alan Gates
>            Assignee: Thejas M Nair
>            Priority: Minor
>             Fix For: types_branch
>
>
> Given a script like:
> {code}
> a = loader 'myfile' as (x, y);
> b = foreach a generate (int)x, (double)y;
> c = group a by x;
> {code}
> 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.