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

Nick White updated PIG-3123:
----------------------------

    Attachment: PIG-3123.2.patch

Now all the unit tests pass.
                
> Simplify Logical Plans By Removing Unneccessary Identity Projections
> --------------------------------------------------------------------
>
>                 Key: PIG-3123
>                 URL: https://issues.apache.org/jira/browse/PIG-3123
>             Project: Pig
>          Issue Type: Improvement
>          Components: impl
>    Affects Versions: 0.10.0
>            Reporter: Nick White
>            Assignee: Nick White
>             Fix For: 0.12
>
>         Attachments: PIG-3123.0.patch, PIG-3123.1.patch, PIG-3123.2.patch
>
>
> The TypeCastInserter inserts a LOForeach into a logical plan even if it 
> doesn't need to make any casts. The attached patch adds a special case to the 
> TypeCastInserter to skip this behaviour if possible. The patch also refactors 
> some of the if-instanceof-x-else-if-instanceof-y behaviour into subclasses.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to