You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2011/03/11 17:28:00 UTC

[jira] Created: (PIG-1897) multiple star projection in a statement does not produce the right plan

multiple star projection in a statement does not produce the right plan
-----------------------------------------------------------------------

                 Key: PIG-1897
                 URL: https://issues.apache.org/jira/browse/PIG-1897
             Project: Pig
          Issue Type: Bug
    Affects Versions: 0.9.0
            Reporter: Thejas M Nair
            Assignee: Thejas M Nair
             Fix For: 0.9.0


{code}
grunt> l = load 'x' as (a,b,c);
grunt> f = foreach l generate * ,*;
grunt> describe f;
f: {a: bytearray,b: bytearray,c: bytearray,(a: bytearray,b: bytearray,c: bytearray)}
-- Note that the 2nd project-star contents are going into a tuple
{code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (PIG-1897) multiple star projection in a statement does not produce the right plan

Posted by "Thejas M Nair (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thejas M Nair updated PIG-1897:
-------------------------------

    Attachment: PIG-1897.1.patch

Changing patch file name from PIG-1277.1.patch to PIG-1897.1.patch .

> multiple star projection in a statement does not produce the right plan
> -----------------------------------------------------------------------
>
>                 Key: PIG-1897
>                 URL: https://issues.apache.org/jira/browse/PIG-1897
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>             Fix For: 0.9.0
>
>         Attachments: PIG-1897.1.patch
>
>
> {code}
> grunt> l = load 'x' as (a,b,c);
> grunt> f = foreach l generate * ,*;
> grunt> describe f;
> f: {a: bytearray,b: bytearray,c: bytearray,(a: bytearray,b: bytearray,c: bytearray)}
> -- Note that the 2nd project-star contents are going into a tuple
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (PIG-1897) multiple star projection in a statement does not produce the right plan

Posted by "Thejas M Nair (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thejas M Nair updated PIG-1897:
-------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Unit test and test-patch passed. Patch committed to trunk.


> multiple star projection in a statement does not produce the right plan
> -----------------------------------------------------------------------
>
>                 Key: PIG-1897
>                 URL: https://issues.apache.org/jira/browse/PIG-1897
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>             Fix For: 0.9.0
>
>         Attachments: PIG-1897.1.patch
>
>
> {code}
> grunt> l = load 'x' as (a,b,c);
> grunt> f = foreach l generate * ,*;
> grunt> describe f;
> f: {a: bytearray,b: bytearray,c: bytearray,(a: bytearray,b: bytearray,c: bytearray)}
> -- Note that the 2nd project-star contents are going into a tuple
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (PIG-1897) multiple star projection in a statement does not produce the right plan

Posted by "Xuefu Zhang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-1897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019434#comment-13019434 ] 

Xuefu Zhang commented on PIG-1897:
----------------------------------

+1

> multiple star projection in a statement does not produce the right plan
> -----------------------------------------------------------------------
>
>                 Key: PIG-1897
>                 URL: https://issues.apache.org/jira/browse/PIG-1897
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>             Fix For: 0.9.0
>
>         Attachments: PIG-1897.1.patch
>
>
> {code}
> grunt> l = load 'x' as (a,b,c);
> grunt> f = foreach l generate * ,*;
> grunt> describe f;
> f: {a: bytearray,b: bytearray,c: bytearray,(a: bytearray,b: bytearray,c: bytearray)}
> -- Note that the 2nd project-star contents are going into a tuple
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (PIG-1897) multiple star projection in a statement does not produce the right plan

Posted by "Thejas M Nair (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thejas M Nair updated PIG-1897:
-------------------------------

    Status: Patch Available  (was: Open)

> multiple star projection in a statement does not produce the right plan
> -----------------------------------------------------------------------
>
>                 Key: PIG-1897
>                 URL: https://issues.apache.org/jira/browse/PIG-1897
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>             Fix For: 0.9.0
>
>         Attachments: PIG-1897.1.patch
>
>
> {code}
> grunt> l = load 'x' as (a,b,c);
> grunt> f = foreach l generate * ,*;
> grunt> describe f;
> f: {a: bytearray,b: bytearray,c: bytearray,(a: bytearray,b: bytearray,c: bytearray)}
> -- Note that the 2nd project-star contents are going into a tuple
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (PIG-1897) multiple star projection in a statement does not produce the right plan

Posted by "Thejas M Nair (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thejas M Nair updated PIG-1897:
-------------------------------

    Attachment:     (was: PIG-1277.1.patch)

> multiple star projection in a statement does not produce the right plan
> -----------------------------------------------------------------------
>
>                 Key: PIG-1897
>                 URL: https://issues.apache.org/jira/browse/PIG-1897
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>             Fix For: 0.9.0
>
>         Attachments: PIG-1897.1.patch
>
>
> {code}
> grunt> l = load 'x' as (a,b,c);
> grunt> f = foreach l generate * ,*;
> grunt> describe f;
> f: {a: bytearray,b: bytearray,c: bytearray,(a: bytearray,b: bytearray,c: bytearray)}
> -- Note that the 2nd project-star contents are going into a tuple
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (PIG-1897) multiple star projection in a statement does not produce the right plan

Posted by "Thejas M Nair (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thejas M Nair updated PIG-1897:
-------------------------------

    Attachment: PIG-1277.1.patch

Projecting multiple star already works in trunk.
PIG-1277.1.patch has a test case.


> multiple star projection in a statement does not produce the right plan
> -----------------------------------------------------------------------
>
>                 Key: PIG-1897
>                 URL: https://issues.apache.org/jira/browse/PIG-1897
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>             Fix For: 0.9.0
>
>         Attachments: PIG-1897.1.patch
>
>
> {code}
> grunt> l = load 'x' as (a,b,c);
> grunt> f = foreach l generate * ,*;
> grunt> describe f;
> f: {a: bytearray,b: bytearray,c: bytearray,(a: bytearray,b: bytearray,c: bytearray)}
> -- Note that the 2nd project-star contents are going into a tuple
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira