hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] Created: (PIG-1363) Unnecessary loadFunc instantiations
Date Wed, 07 Apr 2010 19:08:34 GMT
Unnecessary loadFunc instantiations

                 Key: PIG-1363
                 URL: https://issues.apache.org/jira/browse/PIG-1363
             Project: Pig
          Issue Type: Bug
    Affects Versions: 0.7.0
            Reporter: Ashutosh Chauhan
             Fix For: 0.8.0

In MRCompiler loadfuncs are instantiated at multiple locations in different visit methods.
This is inconsistent and confusing. LoadFunc should be instantiated at only one place, ideally
in LogToPhyTanslation#visit(LOLoad). A getter should be added to POLoad to retrieve this instantiated
loadFunc wherever it is needed in later stages of compilation. 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message