You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Rohini Palaniswamy (JIRA)" <ji...@apache.org> on 2017/12/21 23:16:00 UTC

[jira] [Updated] (PIG-5322) ConstantCalculator optimizer is not applied for split

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

Rohini Palaniswamy updated PIG-5322:
------------------------------------
    Attachment: PIG-5322-1.patch

> 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
>
>         Attachments: PIG-5322-1.patch
>
>
> 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)