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

Hive thrift code doesnt generate quality hashCode()

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0
    • Component/s: Thrift API
    • Labels:
      None
    • Environment:

      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.

    • Hadoop Flags:
      Reviewed

      Attachments

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

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved: