You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Olga Natkovich (JIRA)" <ji...@apache.org> on 2008/08/04 19:48:44 UTC

[jira] Updated: (PIG-358) performance improvement in POUserFunc

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

Olga Natkovich updated PIG-358:
-------------------------------

        Fix Version/s: types_branch
    Affects Version/s: types_branch

> performance improvement in POUserFunc
> -------------------------------------
>
>                 Key: PIG-358
>                 URL: https://issues.apache.org/jira/browse/PIG-358
>             Project: Pig
>          Issue Type: Improvement
>    Affects Versions: types_branch
>            Reporter: Olga Natkovich
>             Fix For: types_branch
>
>
> Currently, it has the following code in processInput:
>  if(rslt.size()==1 && rslt.get(0) instanceof Tuple){
>                 res.result = rslt.get(0);
>  }
> Note it does getInstance on every Tuple it process even though it should already know from the return type.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.