Files
impala/testdata/workloads/functional-query/queries/QueryTest/hbase-inserts.test
Elliott Clark 0e0c02b6bd Add the ability to Select into HBase table.
* Changed frontend analysis for HBase tables
* Changed Thrift messages to allow HBase as a sink type.
* JNI Wrapper around htable
* Create hbase-table-sink
* Create hbase-table-writer
* Static init lots of JNI related code for HBase.
* Cleaned up some cpplint issues.
* Changed junit analysis tests
* Create a new HBase test table.
* Added functional tests for HBase inserts.
2014-01-08 10:49:06 -08:00

40 lines
865 B
Plaintext

====
---- QUERY
insert into table hbaseinsertalltypesagg
select id, bigint_col, bool_col, date_string_col, double_col, float_col,
int_col, smallint_col, string_col, timestamp_col, tinyint_col from alltypesagg
---- RESULTS
: 10000
---- SETUP
RELOAD hbaseinsertalltypesagg
====
---- QUERY
select id, bool_col from hbaseinsertalltypesagg
WHERE id > 300
ORDER BY id
LIMIT 2
---- TYPES
int, boolean
---- RESULTS
301,false
302,true
====
---- QUERY
insert into table hbaseinsertalltypesagg
select 9999999, bigint_col, false, date_string_col, double_col, float_col,
int_col, smallint_col, string_col, timestamp_col, tinyint_col from alltypesagg
---- RESULTS
: 10000
---- SETUP
RELOAD hbaseinsertalltypesagg
====
---- QUERY
select id, bool_col from hbaseinsertalltypesagg
WHERE id = 9999999
ORDER BY id
LIMIT 2
---- TYPES
int, boolean
---- RESULTS
9999999,false
====