[ 
https://issues.apache.org/jira/browse/SPARK-37902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-37902:
------------------------------------

    Assignee:     (was: Apache Spark)

> Update annotations to resolve issues detected with mypy==0.931
> --------------------------------------------------------------
>
>                 Key: SPARK-37902
>                 URL: https://issues.apache.org/jira/browse/SPARK-37902
>             Project: Spark
>          Issue Type: Improvement
>          Components: PySpark
>    Affects Versions: 3.3.0
>            Reporter: Maciej Szymkiewicz
>            Priority: Minor
>
> The following new issues are detected when type checked with {{mypy==0.931}}
> {code}
> python/pyspark/pandas/base.py:879: error: "Sequence[Any]" has no attribute 
> "tolist"  [attr-defined]
> python/pyspark/sql/tests/test_pandas_udf_typehints_with_future_annotations.py:268:
>  error: Incompatible return value type (got "floating[Any]", expected 
> "float")  [return-value]
> python/pyspark/sql/tests/test_pandas_udf_typehints.py:265: error: 
> Incompatible return value type (got "floating[Any]", expected "float")  
> [return-value]
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to