hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Santhosh Srinivasan (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (PIG-349) discrepancy in bags representation
Date Mon, 18 Aug 2008 06:45:44 GMT

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

sms edited comment on PIG-349 at 8/17/08 11:44 PM:
-------------------------------------------------------------------

The issue reported in the bug is a duplicate of Pig-353 (https://issues.apache.org/jira/browse/PIG-353).
The QueryParser 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)});

      was (Author: sms):
    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.


Mime
View raw message