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

BloomKFilter: Avoid using the local byte[] arrays entirely

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 3.2.0
    • Component/s: Query Processor
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: