mirror of
https://github.com/apache/impala.git
synced 2025-12-31 06:02:51 -05:00
This patch adds parsing of complex types and tests for using complex types in various exprs and create/alter/describe stmts. Change-Id: Ibc211a560c889f5ccfb616813700b923c89d8245 Reviewed-on: http://gerrit.ent.cloudera.com:8080/3577 Reviewed-by: Alex Behm <alex.behm@cloudera.com> Tested-by: jenkins Reviewed-on: http://gerrit.ent.cloudera.com:8080/3594
117 lines
7.3 KiB
CSV
117 lines
7.3 KiB
CSV
# Table level constraints:
|
|
# Allows for defining constraints on which file formats to generate for an individual
|
|
# table. The table name should match the base table name defined in the schema template
|
|
# file.
|
|
table_name:stringids, constraint:restrict_to, table_format:hbase/none/none
|
|
table_name:hbasecolumnfamilies, constraint:restrict_to, table_format:hbase/none/none
|
|
table_name:insertalltypesagg, constraint:restrict_to, table_format:hbase/none/none
|
|
table_name:alltypessmallbinary, constraint:restrict_to, table_format:hbase/none/none
|
|
table_name:insertalltypesaggbinary, constraint:restrict_to, table_format:hbase/none/none
|
|
table_name:hbasealltypeserror, constraint:restrict_to, table_format:hbase/none/none
|
|
table_name:hbasealltypeserrornonulls, constraint:restrict_to, table_format:hbase/none/none
|
|
|
|
table_name:alltypesinsert, constraint:restrict_to, table_format:text/none/none
|
|
table_name:alltypesnopart_insert, constraint:restrict_to, table_format:text/none/none
|
|
table_name:insert_overwrite_nopart, constraint:restrict_to, table_format:text/none/none
|
|
table_name:insert_overwrite_partitioned, constraint:restrict_to, table_format:text/none/none
|
|
table_name:insert_string_partitioned, constraint:restrict_to, table_format:text/none/none
|
|
|
|
table_name:alltypesinsert, constraint:restrict_to, table_format:parquet/none/none
|
|
table_name:alltypesnopart_insert, constraint:restrict_to, table_format:parquet/none/none
|
|
|
|
table_name:alltypesinsert, constraint:restrict_to, table_format:text/none/none
|
|
table_name:alltypesnopart_insert, constraint:restrict_to, table_format:text/none/none
|
|
table_name:insert_overwrite_nopart, constraint:restrict_to, table_format:text/none/none
|
|
table_name:insert_overwrite_partitioned, constraint:restrict_to, table_format:text/none/none
|
|
table_name:insert_string_partitioned, constraint:restrict_to, table_format:text/none/none
|
|
|
|
table_name:alltypesinsert, constraint:restrict_to, table_format:parquet/none/none
|
|
table_name:alltypesnopart_insert, constraint:restrict_to, table_format:parquet/none/none
|
|
table_name:insert_overwrite_nopart, constraint:restrict_to, table_format:parquet/none/none
|
|
table_name:insert_overwrite_partitioned, constraint:restrict_to, table_format:parquet/none/none
|
|
table_name:insert_string_partitioned, constraint:restrict_to, table_format:parquet/none/none
|
|
|
|
table_name:old_rcfile_table, constraint:restrict_to, table_format:rc/none/none
|
|
table_name:bad_text_lzo, constraint:restrict_to, table_format:text/lzo/block
|
|
table_name:bad_seq_snap, constraint:restrict_to, table_format:seq/snap/block
|
|
table_name:bad_parquet, constraint:restrict_to, table_format:parquet/none/none
|
|
|
|
# TODO: Support Avro. Data loading currently fails for Avro because complex types
|
|
# cannot be converted to the corresponding Avro types yet.
|
|
table_name:allcomplextypes, constraint:restrict_to, table_format:text/none/none
|
|
table_name:allcomplextypes, constraint:restrict_to, table_format:parquet/none/none
|
|
table_name:allcomplextypes, constraint:restrict_to, table_format:hbase/none/none
|
|
table_name:functional, constraint:restrict_to, table_format:text/none/none
|
|
|
|
table_name:alltypeserror, constraint:exclude, table_format:parquet/none/none
|
|
table_name:alltypeserrornonulls, constraint:exclude, table_format:parquet/none/none
|
|
table_name:unsupported_types, constraint:exclude, table_format:parquet/none/none
|
|
table_name:escapechartesttable, constraint:exclude, table_format:parquet/none/none
|
|
table_name:TblWithRaggedColumns, constraint:exclude, table_format:parquet/none/none
|
|
|
|
# the text_ tables are for testing test delimiters and escape chars in text files
|
|
table_name:text_comma_backslash_newline, constraint:restrict_to, table_format:text/none/none
|
|
table_name:text_dollar_hash_pipe, constraint:restrict_to, table_format:text/none/none
|
|
table_name:text_thorn_ecirc_newline, constraint:restrict_to, table_format:text/none/none
|
|
|
|
table_name:bad_serde, constraint:restrict_to, table_format:text/none/none
|
|
table_name:rcfile_lazy_binary_serde, constraint:restrict_to, table_format:rc/none/none
|
|
table_name:unsupported_partition_types, constraint:restrict_to, table_format:text/none/none
|
|
table_name:nullformat_custom, constraint:exclude, table_format:parquet/none/none
|
|
|
|
table_name:alltypes_view, constraint:restrict_to, table_format:text/none/none
|
|
table_name:allcomplextypes_view, constraint:restrict_to, table_format:text/none/none
|
|
table_name:alltypes_view, constraint:restrict_to, table_format:seq/snap/block
|
|
table_name:alltypes_hive_view, constraint:restrict_to, table_format:text/none/none
|
|
table_name:alltypes_view_sub, constraint:restrict_to, table_format:text/none/none
|
|
table_name:alltypes_view_sub, constraint:restrict_to, table_format:seq/snap/block
|
|
table_name:alltypes_parens, constraint:restrict_to, table_format:text/none/none
|
|
table_name:complex_view, constraint:restrict_to, table_format:text/none/none
|
|
table_name:complex_view, constraint:restrict_to, table_format:seq/snap/block
|
|
table_name:view_view, constraint:restrict_to, table_format:text/none/none
|
|
table_name:view_view, constraint:restrict_to, table_format:seq/snap/block
|
|
|
|
# liketbl and tblwithraggedcolumns all have
|
|
# NULLs in primary key columns. hbase does not support
|
|
# writing NULLs to primary key columns.
|
|
table_name:liketbl, constraint:exclude, table_format:hbase/none/none
|
|
table_name:tblwithraggedcolumns, constraint:exclude, table_format:hbase/none/none
|
|
|
|
# Tables with only one column are not supported in hbase.
|
|
table_name:greptiny, constraint:exclude, table_format:hbase/none/none
|
|
table_name:tinyinttable, constraint:exclude, table_format:hbase/none/none
|
|
|
|
# overflow has a bigint that's too big. hbase may lose precision, hence this
|
|
# table cannot be loaded.
|
|
table_name:overflow, constraint:exclude, table_format:hbase/none/none
|
|
|
|
# widerow has a single column with a single row containing a 10MB string. hbase doesn't
|
|
# seem to like this.
|
|
table_name:widerow, constraint:exclude, table_format:hbase/none/none
|
|
|
|
# nullformat_custom is used in null-insert tests, which user insert overwrite,
|
|
# which is not supported in hbase. The schema is also specified in HIVE_CREATE
|
|
# with no corresponding LOAD statement.
|
|
table_name:nullformat_custom, constraint:exclude, table_format:hbase/none/none
|
|
table_name:unsupported_types, constraint:exclude, table_format:hbase/none/none
|
|
|
|
# On CDH4, decimal can only be tested on formats Impala can write to (text and parquet)
|
|
# TODO: add Avro once Hive or Impala can write Avro decimals
|
|
table_name:decimal_tbl, constraint:restrict_to, table_format:text/none/none
|
|
table_name:decimal_tiny, constraint:restrict_to, table_format:text/none/none
|
|
table_name:decimal_tbl, constraint:restrict_to, table_format:parquet/none/none
|
|
table_name:decimal_tiny, constraint:restrict_to, table_format:parquet/none/none
|
|
|
|
# invalid_decimal_part_tbl[1,2,3] tables are used for testing invalid decimal
|
|
# partition key values (see IMPALA-1040)
|
|
table_name:invalid_decimal_part_tbl1, constraint:restrict_to, table_format:text/none/none
|
|
table_name:invalid_decimal_part_tbl2, constraint:restrict_to, table_format:text/none/none
|
|
table_name:invalid_decimal_part_tbl3, constraint:restrict_to, table_format:text/none/none
|
|
|
|
table_name:avro_decimal_tbl, constraint:restrict_to, table_format:avro/snap/block
|
|
|
|
# hbase doesn't seem to like very wide tables
|
|
table_name:widetable_250_cols, constraint:exclude, table_format:hbase/none/none
|
|
table_name:widetable_500_cols, constraint:exclude, table_format:hbase/none/none
|
|
table_name:widetable_1000_cols, constraint:exclude, table_format:hbase/none/none
|