[
https://issues.apache.org/jira/browse/PIG-3124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nick White updated PIG-3124:
----------------------------
Attachment: PIG-3124.1.patch
Ah yes - that makes sense. I've updated the patch to just include the comments
you mention and an extra unit test...
> Push FLATTENs After FILTERs If Possible
> ---------------------------------------
>
> Key: PIG-3124
> URL: https://issues.apache.org/jira/browse/PIG-3124
> Project: Pig
> Issue Type: Improvement
> Components: impl
> Affects Versions: 0.10.0
> Reporter: Nick White
> Assignee: Nick White
> Fix For: 0.12
>
> Attachments: PIG-3124.0.patch, PIG-3124.1.patch
>
>
> When optimizing a logical plan, it's safe to push a FLATTEN after a FILTER if
> the columns being flattened don't occur in the expression that the filter is
> being done on. When the FILTER comes first the FLATTEN generates fewer rows
> (usually), and so is more efficient.
--
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