pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohini Palaniswamy (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PIG-5322) ConstantCalculator optimizer is not applied for split
Date Tue, 26 Dec 2017 22:52:00 GMT

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

Mime
View raw message