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