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

BloomKFilter: Avoid using the local byte[] arrays entirely

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0.0
    • 3.2.0
    • Query Processor
    • None

    Description

      HIVE-18866 introduced a fast-path for integer -> murmur hash, but the change hasn't been applied to BloomKFilter for integers.

      public class BloomKFilter {
        private final byte[] BYTE_ARRAY_4 = new byte[4];
        private final byte[] BYTE_ARRAY_8 = new byte[8];
      

      Remove these objects and use the fast-path.

      Attachments

        1. HIVE-20101.1.patch
          3 kB
          Gopal Vijayaraghavan

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: