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

Hive thrift code doesnt generate quality hashCode()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.10.0
    • Thrift API
    • None
    • Hive thrift code doesnt generate quality hashCode(). Right now, it all has
      @Override
      public int hashCode() {
      return 0;
      }

      It will cause all entries go to the same bucket if it's used as hash key.

    • Reviewed

    Attachments

      1. Hive-3165.patch-2
        151 kB
        Gang Tim Liu
      2. Hive-3165.patch
        129 kB
        Gang Tim Liu

      Activity

        People

          gangtimliu Gang Tim Liu
          gangtimliu Gang Tim Liu
          Votes:
          0 Vote for this issue
          Watchers:
          4 Start watching this issue

          Dates

            Created:
            Updated:
            Resolved: