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

Remove support for 0-parameter pandas_udfs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.0
    • 2.3.0
    • PySpark, SQL
    • None

    Description

      SPARK-21190 Added support for vectorized pandas_udfs and allows a 0-parameter udf to be created, but it must accept **kwargs to get the correct length of the vector to return. This behavior is a confusing and awkward to implement and the overall pandas_udf usage would be much cleaner if this was not allowed.

      Attachments

        Issue Links

          Activity

            People

              bryanc Bryan Cutler
              bryanc Bryan Cutler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: