pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PIG-1974) Lineage need to set for every cast
Date Tue, 12 Apr 2011 16:02:05 GMT

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

Thejas M Nair updated PIG-1974:
-------------------------------

    Attachment: PIG-1974.1.patch

> Lineage need to set for every cast
> ----------------------------------
>
>                 Key: PIG-1974
>                 URL: https://issues.apache.org/jira/browse/PIG-1974
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.9.0
>            Reporter: Daniel Dai
>            Assignee: Thejas M Nair
>             Fix For: 0.9.0
>
>         Attachments: PIG-1974.1.patch
>
>
> The following script does not cast correctly:
> {code}
> a = load '1.txt' as (m:map[]);
> b = foreach a generate (map[chararray])m;
> dump b;
> {code}
> Pig throw warning that it cannot cast (map[chararray]) because caster is null.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message