Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.
The "Hive/IndexDev" page has been changed by JohnSichi. http://wiki.apache.org/hadoop/Hive/IndexDev?action=diff&rev1=8&rev2=9 -------------------------------------------------- {{{ CREATE TABLE t(i int, j int); CREATE INDEX x ON TABLE t(j) - AS 'org.apache.hadoop.hive.index.compact.CompactIndexHandler'; + AS 'org.apache.hadoop.hive.ql.index.compact.CompactIndexHandler'; }}} The TBLS table in the metastore will have two entries: @@ -107, +107 @@ {{{ CREATE INDEX x ON TABLE t(j) - AS 'org.apache.hadoop.hive.index.compact.CompactIndexHandler' + AS 'org.apache.hadoop.hive.ql.index.compact.CompactIndexHandler' IN TABLE t_x; }}} @@ -345, +345 @@ The index table is stored as sorted on the indexed columns (but not on the generated columns). + The reference implementation can be plugged in with - The reference implementation is stored in a new Hive subcomponent - (hadoop/hive/trunk/idx-compact) with its own build and tests. It can - be plugged in with {{{ ADD JAR /path/to/hive_idx-compact.jar; CREATE INDEX ... - AS 'org.apache.hadoop.hive.index.compact.CompactIndexHandler'; + AS 'org.apache.hadoop.hive.ql.index.compact.CompactIndexHandler'; }}} TBD: algorithm for building the index
