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/01 11:24:32 UTC

[jira] Updated: (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 updated PIG-349:
------------------------------------

    Attachment: bag_schema.patch

The patch (bag_schema.patch) fixes the inconsistency in the bag schema and bag constant. The schema for bags will now require {( and )}.

Unit test that still fail are:

    [junit] Running org.apache.pig.test.TestBuiltin
    [junit] Tests run: 23, Failures: 1, Errors: 1, Time elapsed: 14.259 sec
    [junit] Test org.apache.pig.test.TestBuiltin FAILED

    [junit] Running org.apache.pig.test.TestFilterOpNumeric
    [junit] Tests run: 8, Failures: 0, Errors: 1, Time elapsed: 57.311 sec
    [junit] Test org.apache.pig.test.TestFilterOpNumeric FAILED

    [junit] Running org.apache.pig.test.TestStoreOld
    [junit] Tests run: 3, Failures: 0, Errors: 2, Time elapsed: 40.849 sec
    [junit] Test org.apache.pig.test.TestStoreOld FAILED

> 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.