[ 
https://issues.apache.org/jira/browse/HIVE-21835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Laszlo Bodor updated HIVE-21835:
--------------------------------
    Fix Version/s: 4.0.0

> 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
>             Fix For: 4.0.0
>
>         Attachments: HIVE-21835.1.patch, HIVE-21835.2.patch, 
> HIVE-21835.2.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)

Reply via email to