[
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)