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

Prevent deep copy of DataBag into Jython List

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Flags:
      Patch

      Description

      Pig Python UDFs currently perform deep copies on Bags converting them into Jython PyLists. This can cause Jython UDFs to run out of memory and fail. A Jython DataBag which extends PyList could allow for iterative access to DataBag elements, while only performing a deep copy when necessary.

        Attachments

        1. PIG-5338.patch
          15 kB
          Greg Phillips
        2. PIG-5338.001.patch
          16 kB
          Greg Phillips

          Activity

            People

            • Assignee:
              gphillips Greg Phillips
              Reporter:
              gphillips Greg Phillips
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: