[ https://issues.apache.org/jira/browse/PIG-802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711811#action_12711811 ]
Pradeep Kamath commented on PIG-802: ------------------------------------ I think even in the future if ReadOnceBags are used in places other than order by, they would need to be used immediately after a POPackageLite. So tying the two together is not bad and would reduce code duplication. > PERFORMANCE: not creating bags for ORDER BY > ------------------------------------------- > > Key: PIG-802 > URL: https://issues.apache.org/jira/browse/PIG-802 > Project: Pig > Issue Type: Improvement > Affects Versions: 0.2.0 > Reporter: Olga Natkovich > Attachments: OrderByOptimization.patch > > > Order by should be changed to not use POPackage to put all of the tuples in a > bag on the reduce side, as the bag is just immediately flattened. It can > instead work like join does for the last input in the join. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.