[ 
https://issues.apache.org/jira/browse/SPARK-44351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yang Jie resolved SPARK-44351.
------------------------------
    Fix Version/s: 3.5.0
       Resolution: Fixed

Issue resolved by pull request 41915
[https://github.com/apache/spark/pull/41915]

> Make some syntactic simplification
> ----------------------------------
>
>                 Key: SPARK-44351
>                 URL: https://issues.apache.org/jira/browse/SPARK-44351
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.5.0
>            Reporter: Yang Jie
>            Assignee: Yang Jie
>            Priority: Minor
>             Fix For: 3.5.0
>
>
> - Use `exists` instead of `find` and `emptiness check`
> - Use `orNull` instead of `etOrElse(null)`
> - Use `getOrElse(key, value)` instead of `get(key).getOrElse(value)` on map
> - Use `find` instead of `filter` + `headOption`



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to