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

Remove support for 0-parameter pandas_udfs

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.3.0
    • Component/s: PySpark, SQL
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: