You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (Commented) (JIRA)" <ji...@apache.org> on 2012/03/02 09:23:59 UTC

[jira] [Commented] (PIG-2555) PigStorageSchema initializes schema and PigContext for every tuple

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

Daniel Dai commented on PIG-2555:
---------------------------------

Fix version was 0.9.2, since I close 0.9.2 tag, Jira move all 0.9.2 issues to 0.10. Feel free to correct it.
                
> 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.3
>
>         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