Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-43797 Python User-defined Table Functions
  3. SPARK-44644

Improve error messages for creating Python UDTFs with pickling errors

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.5.0
    • 4.0.0
    • PySpark
    • None

    Description

      Currently, when users create a Python UDTF with a non-pickleable object, it throws this error:

      _pickle.PicklingError: Cannot pickle files that are not opened for reading: w

       

      We should make this more user-friendly

      Attachments

        Activity

          People

            allisonwang-db Allison Wang
            allisonwang-db Allison Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: