[ 
https://issues.apache.org/jira/browse/HIVE-24510?focusedWorklogId=522963&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-522963
 ]

ASF GitHub Bot logged work on HIVE-24510:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 11/Dec/20 01:38
            Start Date: 11/Dec/20 01:38
    Worklog Time Spent: 10m 
      Work Description: mustafaiman opened a new pull request #1764:
URL: https://github.com/apache/hive/pull/1764


   I organized this pull request in 3 commits for ease of review.
   First commit adds a test that prints hex(compute_bit_vector(col)) for some 
tables. So we can use that as the source of truth for testing vectorized 
function.
   Second commit is the actual implementation.
   Third commit is the q.out file changes.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 522963)
    Remaining Estimate: 0h
            Time Spent: 10m

> Vectorize compute_bit_vector
> ----------------------------
>
>                 Key: HIVE-24510
>                 URL: https://issues.apache.org/jira/browse/HIVE-24510
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Mustafa İman
>            Assignee: Mustafa İman
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> After https://issues.apache.org/jira/browse/HIVE-23530 , almost all compute 
> stats functions are vectorizable. Only function that is not vectorizable is 
> "compute_bit_vector" for ndv statistics computation. This causes "create 
> table as select" and "insert overwrite select" queries to run in 
> non-vectorized mode. 
> Even a very naive implementation of vectorized compute_bit_vector gives about 
> 50% performance improvement on simple "insert overwrite select" queries. That 
> is because entire mapper or reducer can run in vectorized mode.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to