Files
impala/testdata/datasets/functional/schema_constraints.csv
Lenni Kuff 8e2a313673 IMPALA-590: Impala should more gracefully fail when loading HBase tables with complex types
Change-Id: Ifc3338ee1339ff0544ed14066824f1aa2d9d7c25
Reviewed-on: http://gerrit.ent.cloudera.com:8080/457
Tested-by: jenkins
Reviewed-by: Marcel Kornacker <marcel@cloudera.com>
2014-01-08 10:52:47 -08:00

5.4 KiB

1# Table level constraints:
2# Allows for defining constraints on which file formats to generate for an individual
3# table. The table name should match the base table name defined in the schema template
4# file.
5table_name:stringids, constraint:restrict_to, table_format:hbase/none/none
6table_name:insertalltypesagg, constraint:restrict_to, table_format:hbase/none/none
7table_name:alltypessmallbinary, constraint:restrict_to, table_format:hbase/none/none
8table_name:insertalltypesaggbinary, constraint:restrict_to, table_format:hbase/none/none
9table_name:hbasealltypeserror, constraint:restrict_to, table_format:hbase/none/none
10table_name:hbasealltypeserrornonulls, constraint:restrict_to, table_format:hbase/none/none
11table_name:alltypesinsert, constraint:restrict_to, table_format:text/none/none
12table_name:alltypesnopart_insert, constraint:restrict_to, table_format:text/none/none
13table_name:insert_overwrite_nopart, constraint:restrict_to, table_format:text/none/none
14table_name:insert_overwrite_partitioned, constraint:restrict_to, table_format:text/none/none
15table_name:insert_string_partitioned, constraint:restrict_to, table_format:text/none/none
16table_name:alltypesinsert, constraint:restrict_to, table_format:parquet/none/none
17table_name:alltypesnopart_insert, constraint:restrict_to, table_format:parquet/none/none
18table_name:alltypesinsert, constraint:restrict_to, table_format:text/none/none
19table_name:alltypesnopart_insert, constraint:restrict_to, table_format:text/none/none
20table_name:insert_overwrite_nopart, constraint:restrict_to, table_format:text/none/none
21table_name:insert_overwrite_partitioned, constraint:restrict_to, table_format:text/none/none
22table_name:insert_string_partitioned, constraint:restrict_to, table_format:text/none/none
23table_name:alltypesinsert, constraint:restrict_to, table_format:parquet/none/none
24table_name:alltypesnopart_insert, constraint:restrict_to, table_format:parquet/none/none
25table_name:insert_overwrite_nopart, constraint:restrict_to, table_format:parquet/none/none
26table_name:insert_overwrite_partitioned, constraint:restrict_to, table_format:parquet/none/none
27table_name:insert_string_partitioned, constraint:restrict_to, table_format:parquet/none/none
28table_name:old_rcfile_table, constraint:restrict_to, table_format:rc/none/none
29table_name:bad_text_lzo, constraint:restrict_to, table_format:text/lzo/block
30table_name:bad_seq_snap, constraint:restrict_to, table_format:seq/snap/block
31table_name:map_table, constraint:restrict_to, table_format:text/none/none
32table_name:map_table_hbase, constraint:restrict_to, table_format:hbase/none/none
33table_name:array_table, constraint:restrict_to, table_format:text/none/none
34table_name:alltypeserror, constraint:exclude, table_format:parquet/none/none
35table_name:alltypeserrornonulls, constraint:exclude, table_format:parquet/none/none
36table_name:unsupported_types, constraint:exclude, table_format:parquet/none/none
37table_name:escapechartesttable, constraint:exclude, table_format:parquet/none/none
38table_name:nulltable, constraint:exclude, table_format:parquet/none/none
39table_name:nullescapedtable, constraint:exclude, table_format:parquet/none/none
40table_name:TblWithRaggedColumns, constraint:exclude, table_format:parquet/none/none
41# the text_ tables are for testing test delimiters and escape chars in text files
42table_name:text_comma_backslash_newline, constraint:restrict_to, table_format:text/none/none
43table_name:text_dollar_hash_pipe, constraint:restrict_to, table_format:text/none/none
44table_name:bad_serde, constraint:restrict_to, table_format:text/none/none
45table_name:unsupported_partition_types, constraint:restrict_to, table_format:text/none/none
46table_name:nullformat_custom, constraint:exclude, table_format:parquet/none/none
47table_name:alltypes_view, constraint:restrict_to, table_format:text/none/none
48table_name:alltypes_view, constraint:restrict_to, table_format:seq/snap/block
49table_name:alltypes_view_sub, constraint:restrict_to, table_format:text/none/none
50table_name:alltypes_view_sub, constraint:restrict_to, table_format:seq/snap/block
51table_name:alltypes_parens, constraint:restrict_to, table_format:text/none/none
52table_name:complex_view, constraint:restrict_to, table_format:text/none/none
53table_name:complex_view, constraint:restrict_to, table_format:seq/snap/block
54table_name:view_view, constraint:restrict_to, table_format:text/none/none
55table_name:view_view, constraint:restrict_to, table_format:seq/snap/block
56# liketbl and tblwithraggedcolumns all have
57# NULLs in primary key columns. hbase does not support
58# writing NULLs to primary key columns.
59table_name:liketbl, constraint:exclude, table_format:hbase/none/none
60table_name:tblwithraggedcolumns, constraint:exclude, table_format:hbase/none/none
61# Tables with only one column are not supported in hbase.
62table_name:greptiny, constraint:exclude, table_format:hbase/none/none
63table_name:tinyinttable, constraint:exclude, table_format:hbase/none/none
64# overflow has a bigint that's too big. hbase may lose precision, hence this
65# table cannot be loaded.
66table_name:overflow, constraint:exclude, table_format:hbase/none/none
67# nullformat_custom is used in null-insert tests, which user insert overwrite,
68# which is not supported in hbase. The schema is also specified in HIVE_CREATE
69# with no corresponding LOAD statement.
70table_name:nullformat_custom, constraint:exclude, table_format:hbase/none/none
71table_name:unsupported_types, constraint:exclude, table_format:hbase/none/none