pig-dev  

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

Olga Natkovich (JIRA)
Mon, 04 Aug 2008 10:49:06 -0700

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.