Gopal V created HIVE-20501:
------------------------------

             Summary: Vectorization: Closed range fast-path for Fast Long 
hashset 
                 Key: HIVE-20501
                 URL: https://issues.apache.org/jira/browse/HIVE-20501
             Project: Hive
          Issue Type: Improvement
            Reporter: Gopal V


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.

{code}
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
{code}






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to