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 11:56:25 UTC
[jira] [Created] (SPARK-14728) Add a rule to block the use of
getOrElse(null) which can simply be orNull.
Hyukjin Kwon created SPARK-14728:
------------------------------------
Summary: 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