[ 
https://issues.apache.org/jira/browse/PIG-349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619138#action_12619138
 ] 

Olga Natkovich commented on PIG-349:
------------------------------------

I tried the patch but with it I can't figure out how to specify bags at all:

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

The following line produces huge error stack.

> 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
>            Priority: Critical
>             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.

Reply via email to