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] Created: (PIG-358) performance improvement in POUserFunc
performance improvement in POUserFunc
-------------------------------------
Key: PIG-358
URL: https://issues.apache.org/jira/browse/PIG-358
Project: Pig
Issue Type: Improvement
Reporter: Olga Natkovich
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.
[jira] Updated: (PIG-358) PERFORMANCE: performance improvement in
POUserFunc
Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olga Natkovich updated PIG-358:
-------------------------------
Summary: PERFORMANCE: performance improvement in POUserFunc (was: performance improvement in POUserFunc)
> PERFORMANCE: 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.
[jira] Updated: (PIG-358) performance improvement in POUserFunc
Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (PIG-358) performance improvement in POUserFunc
Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
[ 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.