Grokbase Groups Pig dev August 2008
FAQ
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
Fix For: types_branch


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.

Search Discussions

  • Santhosh Srinivasan (JIRA) at Aug 21, 2008 at 9:17 am
    [ https://issues.apache.org/jira/browse/PIG-380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Santhosh Srinivasan reassigned PIG-380:
    ---------------------------------------

    Assignee: Santhosh Srinivasan
    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


    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.
  • Santhosh Srinivasan (JIRA) at Sep 23, 2008 at 2:37 am
    [ https://issues.apache.org/jira/browse/PIG-380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Santhosh Srinivasan updated PIG-380:
    ------------------------------------

    Attachment: PIG-380.patch

    Attached patch (PIG-380.patch) addresses the following:

    1. Computes the field schema of constants
    2. Fixes issues in the type checker for bincond, mod and user function type checking
    3. New unit tests and changes to existing unit tests to accommodate the schema computation of constants

    Note: The schema of a bag constant will contain the schema of a tuple which in turn contains the columns.

    All unit tests pass.
    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.
  • Santhosh Srinivasan (JIRA) at Sep 23, 2008 at 2:49 am
    [ https://issues.apache.org/jira/browse/PIG-380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Santhosh Srinivasan updated PIG-380:
    ------------------------------------

    Patch Info: [Patch Available]
    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.
  • Olga Natkovich (JIRA) at Sep 23, 2008 at 3:35 am
    [ 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.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categoriespig, hadoop
postedAug 18, '08 at 7:16p
activeSep 23, '08 at 3:35a
posts5
users1
websitepig.apache.org

1 user in discussion

Olga Natkovich (JIRA): 5 posts

People

Translate

site design / logo © 2022 Grokbase