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

[jira] [Updated] (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 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)