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

Enable and fix test_parity_arrow_python_udf

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 3.5.0
    • 3.5.0, 4.0.0
    • PySpark
    • None

    Description

      pyspark.sql.tests.connect.test_parity_arrow_python_udf is not listed in dev/sparktestsupport/modules.py, and it fails when running manually.

      ======================================================================
      ERROR [0.072s]: test_register (pyspark.sql.tests.connect.test_parity_arrow_python_udf.ArrowPythonUDFParityTests)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
      ...
      pyspark.errors.exceptions.base.PySparkRuntimeError: [SCHEMA_MISMATCH_FOR_PANDAS_UDF] Result vector from pandas_udf was not the required length: expected 1, got 38.
      

      Attachments

        Activity

          People

            ueshin Takuya Ueshin
            ueshin Takuya Ueshin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: