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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to