You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Robert Stupp (JIRA)" <ji...@apache.org> on 2015/07/07 19:29:05 UTC
[jira] [Created] (CASSANDRA-9750) hashCode in UDFunction broken
Robert Stupp created CASSANDRA-9750:
---------------------------------------
Summary: 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.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
(v6.3.4#6332)