You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Navis (JIRA)" <ji...@apache.org> on 2014/12/18 07:56:13 UTC
[jira] [Created] (HIVE-9160) Suspicious comparing logic in
LazyPrimitive
Navis created HIVE-9160:
---------------------------
Summary: Suspicious comparing logic in LazyPrimitive
Key: HIVE-9160
URL: https://issues.apache.org/jira/browse/HIVE-9160
Project: Hive
Issue Type: Bug
Reporter: Navis
Priority: Minor
{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)