[
https://issues.apache.org/jira/browse/HIVE-16144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16461668#comment-16461668
]
Eugene Koifman commented on HIVE-16144:
---------------------------------------
I don't think CompactionInfo is used as a key anywhere so it's not critical but
maybe good hygiene
> CompactionInfo doesn't have equals/hashCode but used in Set
> -----------------------------------------------------------
>
> Key: HIVE-16144
> URL: https://issues.apache.org/jira/browse/HIVE-16144
> Project: Hive
> Issue Type: Bug
> Components: Transactions
> Reporter: Eugene Koifman
> Assignee: Igor Kryvenko
> Priority: Major
> Fix For: 3.1.0
>
> Attachments: HIVE-16144.01.patch, HIVE-16144.02.patch
>
>
> CompactionTxnHandler.findPotentialCompactions() uses a Set<CompactionInfo>
> but CompactionInfo doesn't have equals/hashCode.
> should do the same as CompactionInfo.compareTo()
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)