Grokbase Groups Pig dev August 2010
FAQ
Nested describe failed when the alias is not referred in the first foreach inner plan
-------------------------------------------------------------------------------------

Key: PIG-1552
URL: https://issues.apache.org/jira/browse/PIG-1552
Project: Pig
Issue Type: Bug
Components: impl
Affects Versions: 0.8.0
Reporter: Daniel Dai
Assignee: Daniel Dai
Fix For: 0.8.0


The following script fail:

{code}
A = load 'studentab10k' as (name, age, gpa);
B = group A by name;
C = foreach B {
D = distinct A.age;
generate group, COUNT(D);
}
describe C::D;
{code}

If we remove group from generate statement, then it works

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

Search Discussions

  • Daniel Dai (JIRA) at Aug 20, 2010 at 10:16 pm
    [ https://issues.apache.org/jira/browse/PIG-1552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Daniel Dai updated PIG-1552:
    ----------------------------

    Attachment: PIG-1552-1.patch
    Nested describe failed when the alias is not referred in the first foreach inner plan
    -------------------------------------------------------------------------------------

    Key: PIG-1552
    URL: https://issues.apache.org/jira/browse/PIG-1552
    Project: Pig
    Issue Type: Bug
    Components: impl
    Affects Versions: 0.8.0
    Reporter: Daniel Dai
    Assignee: Daniel Dai
    Fix For: 0.8.0

    Attachments: PIG-1552-1.patch


    The following script fail:
    {code}
    A = load 'studentab10k' as (name, age, gpa);
    B = group A by name;
    C = foreach B {
    D = distinct A.age;
    generate group, COUNT(D);
    }
    describe C::D;
    {code}
    If we remove group from generate statement, then it works
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Daniel Dai (JIRA) at Aug 20, 2010 at 10:16 pm
    [ https://issues.apache.org/jira/browse/PIG-1552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Daniel Dai updated PIG-1552:
    ----------------------------

    Status: Patch Available (was: Open)
    Nested describe failed when the alias is not referred in the first foreach inner plan
    -------------------------------------------------------------------------------------

    Key: PIG-1552
    URL: https://issues.apache.org/jira/browse/PIG-1552
    Project: Pig
    Issue Type: Bug
    Components: impl
    Affects Versions: 0.8.0
    Reporter: Daniel Dai
    Assignee: Daniel Dai
    Fix For: 0.8.0

    Attachments: PIG-1552-1.patch


    The following script fail:
    {code}
    A = load 'studentab10k' as (name, age, gpa);
    B = group A by name;
    C = foreach B {
    D = distinct A.age;
    generate group, COUNT(D);
    }
    describe C::D;
    {code}
    If we remove group from generate statement, then it works
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Daniel Dai (JIRA) at Aug 20, 2010 at 10:27 pm
    [ https://issues.apache.org/jira/browse/PIG-1552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Daniel Dai updated PIG-1552:
    ----------------------------

    Attachment: PIG-1552-1.patch
    Nested describe failed when the alias is not referred in the first foreach inner plan
    -------------------------------------------------------------------------------------

    Key: PIG-1552
    URL: https://issues.apache.org/jira/browse/PIG-1552
    Project: Pig
    Issue Type: Bug
    Components: impl
    Affects Versions: 0.8.0
    Reporter: Daniel Dai
    Assignee: Daniel Dai
    Fix For: 0.8.0

    Attachments: PIG-1552-1.patch


    The following script fail:
    {code}
    A = load 'studentab10k' as (name, age, gpa);
    B = group A by name;
    C = foreach B {
    D = distinct A.age;
    generate group, COUNT(D);
    }
    describe C::D;
    {code}
    If we remove group from generate statement, then it works
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Daniel Dai (JIRA) at Aug 20, 2010 at 10:27 pm
    [ https://issues.apache.org/jira/browse/PIG-1552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Daniel Dai updated PIG-1552:
    ----------------------------

    Attachment: (was: PIG-1552-1.patch)
    Nested describe failed when the alias is not referred in the first foreach inner plan
    -------------------------------------------------------------------------------------

    Key: PIG-1552
    URL: https://issues.apache.org/jira/browse/PIG-1552
    Project: Pig
    Issue Type: Bug
    Components: impl
    Affects Versions: 0.8.0
    Reporter: Daniel Dai
    Assignee: Daniel Dai
    Fix For: 0.8.0

    Attachments: PIG-1552-1.patch


    The following script fail:
    {code}
    A = load 'studentab10k' as (name, age, gpa);
    B = group A by name;
    C = foreach B {
    D = distinct A.age;
    generate group, COUNT(D);
    }
    describe C::D;
    {code}
    If we remove group from generate statement, then it works
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Daniel Dai (JIRA) at Aug 20, 2010 at 10:29 pm
    [ https://issues.apache.org/jira/browse/PIG-1552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Daniel Dai updated PIG-1552:
    ----------------------------

    Attachment: PIG-1552-1.patch
    Nested describe failed when the alias is not referred in the first foreach inner plan
    -------------------------------------------------------------------------------------

    Key: PIG-1552
    URL: https://issues.apache.org/jira/browse/PIG-1552
    Project: Pig
    Issue Type: Bug
    Components: impl
    Affects Versions: 0.8.0
    Reporter: Daniel Dai
    Assignee: Daniel Dai
    Fix For: 0.8.0

    Attachments: PIG-1552-1.patch


    The following script fail:
    {code}
    A = load 'studentab10k' as (name, age, gpa);
    B = group A by name;
    C = foreach B {
    D = distinct A.age;
    generate group, COUNT(D);
    }
    describe C::D;
    {code}
    If we remove group from generate statement, then it works
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Daniel Dai (JIRA) at Aug 20, 2010 at 10:29 pm
    [ https://issues.apache.org/jira/browse/PIG-1552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Daniel Dai updated PIG-1552:
    ----------------------------

    Attachment: (was: PIG-1552-1.patch)
    Nested describe failed when the alias is not referred in the first foreach inner plan
    -------------------------------------------------------------------------------------

    Key: PIG-1552
    URL: https://issues.apache.org/jira/browse/PIG-1552
    Project: Pig
    Issue Type: Bug
    Components: impl
    Affects Versions: 0.8.0
    Reporter: Daniel Dai
    Assignee: Daniel Dai
    Fix For: 0.8.0

    Attachments: PIG-1552-1.patch


    The following script fail:
    {code}
    A = load 'studentab10k' as (name, age, gpa);
    B = group A by name;
    C = foreach B {
    D = distinct A.age;
    generate group, COUNT(D);
    }
    describe C::D;
    {code}
    If we remove group from generate statement, then it works
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Aniket Mokashi (JIRA) at Aug 20, 2010 at 11:02 pm
    [ https://issues.apache.org/jira/browse/PIG-1552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12900905#action_12900905 ]

    Aniket Mokashi commented on PIG-1552:
    -------------------------------------

    +1
    Nested describe failed when the alias is not referred in the first foreach inner plan
    -------------------------------------------------------------------------------------

    Key: PIG-1552
    URL: https://issues.apache.org/jira/browse/PIG-1552
    Project: Pig
    Issue Type: Bug
    Components: impl
    Affects Versions: 0.8.0
    Reporter: Daniel Dai
    Assignee: Daniel Dai
    Fix For: 0.8.0

    Attachments: PIG-1552-1.patch


    The following script fail:
    {code}
    A = load 'studentab10k' as (name, age, gpa);
    B = group A by name;
    C = foreach B {
    D = distinct A.age;
    generate group, COUNT(D);
    }
    describe C::D;
    {code}
    If we remove group from generate statement, then it works
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Daniel Dai (JIRA) at Aug 23, 2010 at 9:31 pm
    [ https://issues.apache.org/jira/browse/PIG-1552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901593#action_12901593 ]

    Daniel Dai commented on PIG-1552:
    ---------------------------------

    Unit test pass.

    test-patch result:

    [exec] +1 overall.
    [exec]
    [exec] +1 @author. The patch does not contain any @author tags.
    [exec]
    [exec] +1 tests included. The patch appears to include 3 new or modified tests.
    [exec]
    [exec] +1 javadoc. The javadoc tool did not generate any warning messages.
    [exec]
    [exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings.
    [exec]
    [exec] +1 findbugs. The patch does not introduce any new Findbugs warnings.
    [exec]
    [exec] +1 release audit. The applied patch does not increase the total number of release audit warnings.

    Nested describe failed when the alias is not referred in the first foreach inner plan
    -------------------------------------------------------------------------------------

    Key: PIG-1552
    URL: https://issues.apache.org/jira/browse/PIG-1552
    Project: Pig
    Issue Type: Bug
    Components: impl
    Affects Versions: 0.8.0
    Reporter: Daniel Dai
    Assignee: Daniel Dai
    Fix For: 0.8.0

    Attachments: PIG-1552-1.patch


    The following script fail:
    {code}
    A = load 'studentab10k' as (name, age, gpa);
    B = group A by name;
    C = foreach B {
    D = distinct A.age;
    generate group, COUNT(D);
    }
    describe C::D;
    {code}
    If we remove group from generate statement, then it works
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Daniel Dai (JIRA) at Aug 23, 2010 at 9:34 pm
    [ https://issues.apache.org/jira/browse/PIG-1552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Daniel Dai updated PIG-1552:
    ----------------------------

    Status: Resolved (was: Patch Available)
    Hadoop Flags: [Reviewed]
    Resolution: Fixed

    Patch committed.
    Nested describe failed when the alias is not referred in the first foreach inner plan
    -------------------------------------------------------------------------------------

    Key: PIG-1552
    URL: https://issues.apache.org/jira/browse/PIG-1552
    Project: Pig
    Issue Type: Bug
    Components: impl
    Affects Versions: 0.8.0
    Reporter: Daniel Dai
    Assignee: Daniel Dai
    Fix For: 0.8.0

    Attachments: PIG-1552-1.patch


    The following script fail:
    {code}
    A = load 'studentab10k' as (name, age, gpa);
    B = group A by name;
    C = foreach B {
    D = distinct A.age;
    generate group, COUNT(D);
    }
    describe C::D;
    {code}
    If we remove group from generate statement, then it works
    --
    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 20, '10 at 10:12p
activeAug 23, '10 at 9:34p
posts10
users1
websitepig.apache.org

1 user in discussion

Daniel Dai (JIRA): 10 posts

People

Translate

site design / logo © 2022 Grokbase