cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-9750) hashCode in UDFunction broken
Date Tue, 07 Jul 2015 18:53:05 GMT

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

Jonathan Ellis updated CASSANDRA-9750:
--------------------------------------
    Fix Version/s:     (was: 2.2.x)
                   2.2.0

> 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: 3.0 beta 1, 2.2.0
>
>
> {{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