You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Wei Zheng (JIRA)" <ji...@apache.org> on 2017/02/28 21:17:45 UTC
[jira] [Commented] (HIVE-7517) RecordIdentifier overrides equals()
but not hashCode()
[ https://issues.apache.org/jira/browse/HIVE-7517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15888880#comment-15888880 ]
Wei Zheng commented on HIVE-7517:
---------------------------------
In RecordIdentifier, "import java.util.Objects;" is not needed. In equals(), I think "if (other == null)" is still needed to avoid NPE.
> RecordIdentifier overrides equals() but not hashCode()
> ------------------------------------------------------
>
> Key: HIVE-7517
> URL: https://issues.apache.org/jira/browse/HIVE-7517
> Project: Hive
> Issue Type: Bug
> Components: Query Processor, Transactions
> Affects Versions: 0.13.1
> Reporter: Eugene Koifman
> Assignee: Eugene Koifman
> Attachments: HIVE-7517.01.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)