[
https://issues.apache.org/jira/browse/HIVE-20501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16605137#comment-16605137
]
Ashutosh Chauhan commented on HIVE-20501:
-----------------------------------------
[~gopalv] Can you describe what this patch is trying to accomplish?
> 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
> Assignee: Gopal V
> Priority: Major
> Attachments: HIVE-20501.1.patch
>
>
> 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)