You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Santhosh Srinivasan (JIRA)" <ji...@apache.org> on 2008/08/18 08:41:44 UTC

[jira] Resolved: (PIG-349) discrepancy in bags representation

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

Santhosh Srinivasan resolved PIG-349.
-------------------------------------

    Resolution: Duplicate

The issue reported in the bug is a duplicate of Pig-353 (https://issues.apache.org/jira/browse/PIG-353). The QueryParse correctly parses the query given below. However, the GruntParser has an issue with '{' and '}' in schema definitions.

A = load 'foo' as (B: bag{T: tuple(I: int)});

> discrepancy in bags representation
> ----------------------------------
>
>                 Key: PIG-349
>                 URL: https://issues.apache.org/jira/browse/PIG-349
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: types_branch
>            Reporter: Olga Natkovich
>            Assignee: Santhosh Srinivasan
>             Fix For: types_branch
>
>         Attachments: bag_schema.patch
>
>
> Currently, when I describe a bag in AS clause of the load statement, I can place bag of integers there. However, when describing constant bags, I can only create a bag of tuples that contain integers.
> My understanding is that at this time we only support bags of tuples. If that's the case, AS clause needs to match that

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