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

Navis updated HIVE-9160:
------------------------
    Assignee: Navis
      Status: Patch Available  (was: Open)

> Suspicious comparing logic in LazyPrimitive
> -------------------------------------------
>
>                 Key: HIVE-9160
>                 URL: https://issues.apache.org/jira/browse/HIVE-9160
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Navis
>            Assignee: Navis
>            Priority: Minor
>         Attachments: HIVE-9160.1.patch.txt
>
>
> {code}
>   @Override
>   public boolean equals(Object obj) {
>     if (!(obj instanceof LazyPrimitive<?, ?>)) {
>       return false;
>     }
>     if (data == obj) {
>       return true;
>     }
>     if (data == null || obj == null) {
>       return false;
>     }
>     return data.equals(((LazyPrimitive<?, ?>) obj).getWritableObject());
>   }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to