Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-18610

Performance: ListKeyWrapper does not check for hashcode equals, before comparing members

    XMLWordPrintableJSON

    Details

      Description

      ListKeyWrapper::equals()

          @Override
          public boolean equals(Object obj) {
            if (!(obj instanceof ListKeyWrapper)) {
              return false;
            }
            Object[] copied_in_hashmap = ((ListKeyWrapper) obj).keys;
            return equalComparer.areEqual(copied_in_hashmap, keys);
          }
      

        Attachments

        1. HIVE-18610.1.patch
          2 kB
          Gopal Vijayaraghavan
        2. HIVE-18610.2.patch
          5 kB
          Gopal Vijayaraghavan

          Activity

            People

            • Assignee:
              gopalv Gopal Vijayaraghavan
              Reporter:
              gopalv Gopal Vijayaraghavan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: