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

Fix mypy failure on DataFrame.to_numpy in pandas API on Spark

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.0
    • 3.3.0, 3.2.2
    • PySpark
    • None

    Description

      starting mypy annotations test...
      annotations failed mypy checks:
      python/pyspark/pandas/generic.py:585: error: Incompatible return value type (got "Union[ndarray[Any, Any], ExtensionArray]", expected "ndarray[Any, Any]")  [return-value]
      Found 1 error in 1 file (checked 324 source files)
      1
      

      https://github.com/apache/spark/runs/5298261168?check_suite_focus=true

      Attachments

        Activity

          People

            gurwls223 Hyukjin Kwon
            gurwls223 Hyukjin Kwon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: