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

Dead-code: Vectorized map-join murmur hash is run twice

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.0, 2.0.0
    • 1.3.0, 2.0.0
    • Vectorization
    • None
    • Dead-code: Vectorized map-join runs Murmurhash twice

    Description

      Caught by mmccline during code reviews.

         public JoinUtil.JoinResult setDirect(byte[] bytes, int offset, int length,
              BytesBytesMultiHashMap.Result hashMapResult) {
      
            int keyHash = WriteBuffers.murmurHash(bytes, offset, length);
            aliasFilter = hashMap.getValueResult(bytes, offset, length, hashMapResult);
      

      Attachments

        1. HIVE-12090.1.patch
          0.8 kB
          Gopal Vijayaraghavan

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: