You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Hanifi Gunes (JIRA)" <ji...@apache.org> on 2015/02/12 22:48:12 UTC

[jira] [Resolved] (DRILL-2124) Make MaterializedField#hashCode compute a hashcode by structure and not by reference

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