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

Removing empty keys in UDFContext broke one LoadFunc

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.16.0
    • tez
    • None
    • Reviewed

    Description

      PIG-4697 separated UDFContext specific to each vertex. But it also had an optimization to remove empty keys. That broke one user LoadFunc which was keeping the UDFContext Properties as a local variable and serializing in setLocation only if getSchema() was called. Even if UDFContext.isFrontend() logic was used it would have worked.

      Attachments

        1. PIG-4736-1.patch
          8 kB
          Rohini Palaniswamy

        Issue Links

          Activity

            People

              rohini Rohini Palaniswamy
              rohini Rohini Palaniswamy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: