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