[
https://issues.apache.org/jira/browse/SPARK-36268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17385858#comment-17385858
]
Apache Spark commented on SPARK-36268:
--------------------------------------
User 'HyukjinKwon' has created a pull request for this issue:
https://github.com/apache/spark/pull/33487
> Make PySpark codebase compatible with other versions of mypy
> ------------------------------------------------------------
>
> Key: SPARK-36268
> URL: https://issues.apache.org/jira/browse/SPARK-36268
> Project: Spark
> Issue Type: Bug
> Components: PySpark
> Affects Versions: 3.2.0
> Reporter: Hyukjin Kwon
> Priority: Major
>
> https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/141519/console
> {code}
> python/pyspark/mllib/tree.pyi:29: error: Overloaded function signatures 1 and
> 2 overlap with incompatible return types
> python/pyspark/mllib/tree.pyi:38: error: Overloaded function signatures 1 and
> 2 overlap with incompatible return types
> python/pyspark/mllib/feature.pyi:34: error: Overloaded function signatures 1
> and 2 overlap with incompatible return types
> python/pyspark/mllib/feature.pyi:42: error: Overloaded function signatures 1
> and 2 overlap with incompatible return types
> python/pyspark/mllib/feature.pyi:48: error: Overloaded function signatures 1
> and 2 overlap with incompatible return types
> python/pyspark/mllib/feature.pyi:54: error: Overloaded function signatures 1
> and 2 overlap with incompatible return types
> python/pyspark/mllib/feature.pyi:76: error: Overloaded function signatures 1
> and 2 overlap with incompatible return types
> python/pyspark/mllib/feature.pyi:124: error: Overloaded function signatures 1
> and 2 overlap with incompatible return types
> python/pyspark/mllib/feature.pyi:165: error: Overloaded function signatures 1
> and 2 overlap with incompatible return types
> python/pyspark/mllib/clustering.pyi:45: error: Overloaded function signatures
> 1 and 2 overlap with incompatible return types
> python/pyspark/mllib/clustering.pyi:72: error: Overloaded function signatures
> 1 and 2 overlap with incompatible return types
> python/pyspark/mllib/classification.pyi:39: error: Overloaded function
> signatures 1 and 2 overlap with incompatible return types
> python/pyspark/mllib/classification.pyi:52: error: Overloaded function
> signatures 1 and 2 overlap with incompatible return types
> Found 13 errors in 4 files (checked 314 source files)
> 1
> {code}
> Jenkins installed mypy at https://issues.apache.org/jira/browse/SPARK-32797
> but seems the version installed is not same as GIthub Actions. we should make
> the codebase compatible with it.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]