cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-9750) hashCode in UDFunction broken
Date Thu, 09 Jul 2015 12:54:50 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-9750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14620454#comment-14620454
] 

Aleksey Yeschenko commented on CASSANDRA-9750:
----------------------------------------------

+1

> hashCode in UDFunction broken
> -----------------------------
>
>                 Key: CASSANDRA-9750
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9750
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Robert Stupp
>            Assignee: Robert Stupp
>            Priority: Trivial
>             Fix For: 2.2.0, 3.0 beta 1
>
>
> {{UDFunction.equals()}} uses the CQL3 type's string representation to compare argument
and return types - but {{UDFunction.hashCode()}} uses the hash of the {{AbstractType}}s. That's
inconsistent and can result in different hash codes for the (functionally) same function.
> Trivial to fix for post-2.2-rc2



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

Mime
View raw message