You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2009/10/14 07:28:31 UTC

[jira] Resolved: (PIG-1021) Cast of nested types does work as expected

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

Daniel Dai resolved PIG-1021.
-----------------------------

    Resolution: Duplicate

It is a duplication of Pig-613

> Cast of nested types does work as expected
> ------------------------------------------
>
>                 Key: PIG-1021
>                 URL: https://issues.apache.org/jira/browse/PIG-1021
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.4.0
>            Reporter: Daniel Dai
>             Fix For: 0.6.0
>
>
> The following script does not work as expected:
> 1.txt:
> (0.2,0.3)
> a = load '1.txt';
> b = foreach a generate (tuple(int, int))$0;
> describe b;
> b: {(int,int)}
> dump b;
> ((0.2,0.3))
> The expect result is ((0, 0))

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