[ 
https://issues.apache.org/jira/browse/PIG-2555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13216580#comment-13216580
 ] 

Dmitriy V. Ryaboy commented on PIG-2555:
----------------------------------------

In trunk of piggybank, it just redirects to builtins, where the problem is 
fixed.
We can backport to 0.9 which is what I think Raghu is suggesting in this 
ticket. It'd be a messy backport due to the 0.10 PigStorage rewrite that this 
was a part of.
                
> 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.9.2
>
>
> {{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

        

Reply via email to