[ 
https://issues.apache.org/jira/browse/HIVE-1803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marquis Wang updated HIVE-1803:
-------------------------------

    Attachment: HIVE-1803.2.patch

We fixed the problem in BitmapCollectSet by looking at the PercentileApprox 
UDAF to figure out how to use an array an input to a UDAF.

This new patch is a working implementation of bitmap indexing. The new test 
index_bitmap.q shows how to use the index. However, I am unable to add the test 
itself, and get errors when I run 

ant test -Dtestcase=TestCliDriver -Dqfile=index_bitmap.q -Doverwrite=true 
-Dtest.silent=false

It says 


Exception: java.lang.RuntimeException: The table 
default__srcpart_srcpart_index_proj__ is an index table. Please do drop index 
instead.

wrt to the ALTER INDEX REBUILD line in the test.

We're pretty confused about whether we're doing the new test incorrectly and 
would appreciate any help.

While we're working to get around that we're also going to go ahead and work on 
a compressed bitmap, since this implementation does no compression.

> Implement bitmap indexing in Hive
> ---------------------------------
>
>                 Key: HIVE-1803
>                 URL: https://issues.apache.org/jira/browse/HIVE-1803
>             Project: Hive
>          Issue Type: New Feature
>            Reporter: Marquis Wang
>            Assignee: Marquis Wang
>         Attachments: HIVE-1803.1.patch, HIVE-1803.2.patch, 
> bitmap_index_1.png, bitmap_index_2.png
>
>
> Implement bitmap index handler to complement compact indexing.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to