Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-1363

Unnecessary loadFunc instantiations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8.0
    • 0.8.0
    • None
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--pig-1363.patch
          9 kB
          Ashutosh Chauhan
        2. ASF.LICENSE.NOT.GRANTED--pig-1363_1.patch
          1 kB
          Ashutosh Chauhan

        Activity

          People

            ashutoshc Ashutosh Chauhan
            ashutoshc Ashutosh Chauhan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: