hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "Hive/IndexDev" by JohnSichi
Date Fri, 24 Sep 2010 00:57:28 GMT
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

Mime
View raw message