drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hanifi Gunes (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DRILL-2124) Make MaterializedField#hashCode compute a hashcode by structure and not by reference
Date Thu, 12 Feb 2015 21:48:12 GMT

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

Hanifi Gunes resolved DRILL-2124.
---------------------------------
    Resolution: Fixed

Fixed by DRILL-1872

> 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
>            Priority: Minor
>
> MaterializedField#hashCode relies on Set#hashCode that -is by reference- sums up child#hashCode
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