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

Vectorization: Closed range fast-path for Fast Long hashset

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None

    Description

      In scenarios where the surrogate keys are entirely contiguous, the cache can offer a fast-path for [min,max], without a further lookup in the hashtable.

      hive> select min(c_customer_sk), max(c_customer_sk), max(c_customer_sk) - min(c_customer_sk), count(1) from customer;
      
      1       65000000        64999999        65000000
      

      Attachments

        1. HIVE-20501.1.patch
          5 kB
          Gopal Vijayaraghavan

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: