[ https://issues.apache.org/jira/browse/PIG-3124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13560244#comment-13560244 ]
Jonathan Coveney commented on PIG-3124: --------------------------------------- Nick, The new patch does not include a lot of changes from the old one. Can you upload a definitive patch? > 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