[ https://issues.apache.org/jira/browse/PIG-2555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13219505#comment-13219505 ]
Raghu Angadi commented on PIG-2555: ----------------------------------- I meant to fix this only for 0.9. patch attached. in 0.10 and above this functionality is part of normal PigStorage. Daniel, did you mean to change the Fix Version to 0.10? The bug does not exist there (didn't positively confirm, but I am pretty sure). > PigStorageSchema initializes schema and PigContext for every tuple > ------------------------------------------------------------------ > > Key: PIG-2555 > URL: https://issues.apache.org/jira/browse/PIG-2555 > Project: Pig > Issue Type: Bug > Affects Versions: 0.9.1 > Reporter: Raghu Angadi > Assignee: Raghu Angadi > Fix For: 0.10 > > Attachments: PIG-2555-branch-0.9.patch > > > {{PigStorageSchema.getNest()}} initializes schema (and as a result > PigContext) for every tuple by mistake. Initializing PigContext is extremely > costly. > This does not affect 10.x or trunk since PigStorageSchema's functionality is > rolled into PigStorage. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira