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

Robert Stupp commented on CASSANDRA-9750:
-----------------------------------------

Thanks.
Committed as af1c65843efbcbd14ab8e1fefda7ec8650e71074

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

Reply via email to