Files
impala/testdata/workloads/functional-query/queries/DataErrorsTest/hbase-insert-errors.test
ishaan 53cd9eadab Treat HBase as a file format for functional tests
Change-Id: Ia01181a1e10eb108419122d347e9d869a69e8922
Reviewed-on: http://gerrit.ent.cloudera.com:8080/102
Reviewed-by: Ishaan Joshi <ishaan@cloudera.com>
Tested-by: Ishaan Joshi <ishaan@cloudera.com>
2014-01-08 10:52:36 -08:00

15 lines
515 B
Plaintext

====
---- QUERY
insert into functional_hbase.alltypessmall
values (NULL,80,false,"02/01/09",80.8,8.800000190734863,8,2,8,"8","2009-02-01 00:08:00.280000000",8,2009)
---- ERRORS
Cannot insert into HBase with a null row key.
====
---- QUERY
insert into functional_hbase.alltypessmall
select case when id >= 0 then NULL else 999 end,80,false,"02/01/09",80.8,8.800000190734863,8,2,8,"8","2009-02-01 00:08:00.280000000",8,2009
from functional.alltypessmall
---- ERRORS
Cannot insert into HBase with a null row key.
====