ool BOOLEAN)
STORED BY 'org.apache.hadoop.hive.accumulo.AccumuloStorageHandler'
WITH
SERDEPROPERTIES('accumulo.table.name'='test_table_text','accumulo.columns.mapping'
=
':rowid,testint:v,testbig:v,testfloat:v,testdouble:v,teststring:v,testbool:v');
to allow me to access Accumulo tables
from Hive.
This works fine. So typically I would use something like this:
CREATE EXTERNAL TABLE test_text (rowid STRING, testint INT, testbig BIGINT,
testfloat FLOAT, testdouble DOUBLE, teststring STRING, testbool BOOLEAN)
STORED BY
, testbool BOOLEAN)
STORED BY 'org.apache.hadoop.hive.accumulo.AccumuloStorageHandler'
WITH
SERDEPROPERTIES('accumulo.table.name'='test_table_text','accumulo.columns.mapping'
=
':rowid,testint:v,testbig:v,testfloat:v,testdouble:v,teststring:v,testbool:v'