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 2008/09/23 05:34:44 UTC

[jira] Resolved: (PIG-380) invalid schema for databag constant

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

Olga Natkovich resolved PIG-380.
--------------------------------

    Resolution: Fixed

patch committed. thanks, santhosh

> invalid schema for databag constant
> -----------------------------------
>
>                 Key: PIG-380
>                 URL: https://issues.apache.org/jira/browse/PIG-380
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: types_branch
>            Reporter: Olga Natkovich
>            Assignee: Santhosh Srinivasan
>             Fix For: types_branch
>
>         Attachments: PIG-380.patch
>
>
> One = load 'foo' using PigStorage() as (one: int);
> DataBag = foreach One generate
>         {
>                 ( 'a', 3, 'z' ),
>                 ( 'b', 3, 'z' ),
>                 ( 'a', 2, 'y' ),
>                 ( 'b', 2, 'y' ),
>                 ( 'a', 1, 'x' ),
>                 ( 'b', 1, 'x' )
>         };
> describe DataBag;
> The result is {bytearray}

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