[ https://issues.apache.org/jira/browse/PIG-651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757305#action_12757305 ]
Olga Natkovich commented on PIG-651: ------------------------------------ I agree that there is not enough gain > PERFORMANCE: Use specialized POForEachNoFlatten for cases where the foreach > has no flattens > ------------------------------------------------------------------------------------------- > > Key: PIG-651 > URL: https://issues.apache.org/jira/browse/PIG-651 > Project: Pig > Issue Type: Improvement > Affects Versions: 0.2.0 > Reporter: Pradeep Kamath > Assignee: Pradeep Kamath > Attachments: PIG-651.patch > > > POForEach has lot of code to handle flattening (cross product) of the fields > in the generate. This is relevant only when atleast one field in the generate > needs to be flattened. If all fields in the generate do not need to be > flattened, a more simplified and hopefully more efficient POForEach can be > used. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.