You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2022/02/23 05:15:00 UTC
[jira] [Resolved] (SPARK-38297) Fix mypy failure on DataFrame.to_numpy in pandas API on Spark
[ https://issues.apache.org/jira/browse/SPARK-38297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon resolved SPARK-38297.
----------------------------------
Fix Version/s: 3.3.0
3.2.2
Resolution: Fixed
Issue resolved by pull request 35617
[https://github.com/apache/spark/pull/35617]
> Fix mypy failure on DataFrame.to_numpy in pandas API on Spark
> -------------------------------------------------------------
>
> Key: SPARK-38297
> URL: https://issues.apache.org/jira/browse/SPARK-38297
> Project: Spark
> Issue Type: Test
> Components: PySpark
> Affects Versions: 3.3.0
> Reporter: Hyukjin Kwon
> Assignee: Hyukjin Kwon
> Priority: Major
> Fix For: 3.3.0, 3.2.2
>
>
> {code}
> 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
> {code}
> https://github.com/apache/spark/runs/5298261168?check_suite_focus=true
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org