Rohini Palaniswamy created PIG-5322:
---------------------------------------

             Summary: ConstantCalculator optimizer is not applied for split
                 Key: PIG-5322
                 URL: https://issues.apache.org/jira/browse/PIG-5322
             Project: Pig
          Issue Type: Bug
            Reporter: Rohini Palaniswamy
            Assignee: Rohini Palaniswamy
             Fix For: 0.18.0


SPLIT A INTO B IF x == -2L, C OTHERWISE;

generates 
{code}
|       |       |---PONegative[long] - scope-15
|       |           |
|       |           |---Constant(2) - scope-14
{code}

instead of just
{code}
 |---Constant(-2) - scope-24
{code}





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to