hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olga Natkovich (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-358) performance improvement in POUserFunc
Date Thu, 21 Aug 2008 21:15:44 GMT

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

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

    Priority: Minor  (was: Major)

> 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
>            Priority: Minor
>             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.


Mime
View raw message