You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2022/05/25 13:37:00 UTC

[jira] [Commented] (SPARK-39289) Replace map.getOrElse(false/true) with exists/forall

    [ https://issues.apache.org/jira/browse/SPARK-39289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17542052#comment-17542052 ] 

Apache Spark commented on SPARK-39289:
--------------------------------------

User 'dcoliversun' has created a pull request for this issue:
https://github.com/apache/spark/pull/36666

> Replace map.getOrElse(false/true) with exists/forall
> ----------------------------------------------------
>
>                 Key: SPARK-39289
>                 URL: https://issues.apache.org/jira/browse/SPARK-39289
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core, SQL, Structured Streaming
>    Affects Versions: 3.3.0
>            Reporter: qian
>            Priority: Trivial
>
> Replace _map(_.toBoolean).getOrElse(false)_ with _exists(_.toBoolean)_
> Replace _map(_.toBoolean).getOrElse(true)_ with _exists(_.toBoolean)_



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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