You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yang Jie (Jira)" <ji...@apache.org> on 2023/07/10 15:06:00 UTC

[jira] [Assigned] (SPARK-44351) Make some syntactic simplification

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

Yang Jie reassigned SPARK-44351:
--------------------------------

    Assignee: Yang Jie

> 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
>
> - 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org