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

Prevent deep copy of DataBag into Jython List

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated: