Files
impala/testdata/workloads/functional-query/queries/QueryTest/hbase-inserts.test

50 lines
1.1 KiB
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
====
---- QUERY
# test insert into ... select *
# using limit 1 to reduce execution time
insert into table hbaseinsertalltypesagg
select * from hbaseinsertalltypesagg limit 1
---- RESULTS
: 1
---- SETUP
RELOAD hbaseinsertalltypesagg
====