Skip to content

Conversation

@ueshin
Copy link
Member

@ueshin ueshin commented Jun 17, 2021

What changes were proposed in this pull request?

Adds more type annotations in the file python/pyspark/pandas/accessors.py and 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.

@SparkQA
Copy link

SparkQA commented Jun 17, 2021

Test build #139953 has finished for PR 32956 at commit 0ea3853.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Jun 17, 2021

Kubernetes integration test unable to build dist.

exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44480/

@ueshin ueshin marked this pull request as ready for review June 18, 2021 00:03
@ueshin
Copy link
Member Author

ueshin commented Jun 18, 2021

cc @HyukjinKwon @itholic @xinrong-databricks

@HyukjinKwon
Copy link
Member

Merged to master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants