drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hanifi Gunes (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-2124) Make MaterializedField#hashCode compute a hashcode by structure and not by reference
Date Fri, 30 Jan 2015 01:33:35 GMT

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

Hanifi Gunes updated DRILL-2124:
--------------------------------
    Description: MaterializedField#hashCode relies on Set#hashCode that is -by reference-
sums up child hash codes that may collide. We should ensure hashCode yields the same value
given another field with the same structure.  (was: MaterializedField#hashCode relies on Set#hashCode
that is by reference. We should ensure hashCode yields the same value given another field
with the same structure.)

> Make MaterializedField#hashCode compute a hashcode by structure and not by reference
> ------------------------------------------------------------------------------------
>
>                 Key: DRILL-2124
>                 URL: https://issues.apache.org/jira/browse/DRILL-2124
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Hanifi Gunes
>            Assignee: Hanifi Gunes
>
> MaterializedField#hashCode relies on Set#hashCode that is -by reference- sums up child
hash codes that may collide. We should ensure hashCode yields the same value given another
field with the same structure.



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

Mime
View raw message