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

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

    [ https://issues.apache.org/jira/browse/PIG-5322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16304813#comment-16304813 ] 

Koji Noguchi commented on PIG-5322:
-----------------------------------

+1

> 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, PIG-5322-2.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)