[ https://issues.apache.org/jira/browse/HIVE-21835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ivan Suller updated HIVE-21835: ------------------------------- Assignee: Ivan Suller Status: Patch Available (was: Open) > 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 > Assignee: Ivan Suller > Priority: Minor > Attachments: HIVE-21835.1.patch > > > 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)