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/03/02 06:40:54 UTC

[GitHub] [spark] LuciferYang opened a new pull request #31702: [SPARK-34587][CORE][SQL][DSTREAM][SS][3.0] Replaces map and getOrElse(false/true) with exists/forall

LuciferYang opened a new pull request #31702:
URL: https://github.com/apache/spark/pull/31702


   ### What changes were proposed in this pull request?
   Replaces `map and getOrElse(false/true)` with `exists/forall`, it's semantically consistent, but looks simpler.
   
   **Before**
   
   ```
   option.map(booleanFunc).getOrElse(false)
   option.map(booleanFunc).getOrElse(true)
   ```
   
   **After**
   
   ```
   option.exists(booleanFunc)
   option.forall(booleanFunc)
   ```
   
   ### Why are the changes needed?
   Code Simpilefications.
   
   
   ### Does this PR introduce _any_ user-facing change?
   No.
   
   
   ### How was this patch tested?
   Pass the Jenkins or GitHub Action


----------------------------------------------------------------
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 #31702: [SPARK-34587][CORE][SQL][DSTREAM][SS][3.0] Replaces map and getOrElse(false/true) with exists/forall

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






----------------------------------------------------------------
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 #31702: [SPARK-34587][CORE][SQL][DSTREAM][SS][3.0] Replaces map and getOrElse(false/true) with exists/forall

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






----------------------------------------------------------------
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 #31702: [SPARK-34587][CORE][SQL][DSTREAM][SS][3.0] Replaces map and getOrElse(false/true) with exists/forall

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


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


----------------------------------------------------------------
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 #31702: [SPARK-34587][CORE][SQL][DSTREAM][SS][3.0] Replaces map and getOrElse(false/true) with exists/forall

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


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


----------------------------------------------------------------
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 #31702: [SPARK-34587][CORE][SQL][DSTREAM][SS][3.0] Replaces map and getOrElse(false/true) with exists/forall

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


   **[Test build #135641 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135641/testReport)** for PR 31702 at commit [`0ad0912`](https://github.com/apache/spark/commit/0ad0912880c2b515a59026861c28ef795c9ffc05).


----------------------------------------------------------------
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 #31702: [SPARK-34587][CORE][SQL][DSTREAM][SS][3.0] Replaces map and getOrElse(false/true) with exists/forall

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






----------------------------------------------------------------
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 #31702: [SPARK-34587][CORE][SQL][DSTREAM][SS][3.0] Replaces map and getOrElse(false/true) with exists/forall

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






----------------------------------------------------------------
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] LuciferYang closed pull request #31702: [SPARK-34587][CORE][SQL][DSTREAM][SS][3.0] Replaces map and getOrElse(false/true) with exists/forall

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


   


----------------------------------------------------------------
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 #31702: [SPARK-34587][CORE][SQL][DSTREAM][SS][3.0] Replaces map and getOrElse(false/true) with exists/forall

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


   **[Test build #135627 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135627/testReport)** for PR 31702 at commit [`7a91d3d`](https://github.com/apache/spark/commit/7a91d3d682f6db92c85005a54fe80c2f3417d15e).


----------------------------------------------------------------
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 #31702: [SPARK-34587][CORE][SQL][DSTREAM][SS][3.0] Replaces map and getOrElse(false/true) with exists/forall

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


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


----------------------------------------------------------------
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 #31702: [SPARK-34587][CORE][SQL][DSTREAM][SS][3.0] Replaces map and getOrElse(false/true) with exists/forall

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


   **[Test build #135636 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135636/testReport)** for PR 31702 at commit [`e1a988e`](https://github.com/apache/spark/commit/e1a988e3bd56ad7b5fa631ef578556142ee77a2f).


----------------------------------------------------------------
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 #31702: [SPARK-34587][CORE][SQL][DSTREAM][SS][3.0] Replaces map and getOrElse(false/true) with exists/forall

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


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


----------------------------------------------------------------
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 #31702: [SPARK-34587][CORE][SQL][DSTREAM][SS][3.0] Replaces map and getOrElse(false/true) with exists/forall

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






----------------------------------------------------------------
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 #31702: [SPARK-34587][CORE][SQL][DSTREAM][SS][3.0] Replaces map and getOrElse(false/true) with exists/forall

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


   **[Test build #135641 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135641/testReport)** for PR 31702 at commit [`0ad0912`](https://github.com/apache/spark/commit/0ad0912880c2b515a59026861c28ef795c9ffc05).


----------------------------------------------------------------
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 #31702: [SPARK-34587][CORE][SQL][DSTREAM][SS][3.0] Replaces map and getOrElse(false/true) with exists/forall

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


   **[Test build #135636 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135636/testReport)** for PR 31702 at commit [`e1a988e`](https://github.com/apache/spark/commit/e1a988e3bd56ad7b5fa631ef578556142ee77a2f).


----------------------------------------------------------------
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