[SPARK-35472][PYTHON] Fix disallow_untyped_defs mypy checks for pyspark.pandas.generic#32957
[SPARK-35472][PYTHON] Fix disallow_untyped_defs mypy checks for pyspark.pandas.generic#32957ueshin wants to merge 5 commits intoapache:masterfrom
Conversation
|
Test build #139955 has finished for PR 32957 at commit
|
|
Kubernetes integration test starting |
|
Kubernetes integration test status success |
|
Test build #139956 has finished for PR 32957 at commit
|
|
Kubernetes integration test starting |
|
Kubernetes integration test status success |
|
Test build #140000 has finished for PR 32957 at commit
|
|
Kubernetes integration test starting |
|
Jenkins, retest this please. |
|
Kubernetes integration test status success |
|
Test build #140002 has finished for PR 32957 at commit
|
|
cc @HyukjinKwon @itholic @xinrong-databricks |
|
Kubernetes integration test starting |
|
Kubernetes integration test status success |
|
Test build #140008 has finished for PR 32957 at commit
|
|
Kubernetes integration test unable to build dist. exiting with code: 1 |
|
Merged to master. |
What changes were proposed in this pull request?
Adds more type annotations in the file
python/pyspark/pandas/generic.pyand fixes the mypy check failures.Why are the changes needed?
We should enable more disallow_untyped_defs mypy checks.
Does this PR introduce any user-facing change?
Yes.
This PR adds more type annotations in pandas APIs on Spark module, which can impact interaction with development tools for users.
How was this patch tested?
The mypy check with a new configuration and existing tests should pass.