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 2011/03/18 01:34:29 UTC

[jira] Resolved: (PIG-1795) new parser : duplicate ConstantExpressions created in inner plan

     [ https://issues.apache.org/jira/browse/PIG-1795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olga Natkovich resolved PIG-1795.
---------------------------------

    Resolution: Fixed

> new parser : duplicate ConstantExpressions created in inner plan
> ----------------------------------------------------------------
>
>                 Key: PIG-1795
>                 URL: https://issues.apache.org/jira/browse/PIG-1795
>             Project: Pig
>          Issue Type: Sub-task
>          Components: impl
>            Reporter: Thejas M Nair
>            Assignee: Xuefu Zhang
>             Fix For: 0.9.0
>
>
> For the query -   
> {code}
> A = load 'x' using org.apache.pig.TextLoader( 'a', 'b' ) as ( u:int, v:long, w:bytearray); 
> B = filter A by 2 > 1;
> {code}
> The plan generated has duplicate ConstExpressions in the inner plan of the filter -
> {code}
> Generated logical plan: #-----------------------------------------------
> # New Logical Plan:
> #-----------------------------------------------
> B: (Name: LOFilter Schema: null)
> |   |
> |   (Name: Constant Type: null Uid: null)
> |   
> |   (Name: GreaterThan Type: null Uid: null)
> |   |
> |   |---(Name: Constant Type: null Uid: null)
> |   |
> |   |---(Name: Constant Type: null Uid: null)
> |   
> |   (Name: Constant Type: null Uid: null)
> |
> |---A: (Name: LOLoad Schema: null)
> {code}

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