Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-2124

Make MaterializedField#hashCode compute a hashcode by structure and not by reference

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            hgunes Hanifi Gunes
            hgunes Hanifi Gunes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: