You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Ivan Suller (JIRA)" <ji...@apache.org> on 2019/06/05 08:58:01 UTC
[jira] [Updated] (HIVE-21835) Unnecessary null checks in
org.apache.hadoop.hive.ql.optimizer.StatsOptimizer
[ https://issues.apache.org/jira/browse/HIVE-21835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ivan Suller updated HIVE-21835:
-------------------------------
Priority: Minor (was: Major)
> Unnecessary null checks in org.apache.hadoop.hive.ql.optimizer.StatsOptimizer
> -----------------------------------------------------------------------------
>
> Key: HIVE-21835
> URL: https://issues.apache.org/jira/browse/HIVE-21835
> Project: Hive
> Issue Type: Improvement
> Reporter: Ivan Suller
> Priority: Minor
>
> There are several null checks in org.apache.hadoop.hive.ql.optimizer.StatsOptimizer after Long.parseLong(...) call. This method returns with a primitive long value, which cannot be null - a null check after this call is redundant.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)