cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-9750) hashCode in UDFunction broken
Date Tue, 07 Jul 2015 17:29:05 GMT
Robert Stupp created CASSANDRA-9750:

             Summary: hashCode in UDFunction broken
                 Key: CASSANDRA-9750
             Project: Cassandra
          Issue Type: Bug
            Reporter: Robert Stupp
            Assignee: Robert Stupp
            Priority: Trivial
             Fix For: 2.2.x

{{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

View raw message