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 2010/08/23 22:28:19 UTC

[jira] Created: (PIG-1557) couple of issue mapping aliases to jobs

couple of issue mapping aliases to jobs
---------------------------------------

                 Key: PIG-1557
                 URL: https://issues.apache.org/jira/browse/PIG-1557
             Project: Pig
          Issue Type: Bug
    Affects Versions: 0.8.0
            Reporter: Olga Natkovich
            Assignee: Richard Ding


I have a simple script:

A = load '/user/pig/tests/data/singlefile/studenttab10k' as (name, age, gpa);
B = group A by name;
C = foreach B generate group, COUNT(A);
D = order C by $1;
E = limit D 10;
dump E;

I noticed a couple of issues with alias to job mapping: neither load(A) nor limit(E) shows in the output


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


[jira] Updated: (PIG-1557) couple of issue mapping aliases to jobs

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

Richard Ding updated PIG-1557:
------------------------------

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

> couple of issue mapping aliases to jobs
> ---------------------------------------
>
>                 Key: PIG-1557
>                 URL: https://issues.apache.org/jira/browse/PIG-1557
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Olga Natkovich
>            Assignee: Richard Ding
>             Fix For: 0.8.0
>
>         Attachments: PIG-1557.patch, PIG-1557_1.patch
>
>
> I have a simple script:
> A = load '/user/pig/tests/data/singlefile/studenttab10k' as (name, age, gpa);
> B = group A by name;
> C = foreach B generate group, COUNT(A);
> D = order C by $1;
> E = limit D 10;
> dump E;
> I noticed a couple of issues with alias to job mapping: neither load(A) nor limit(E) shows in the output

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


[jira] Updated: (PIG-1557) couple of issue mapping aliases to jobs

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

Richard Ding updated PIG-1557:
------------------------------

    Attachment: PIG-1557.patch

The alias for load statement is missing. Add load alias to the alias list.

> couple of issue mapping aliases to jobs
> ---------------------------------------
>
>                 Key: PIG-1557
>                 URL: https://issues.apache.org/jira/browse/PIG-1557
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Olga Natkovich
>            Assignee: Richard Ding
>             Fix For: 0.8.0
>
>         Attachments: PIG-1557.patch
>
>
> I have a simple script:
> A = load '/user/pig/tests/data/singlefile/studenttab10k' as (name, age, gpa);
> B = group A by name;
> C = foreach B generate group, COUNT(A);
> D = order C by $1;
> E = limit D 10;
> dump E;
> I noticed a couple of issues with alias to job mapping: neither load(A) nor limit(E) shows in the output

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


[jira] Updated: (PIG-1557) couple of issue mapping aliases to jobs

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

Richard Ding updated PIG-1557:
------------------------------

    Fix Version/s: 0.8.0

> couple of issue mapping aliases to jobs
> ---------------------------------------
>
>                 Key: PIG-1557
>                 URL: https://issues.apache.org/jira/browse/PIG-1557
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Olga Natkovich
>            Assignee: Richard Ding
>             Fix For: 0.8.0
>
>         Attachments: PIG-1557.patch
>
>
> I have a simple script:
> A = load '/user/pig/tests/data/singlefile/studenttab10k' as (name, age, gpa);
> B = group A by name;
> C = foreach B generate group, COUNT(A);
> D = order C by $1;
> E = limit D 10;
> dump E;
> I noticed a couple of issues with alias to job mapping: neither load(A) nor limit(E) shows in the output

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


[jira] Updated: (PIG-1557) couple of issue mapping aliases to jobs

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

Richard Ding updated PIG-1557:
------------------------------

    Attachment: PIG-1557_1.patch

New patch adds a unit test.

> couple of issue mapping aliases to jobs
> ---------------------------------------
>
>                 Key: PIG-1557
>                 URL: https://issues.apache.org/jira/browse/PIG-1557
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Olga Natkovich
>            Assignee: Richard Ding
>             Fix For: 0.8.0
>
>         Attachments: PIG-1557.patch, PIG-1557_1.patch
>
>
> I have a simple script:
> A = load '/user/pig/tests/data/singlefile/studenttab10k' as (name, age, gpa);
> B = group A by name;
> C = foreach B generate group, COUNT(A);
> D = order C by $1;
> E = limit D 10;
> dump E;
> I noticed a couple of issues with alias to job mapping: neither load(A) nor limit(E) shows in the output

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


[jira] Commented: (PIG-1557) couple of issue mapping aliases to jobs

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

Olga Natkovich commented on PIG-1557:
-------------------------------------

Looks like limit issue I was seeing has been addressed in the latest trunk. 

I think we need to add unit tests to catch this things in the future.



> couple of issue mapping aliases to jobs
> ---------------------------------------
>
>                 Key: PIG-1557
>                 URL: https://issues.apache.org/jira/browse/PIG-1557
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Olga Natkovich
>            Assignee: Richard Ding
>             Fix For: 0.8.0
>
>         Attachments: PIG-1557.patch
>
>
> I have a simple script:
> A = load '/user/pig/tests/data/singlefile/studenttab10k' as (name, age, gpa);
> B = group A by name;
> C = foreach B generate group, COUNT(A);
> D = order C by $1;
> E = limit D 10;
> dump E;
> I noticed a couple of issues with alias to job mapping: neither load(A) nor limit(E) shows in the output

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


[jira] Updated: (PIG-1557) couple of issue mapping aliases to jobs

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

Richard Ding updated PIG-1557:
------------------------------

          Status: Patch Available  (was: Open)
    Hadoop Flags: [Reviewed]

> couple of issue mapping aliases to jobs
> ---------------------------------------
>
>                 Key: PIG-1557
>                 URL: https://issues.apache.org/jira/browse/PIG-1557
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Olga Natkovich
>            Assignee: Richard Ding
>             Fix For: 0.8.0
>
>         Attachments: PIG-1557.patch, PIG-1557_1.patch
>
>
> I have a simple script:
> A = load '/user/pig/tests/data/singlefile/studenttab10k' as (name, age, gpa);
> B = group A by name;
> C = foreach B generate group, COUNT(A);
> D = order C by $1;
> E = limit D 10;
> dump E;
> I noticed a couple of issues with alias to job mapping: neither load(A) nor limit(E) shows in the output

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


[jira] Commented: (PIG-1557) couple of issue mapping aliases to jobs

Posted by "Dmitriy V. Ryaboy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-1557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901686#action_12901686 ] 

Dmitriy V. Ryaboy commented on PIG-1557:
----------------------------------------

+1.

> couple of issue mapping aliases to jobs
> ---------------------------------------
>
>                 Key: PIG-1557
>                 URL: https://issues.apache.org/jira/browse/PIG-1557
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Olga Natkovich
>            Assignee: Richard Ding
>             Fix For: 0.8.0
>
>         Attachments: PIG-1557.patch
>
>
> I have a simple script:
> A = load '/user/pig/tests/data/singlefile/studenttab10k' as (name, age, gpa);
> B = group A by name;
> C = foreach B generate group, COUNT(A);
> D = order C by $1;
> E = limit D 10;
> dump E;
> I noticed a couple of issues with alias to job mapping: neither load(A) nor limit(E) shows in the output

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


[jira] Commented: (PIG-1557) couple of issue mapping aliases to jobs

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

Richard Ding commented on PIG-1557:
-----------------------------------

Patch committed to trunk.

> couple of issue mapping aliases to jobs
> ---------------------------------------
>
>                 Key: PIG-1557
>                 URL: https://issues.apache.org/jira/browse/PIG-1557
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Olga Natkovich
>            Assignee: Richard Ding
>             Fix For: 0.8.0
>
>         Attachments: PIG-1557.patch, PIG-1557_1.patch
>
>
> I have a simple script:
> A = load '/user/pig/tests/data/singlefile/studenttab10k' as (name, age, gpa);
> B = group A by name;
> C = foreach B generate group, COUNT(A);
> D = order C by $1;
> E = limit D 10;
> dump E;
> I noticed a couple of issues with alias to job mapping: neither load(A) nor limit(E) shows in the output

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


[jira] Commented: (PIG-1557) couple of issue mapping aliases to jobs

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

Olga Natkovich commented on PIG-1557:
-------------------------------------

Looks good. Please, commit

> couple of issue mapping aliases to jobs
> ---------------------------------------
>
>                 Key: PIG-1557
>                 URL: https://issues.apache.org/jira/browse/PIG-1557
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Olga Natkovich
>            Assignee: Richard Ding
>             Fix For: 0.8.0
>
>         Attachments: PIG-1557.patch, PIG-1557_1.patch
>
>
> I have a simple script:
> A = load '/user/pig/tests/data/singlefile/studenttab10k' as (name, age, gpa);
> B = group A by name;
> C = foreach B generate group, COUNT(A);
> D = order C by $1;
> E = limit D 10;
> dump E;
> I noticed a couple of issues with alias to job mapping: neither load(A) nor limit(E) shows in the output

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