You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2016/04/19 12:14:25 UTC
[jira] [Closed] (SPARK-14728) Add a rule to block the use of
getOrElse(null) which can simply be orNull.
[ https://issues.apache.org/jira/browse/SPARK-14728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon closed SPARK-14728.
--------------------------------
Resolution: Invalid
> Add a rule to block the use of getOrElse(null) which can simply be orNull.
> --------------------------------------------------------------------------
>
> Key: SPARK-14728
> URL: https://issues.apache.org/jira/browse/SPARK-14728
> Project: Spark
> Issue Type: Improvement
> Affects Versions: 2.0.0
> Reporter: Hyukjin Kwon
> Priority: Trivial
>
> Currently, it looks {{getOrElse(null)}} is being used which just can be {{orNull}} sparsely.
> As it is the same expression but shorten and clear, I think the rule for this might have to be added.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org