hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Syed Albiz" <>
Subject Re: Review Request: HIVE-2036: Update bitmap indexes for automatic usage
Date Wed, 08 Jun 2011 00:22:37 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated 2011-06-08 00:22:37.292935)

Review request for hive and John Sichi.


Addressed comments. Still does not propagate partition predicates to every single index sub-query,
but it does ensure that predicates are only applied to indexes for which there are matching
columns. After looking at the behavior of CompactIndexHandler on partitioned tables (and in
testcase index_auto_partitioned.q) I can't quite see how the CompactIndexHandler identifies
and propagates partitioning predicates correctly.


Add support for generating index queries to support automatic usage of bitmap indexes. This
required changing the interface to the IndexHandlers to support accepting queries on multiple
indexes. The compact indexes were modified to use this new interface as well, although no
functional changes were made to how they work. Only supports AND predicates right now, but
it should be possibly to extend the BitmapQuery interface defined in this patch to easily
support OR predicates as well. Currently benchmarking these changes on a test cluster.

This addresses bug HIVE-2036.

Diffs (updated)

  ql/src/test/queries/clientpositive/index_bitmap_auto_partitioned.q PRE-CREATION 
  ql/src/test/results/clientpositive/index_bitmap_auto.q.out PRE-CREATION 
  ql/src/test/queries/clientpositive/index_bitmap_auto.q PRE-CREATION 
  ql/src/java/org/apache/hadoop/hive/ql/index/compact/ 56e7609 
  ql/src/java/org/apache/hadoop/hive/ql/io/ d64e88b 
  ql/src/java/org/apache/hadoop/hive/ql/index/bitmap/ PRE-CREATION 
  ql/src/java/org/apache/hadoop/hive/ql/index/bitmap/ PRE-CREATION 
  ql/src/java/org/apache/hadoop/hive/ql/index/bitmap/ PRE-CREATION 
  ql/src/java/org/apache/hadoop/hive/ql/exec/ 4fba845 
  ql/src/java/org/apache/hadoop/hive/ql/index/ e5ee183 
  ql/src/java/org/apache/hadoop/hive/ql/index/bitmap/ af9d7b1 
  ql/src/test/results/clientpositive/index_bitmap_auto_partitioned.q.out PRE-CREATION 



Passes unit tests, additional testcase to test automatic bitmap indexing index_bitmap_auto.q
was also added to the TestCliDriver suite. Currently benchmarking changes on a test cluster.



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message