You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Olga Natkovich (JIRA)" <ji...@apache.org> on 2008/09/04 23:31:44 UTC

[jira] Created: (PIG-414) explicit split causes name to be dropped from describe

explicit split causes name to be dropped from describe
------------------------------------------------------

                 Key: PIG-414
                 URL: https://issues.apache.org/jira/browse/PIG-414
             Project: Pig
          Issue Type: Bug
    Affects Versions: types_branch
            Reporter: Olga Natkovich
            Priority: Minor
             Fix For: types_branch


A = load 'studenttab10k' as (name: chararray, age: int, gpa: float);
B = load 'studenttab10k' as (name: chararray, age: int, gpa: float);
split A into A1 if name eq 'foo', A2 if name eq 'bar';
C = cogroup A1 by name, B by name;
describe C;
C: {group: chararray,{name: chararray,age: integer,gpa: float},B: {name: chararray,age: integer,gpa: float}}

Note that name of A1 is missing from dewcribe

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (PIG-414) explicit split causes name to be dropped from describe

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

Alan Gates reassigned PIG-414:
------------------------------

    Assignee: Santhosh Srinivasan

This affects more than just describe.  If you have a query like:

{code}
a = load 'infile';
split a into a1 if $0 > 'm', a2 if $0 <= 'm';
b = cogroup a1 by $1, a2 by $1;
c = foreach b generate flatten(a1), flatten(a2);
store c into 'outfile';
{code}

it will fail saying that a1 and a2 are not valid aliases in b at the foreach line.


> explicit split causes name to be dropped from describe
> ------------------------------------------------------
>
>                 Key: PIG-414
>                 URL: https://issues.apache.org/jira/browse/PIG-414
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: types_branch
>            Reporter: Olga Natkovich
>            Assignee: Santhosh Srinivasan
>            Priority: Minor
>             Fix For: types_branch
>
>
> A = load 'studenttab10k' as (name: chararray, age: int, gpa: float);
> B = load 'studenttab10k' as (name: chararray, age: int, gpa: float);
> split A into A1 if name eq 'foo', A2 if name eq 'bar';
> C = cogroup A1 by name, B by name;
> describe C;
> C: {group: chararray,{name: chararray,age: integer,gpa: float},B: {name: chararray,age: integer,gpa: float}}
> Note that name of A1 is missing from dewcribe

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (PIG-414) explicit split causes name to be dropped from describe

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

Olga Natkovich resolved PIG-414.
--------------------------------

    Resolution: Fixed

This issue has been resolved by the patch to PIG-407

> explicit split causes name to be dropped from describe
> ------------------------------------------------------
>
>                 Key: PIG-414
>                 URL: https://issues.apache.org/jira/browse/PIG-414
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: types_branch
>            Reporter: Olga Natkovich
>            Assignee: Pradeep Kamath
>            Priority: Minor
>             Fix For: types_branch
>
>
> A = load 'studenttab10k' as (name: chararray, age: int, gpa: float);
> B = load 'studenttab10k' as (name: chararray, age: int, gpa: float);
> split A into A1 if name eq 'foo', A2 if name eq 'bar';
> C = cogroup A1 by name, B by name;
> describe C;
> C: {group: chararray,{name: chararray,age: integer,gpa: float},B: {name: chararray,age: integer,gpa: float}}
> Note that name of A1 is missing from dewcribe

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (PIG-414) explicit split causes name to be dropped from describe

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

Santhosh Srinivasan reassigned PIG-414:
---------------------------------------

    Assignee: Pradeep Kamath  (was: Santhosh Srinivasan)

Assigning the bug to Pradeep, who has a fix.

> explicit split causes name to be dropped from describe
> ------------------------------------------------------
>
>                 Key: PIG-414
>                 URL: https://issues.apache.org/jira/browse/PIG-414
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: types_branch
>            Reporter: Olga Natkovich
>            Assignee: Pradeep Kamath
>            Priority: Minor
>             Fix For: types_branch
>
>
> A = load 'studenttab10k' as (name: chararray, age: int, gpa: float);
> B = load 'studenttab10k' as (name: chararray, age: int, gpa: float);
> split A into A1 if name eq 'foo', A2 if name eq 'bar';
> C = cogroup A1 by name, B by name;
> describe C;
> C: {group: chararray,{name: chararray,age: integer,gpa: float},B: {name: chararray,age: integer,gpa: float}}
> Note that name of A1 is missing from dewcribe

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.