You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/05/20 23:02:32 UTC

[GitHub] [spark] ueshin opened a new pull request #32614: [SPARK-35465][PYTHON] Set up the mypy configuration to enable disallow_untyped_defs check for pandas APIs on Spark module.

ueshin opened a new pull request #32614:
URL: https://github.com/apache/spark/pull/32614


   ### What changes were proposed in this pull request?
   
   Sets up the `mypy` configuration to enable `disallow_untyped_defs` check for pandas APIs on Spark module.
   
   ### Why are the changes needed?
   
   Currently many functions in the main codes in pandas APIs on Spark module are still missing type annotations and disabled `mypy` check `disallow_untyped_defs`.
   
   We should add more type annotations and enable the mypy check.
   
   ### 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.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA commented on pull request #32614: [SPARK-35465][PYTHON] Set up the mypy configuration to enable disallow_untyped_defs check for pandas APIs on Spark module.

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #32614:
URL: https://github.com/apache/spark/pull/32614#issuecomment-845578390


   Kubernetes integration test status success
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/43295/
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA commented on pull request #32614: [SPARK-35465][PYTHON] Set up the mypy configuration to enable disallow_untyped_defs check for pandas APIs on Spark module.

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #32614:
URL: https://github.com/apache/spark/pull/32614#issuecomment-845552436


   **[Test build #138772 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/138772/testReport)** for PR 32614 at commit [`9f870fe`](https://github.com/apache/spark/commit/9f870fe10acb1c4e4a348742b301035923bc799b).
    * This patch passes all tests.
    * This patch merges cleanly.
    * This patch adds no public classes.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins commented on pull request #32614: [SPARK-35465][PYTHON] Set up the mypy configuration to enable disallow_untyped_defs check for pandas APIs on Spark module.

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #32614:
URL: https://github.com/apache/spark/pull/32614#issuecomment-845556716


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/138772/
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA commented on pull request #32614: [SPARK-35465][PYTHON] Set up the mypy configuration to enable disallow_untyped_defs check for pandas APIs on Spark module.

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #32614:
URL: https://github.com/apache/spark/pull/32614#issuecomment-845538400


   **[Test build #138771 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/138771/testReport)** for PR 32614 at commit [`14f1327`](https://github.com/apache/spark/commit/14f1327d005c881aef319cd6e9c180ad9203e95a).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins commented on pull request #32614: [SPARK-35465][PYTHON] Set up the mypy configuration to enable disallow_untyped_defs check for pandas APIs on Spark module.

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #32614:
URL: https://github.com/apache/spark/pull/32614#issuecomment-845539359


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/138771/
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins removed a comment on pull request #32614: [SPARK-35465][PYTHON] Set up the mypy configuration to enable disallow_untyped_defs check for pandas APIs on Spark module.

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #32614:
URL: https://github.com/apache/spark/pull/32614#issuecomment-845556716


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/138772/
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA commented on pull request #32614: [SPARK-35465][PYTHON] Set up the mypy configuration to enable disallow_untyped_defs check for pandas APIs on Spark module.

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #32614:
URL: https://github.com/apache/spark/pull/32614#issuecomment-845541801


   **[Test build #138772 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/138772/testReport)** for PR 32614 at commit [`9f870fe`](https://github.com/apache/spark/commit/9f870fe10acb1c4e4a348742b301035923bc799b).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA removed a comment on pull request #32614: [SPARK-35465][PYTHON] Set up the mypy configuration to enable disallow_untyped_defs check for pandas APIs on Spark module.

Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #32614:
URL: https://github.com/apache/spark/pull/32614#issuecomment-845541801


   **[Test build #138772 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/138772/testReport)** for PR 32614 at commit [`9f870fe`](https://github.com/apache/spark/commit/9f870fe10acb1c4e4a348742b301035923bc799b).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins commented on pull request #32614: [SPARK-35465][PYTHON] Set up the mypy configuration to enable disallow_untyped_defs check for pandas APIs on Spark module.

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #32614:
URL: https://github.com/apache/spark/pull/32614#issuecomment-845577568


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/43294/
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins removed a comment on pull request #32614: [SPARK-35465][PYTHON] Set up the mypy configuration to enable disallow_untyped_defs check for pandas APIs on Spark module.

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #32614:
URL: https://github.com/apache/spark/pull/32614#issuecomment-845577568






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] ueshin closed pull request #32614: [SPARK-35465][PYTHON] Set up the mypy configuration to enable disallow_untyped_defs check for pandas APIs on Spark module.

Posted by GitBox <gi...@apache.org>.
ueshin closed pull request #32614:
URL: https://github.com/apache/spark/pull/32614


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA commented on pull request #32614: [SPARK-35465][PYTHON] Set up the mypy configuration to enable disallow_untyped_defs check for pandas APIs on Spark module.

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #32614:
URL: https://github.com/apache/spark/pull/32614#issuecomment-845563697


   Kubernetes integration test starting
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/43294/
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA commented on pull request #32614: [SPARK-35465][PYTHON] Set up the mypy configuration to enable disallow_untyped_defs check for pandas APIs on Spark module.

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #32614:
URL: https://github.com/apache/spark/pull/32614#issuecomment-845575743


   Kubernetes integration test status success
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/43294/
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA removed a comment on pull request #32614: [SPARK-35465][PYTHON] Set up the mypy configuration to enable disallow_untyped_defs check for pandas APIs on Spark module.

Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #32614:
URL: https://github.com/apache/spark/pull/32614#issuecomment-845538400


   **[Test build #138771 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/138771/testReport)** for PR 32614 at commit [`14f1327`](https://github.com/apache/spark/commit/14f1327d005c881aef319cd6e9c180ad9203e95a).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins removed a comment on pull request #32614: [SPARK-35465][PYTHON] Set up the mypy configuration to enable disallow_untyped_defs check for pandas APIs on Spark module.

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #32614:
URL: https://github.com/apache/spark/pull/32614#issuecomment-845539359


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/138771/
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA commented on pull request #32614: [SPARK-35465][PYTHON] Set up the mypy configuration to enable disallow_untyped_defs check for pandas APIs on Spark module.

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #32614:
URL: https://github.com/apache/spark/pull/32614#issuecomment-845539329


   **[Test build #138771 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/138771/testReport)** for PR 32614 at commit [`14f1327`](https://github.com/apache/spark/commit/14f1327d005c881aef319cd6e9c180ad9203e95a).
    * This patch **fails Python style tests**.
    * This patch merges cleanly.
    * This patch adds the following public classes _(experimental)_:
     * `class CachedAccessor(Generic[T]):`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] SparkQA commented on pull request #32614: [SPARK-35465][PYTHON] Set up the mypy configuration to enable disallow_untyped_defs check for pandas APIs on Spark module.

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #32614:
URL: https://github.com/apache/spark/pull/32614#issuecomment-845566365


   Kubernetes integration test starting
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/43295/
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] ueshin commented on pull request #32614: [SPARK-35465][PYTHON] Set up the mypy configuration to enable disallow_untyped_defs check for pandas APIs on Spark module.

Posted by GitBox <gi...@apache.org>.
ueshin commented on pull request #32614:
URL: https://github.com/apache/spark/pull/32614#issuecomment-846140091


   Thanks! merging to master.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] AmplabJenkins commented on pull request #32614: [SPARK-35465][PYTHON] Set up the mypy configuration to enable disallow_untyped_defs check for pandas APIs on Spark module.

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #32614:
URL: https://github.com/apache/spark/pull/32614#issuecomment-845578411


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/43295/
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org