You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Richard Ding (JIRA)" <ji...@apache.org> on 2011/04/04 23:21:05 UTC

[jira] [Created] (PIG-1962) Wrong alias assinged to store operator

Wrong alias assinged to store operator
--------------------------------------

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


Given the script

{code}
A = load 'data' as (a0, a1);
B = filter A by a0 > 1;
store B into 'output'; 
{code}

Alias 'A' (instead of 'B') is assigned to the store operator:

{code}
Map Plan
A: Store(file:///Users/trunk/output:org.apache.pig.builtin.PigStorage) - scope-11
|
|---A: New For Each(false,false)[bag] - scope-10
    |   |
    |   Project[bytearray][0] - scope-6
    |   |
    |   Project[bytearray][1] - scope-8
    |
    |---B: Filter[bag] - scope-1
        |   |
        |   Greater Than[boolean] - scope-5
        |   |
        |   |---Cast[int] - scope-3
        |   |   |
        |   |   |---Project[bytearray][0] - scope-2
        |   |
        |   |---Constant(1) - scope-4
        |
        |---A: Load(file:///Users/trunk/data:org.apache.pig.builtin.PigStorage) - scope-0--------
{code}

 

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

[jira] [Updated] (PIG-1962) Wrong alias assinged to store operator

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

Daniel Dai updated PIG-1962:
----------------------------

    Attachment: PIG-1962-1.patch

> Wrong alias assinged to store operator
> --------------------------------------
>
>                 Key: PIG-1962
>                 URL: https://issues.apache.org/jira/browse/PIG-1962
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.9.0
>            Reporter: Richard Ding
>            Assignee: Daniel Dai
>             Fix For: 0.9.0
>
>         Attachments: PIG-1962-1.patch
>
>
> Given the script
> {code}
> A = load 'data' as (a0, a1);
> B = filter A by a0 > 1;
> store B into 'output'; 
> {code}
> Alias 'A' (instead of 'B') is assigned to the store operator:
> {code}
> Map Plan
> A: Store(file:///Users/trunk/output:org.apache.pig.builtin.PigStorage) - scope-11
> |
> |---A: New For Each(false,false)[bag] - scope-10
>     |   |
>     |   Project[bytearray][0] - scope-6
>     |   |
>     |   Project[bytearray][1] - scope-8
>     |
>     |---B: Filter[bag] - scope-1
>         |   |
>         |   Greater Than[boolean] - scope-5
>         |   |
>         |   |---Cast[int] - scope-3
>         |   |   |
>         |   |   |---Project[bytearray][0] - scope-2
>         |   |
>         |   |---Constant(1) - scope-4
>         |
>         |---A: Load(file:///Users/trunk/data:org.apache.pig.builtin.PigStorage) - scope-0--------
> {code}
>  

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

[jira] [Commented] (PIG-1962) Wrong alias assinged to store operator

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

Richard Ding commented on PIG-1962:
-----------------------------------

+1

> Wrong alias assinged to store operator
> --------------------------------------
>
>                 Key: PIG-1962
>                 URL: https://issues.apache.org/jira/browse/PIG-1962
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.9.0
>            Reporter: Richard Ding
>            Assignee: Daniel Dai
>             Fix For: 0.9.0
>
>         Attachments: PIG-1962-1.patch, PIG-1962-2.patch
>
>
> Given the script
> {code}
> A = load 'data' as (a0, a1);
> B = filter A by a0 > 1;
> store B into 'output'; 
> {code}
> Alias 'A' (instead of 'B') is assigned to the store operator:
> {code}
> Map Plan
> A: Store(file:///Users/trunk/output:org.apache.pig.builtin.PigStorage) - scope-11
> |
> |---A: New For Each(false,false)[bag] - scope-10
>     |   |
>     |   Project[bytearray][0] - scope-6
>     |   |
>     |   Project[bytearray][1] - scope-8
>     |
>     |---B: Filter[bag] - scope-1
>         |   |
>         |   Greater Than[boolean] - scope-5
>         |   |
>         |   |---Cast[int] - scope-3
>         |   |   |
>         |   |   |---Project[bytearray][0] - scope-2
>         |   |
>         |   |---Constant(1) - scope-4
>         |
>         |---A: Load(file:///Users/trunk/data:org.apache.pig.builtin.PigStorage) - scope-0--------
> {code}
>  

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

[jira] [Updated] (PIG-1962) Wrong alias assinged to store operator

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

Daniel Dai updated PIG-1962:
----------------------------

    Attachment:     (was: PIG-1962-1.patch)

> Wrong alias assinged to store operator
> --------------------------------------
>
>                 Key: PIG-1962
>                 URL: https://issues.apache.org/jira/browse/PIG-1962
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.9.0
>            Reporter: Richard Ding
>            Assignee: Daniel Dai
>             Fix For: 0.9.0
>
>         Attachments: PIG-1962-1.patch
>
>
> Given the script
> {code}
> A = load 'data' as (a0, a1);
> B = filter A by a0 > 1;
> store B into 'output'; 
> {code}
> Alias 'A' (instead of 'B') is assigned to the store operator:
> {code}
> Map Plan
> A: Store(file:///Users/trunk/output:org.apache.pig.builtin.PigStorage) - scope-11
> |
> |---A: New For Each(false,false)[bag] - scope-10
>     |   |
>     |   Project[bytearray][0] - scope-6
>     |   |
>     |   Project[bytearray][1] - scope-8
>     |
>     |---B: Filter[bag] - scope-1
>         |   |
>         |   Greater Than[boolean] - scope-5
>         |   |
>         |   |---Cast[int] - scope-3
>         |   |   |
>         |   |   |---Project[bytearray][0] - scope-2
>         |   |
>         |   |---Constant(1) - scope-4
>         |
>         |---A: Load(file:///Users/trunk/data:org.apache.pig.builtin.PigStorage) - scope-0--------
> {code}
>  

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

[jira] [Updated] (PIG-1962) Wrong alias assinged to store operator

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

Daniel Dai updated PIG-1962:
----------------------------

    Attachment: PIG-1962-2.patch

PIG-1962-2.patch fixed unit test failures.

> Wrong alias assinged to store operator
> --------------------------------------
>
>                 Key: PIG-1962
>                 URL: https://issues.apache.org/jira/browse/PIG-1962
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.9.0
>            Reporter: Richard Ding
>            Assignee: Daniel Dai
>             Fix For: 0.9.0
>
>         Attachments: PIG-1962-1.patch, PIG-1962-2.patch
>
>
> Given the script
> {code}
> A = load 'data' as (a0, a1);
> B = filter A by a0 > 1;
> store B into 'output'; 
> {code}
> Alias 'A' (instead of 'B') is assigned to the store operator:
> {code}
> Map Plan
> A: Store(file:///Users/trunk/output:org.apache.pig.builtin.PigStorage) - scope-11
> |
> |---A: New For Each(false,false)[bag] - scope-10
>     |   |
>     |   Project[bytearray][0] - scope-6
>     |   |
>     |   Project[bytearray][1] - scope-8
>     |
>     |---B: Filter[bag] - scope-1
>         |   |
>         |   Greater Than[boolean] - scope-5
>         |   |
>         |   |---Cast[int] - scope-3
>         |   |   |
>         |   |   |---Project[bytearray][0] - scope-2
>         |   |
>         |   |---Constant(1) - scope-4
>         |
>         |---A: Load(file:///Users/trunk/data:org.apache.pig.builtin.PigStorage) - scope-0--------
> {code}
>  

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

[jira] [Updated] (PIG-1962) Wrong alias assinged to store operator

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

Daniel Dai updated PIG-1962:
----------------------------

    Attachment: PIG-1962-1.patch

> Wrong alias assinged to store operator
> --------------------------------------
>
>                 Key: PIG-1962
>                 URL: https://issues.apache.org/jira/browse/PIG-1962
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.9.0
>            Reporter: Richard Ding
>            Assignee: Daniel Dai
>             Fix For: 0.9.0
>
>         Attachments: PIG-1962-1.patch
>
>
> Given the script
> {code}
> A = load 'data' as (a0, a1);
> B = filter A by a0 > 1;
> store B into 'output'; 
> {code}
> Alias 'A' (instead of 'B') is assigned to the store operator:
> {code}
> Map Plan
> A: Store(file:///Users/trunk/output:org.apache.pig.builtin.PigStorage) - scope-11
> |
> |---A: New For Each(false,false)[bag] - scope-10
>     |   |
>     |   Project[bytearray][0] - scope-6
>     |   |
>     |   Project[bytearray][1] - scope-8
>     |
>     |---B: Filter[bag] - scope-1
>         |   |
>         |   Greater Than[boolean] - scope-5
>         |   |
>         |   |---Cast[int] - scope-3
>         |   |   |
>         |   |   |---Project[bytearray][0] - scope-2
>         |   |
>         |   |---Constant(1) - scope-4
>         |
>         |---A: Load(file:///Users/trunk/data:org.apache.pig.builtin.PigStorage) - scope-0--------
> {code}
>  

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

[jira] [Resolved] (PIG-1962) Wrong alias assinged to store operator

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

Daniel Dai resolved PIG-1962.
-----------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]

Patch committed to both trunk and 0.9 branch.

> Wrong alias assinged to store operator
> --------------------------------------
>
>                 Key: PIG-1962
>                 URL: https://issues.apache.org/jira/browse/PIG-1962
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.9.0
>            Reporter: Richard Ding
>            Assignee: Daniel Dai
>             Fix For: 0.9.0
>
>         Attachments: PIG-1962-1.patch, PIG-1962-2.patch
>
>
> Given the script
> {code}
> A = load 'data' as (a0, a1);
> B = filter A by a0 > 1;
> store B into 'output'; 
> {code}
> Alias 'A' (instead of 'B') is assigned to the store operator:
> {code}
> Map Plan
> A: Store(file:///Users/trunk/output:org.apache.pig.builtin.PigStorage) - scope-11
> |
> |---A: New For Each(false,false)[bag] - scope-10
>     |   |
>     |   Project[bytearray][0] - scope-6
>     |   |
>     |   Project[bytearray][1] - scope-8
>     |
>     |---B: Filter[bag] - scope-1
>         |   |
>         |   Greater Than[boolean] - scope-5
>         |   |
>         |   |---Cast[int] - scope-3
>         |   |   |
>         |   |   |---Project[bytearray][0] - scope-2
>         |   |
>         |   |---Constant(1) - scope-4
>         |
>         |---A: Load(file:///Users/trunk/data:org.apache.pig.builtin.PigStorage) - scope-0--------
> {code}
>  

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