You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Dmitriy V. Ryaboy (Updated) (JIRA)" <ji...@apache.org> on 2012/01/02 07:01:33 UTC

[jira] [Updated] (PIG-2454) Make use of primitive tuples in builtin UDFs and operators

     [ https://issues.apache.org/jira/browse/PIG-2454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitriy V. Ryaboy updated PIG-2454:
-----------------------------------

    Attachment: PIG-2454.patch

This patch converts a number of internal UDFs and Physical Operators to use primitive tuples.

It also adds a couple of minor optimizations that address inefficiencies that popped up in my profiling -- excessive use of progress reporting, using tuple.append instead of tuple.set when we could pre-allocated the right number of fields, memoizing array.size() results (yes, that popped up in the profiler), etc.
                
> Make use of primitive tuples in builtin UDFs and operators
> ----------------------------------------------------------
>
>                 Key: PIG-2454
>                 URL: https://issues.apache.org/jira/browse/PIG-2454
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Dmitriy V. Ryaboy
>            Assignee: Dmitriy V. Ryaboy
>         Attachments: PIG-2454.patch
>
>
> With PIG-2359, we introduce efficient primitives-only tuples. This ticket is for converting existing code to make use of them.

--
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