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

Optimise CuckooSetBytes

    XMLWordPrintableJSON

Details

    Description

      FilterStringColumnInList, StringColumnInList  etc use CuckooSetBytes for lookup.

      One option to optimize would be to add boundary conditions on "length" with the min/max length stored in the hashes (ref: https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/expressions/CuckooSetBytes.java#L85) . This would significantly reduce the number of hash computation that needs to happen. E.g TPCH-Q12

      Attachments

        1. bench.png
          53 kB
          Mustafa İman
        2. Screenshot 2020-09-28 at 4.29.24 PM.png
          214 kB
          Rajesh Balamohan
        3. vectorized.patch
          9 kB
          Mustafa İman

        Issue Links

          Activity

            People

              mustafaiman Mustafa İman
              rajesh.balamohan Rajesh Balamohan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m