Grokbase Groups Pig dev August 2008
FAQ
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.

Search Discussions

  • Olga Natkovich (JIRA) at Aug 4, 2008 at 5:49 pm
    [ 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.
  • Olga Natkovich (JIRA) at Aug 21, 2008 at 9:16 pm
    [ 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.
  • Olga Natkovich (JIRA) at Sep 4, 2008 at 12:56 am
    [ 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.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categoriespig, hadoop
postedAug 4, '08 at 5:49p
activeSep 4, '08 at 12:56a
posts4
users1
websitepig.apache.org

1 user in discussion

Olga Natkovich (JIRA): 4 posts

People

Translate

site design / logo © 2023 Grokbase