Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-3679

pickle the exact globals of functions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 1.2.0
    • PySpark
    • None

    Description

      function.func_code.co_names has all the names used in the function, including name of attributes. It will pickle some unnecessary globals if there is a global having the same name with attribute (in co_names).

      There is a regression introduced by PR 2114 https://github.com/apache/spark/pull/2144/files

      Attachments

        Activity

          People

            davies Davies Liu
            davies Davies Liu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: