mirror of
https://github.com/apache/impala.git
synced 2026-01-01 09:00:42 -05:00
This patch implements decimal support for text based formats. Change-Id: I8e2c9e512ed149fe965216a72cb21fffd4f18e75 Reviewed-on: http://gerrit.ent.cloudera.com:8080/1669 Reviewed-by: Nong Li <nong@cloudera.com> Tested-by: Nong Li <nong@cloudera.com> Reviewed-on: http://gerrit.ent.cloudera.com:8080/2238 Tested-by: jenkins
5.8 KiB
5.8 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. |
| 5 | table_name:stringids, constraint:restrict_to, table_format:hbase/none/none |
| 6 | table_name:insertalltypesagg, constraint:restrict_to, table_format:hbase/none/none |
| 7 | table_name:alltypessmallbinary, constraint:restrict_to, table_format:hbase/none/none |
| 8 | table_name:insertalltypesaggbinary, constraint:restrict_to, table_format:hbase/none/none |
| 9 | table_name:hbasealltypeserror, constraint:restrict_to, table_format:hbase/none/none |
| 10 | table_name:hbasealltypeserrornonulls, constraint:restrict_to, table_format:hbase/none/none |
| 11 | table_name:alltypesinsert, constraint:restrict_to, table_format:text/none/none |
| 12 | table_name:alltypesnopart_insert, constraint:restrict_to, table_format:text/none/none |
| 13 | table_name:insert_overwrite_nopart, constraint:restrict_to, table_format:text/none/none |
| 14 | table_name:insert_overwrite_partitioned, constraint:restrict_to, table_format:text/none/none |
| 15 | table_name:insert_string_partitioned, constraint:restrict_to, table_format:text/none/none |
| 16 | table_name:alltypesinsert, constraint:restrict_to, table_format:parquet/none/none |
| 17 | table_name:alltypesnopart_insert, constraint:restrict_to, table_format:parquet/none/none |
| 18 | table_name:alltypesinsert, constraint:restrict_to, table_format:text/none/none |
| 19 | table_name:alltypesnopart_insert, constraint:restrict_to, table_format:text/none/none |
| 20 | table_name:insert_overwrite_nopart, constraint:restrict_to, table_format:text/none/none |
| 21 | table_name:insert_overwrite_partitioned, constraint:restrict_to, table_format:text/none/none |
| 22 | table_name:insert_string_partitioned, constraint:restrict_to, table_format:text/none/none |
| 23 | table_name:alltypesinsert, constraint:restrict_to, table_format:parquet/none/none |
| 24 | table_name:alltypesnopart_insert, constraint:restrict_to, table_format:parquet/none/none |
| 25 | table_name:insert_overwrite_nopart, constraint:restrict_to, table_format:parquet/none/none |
| 26 | table_name:insert_overwrite_partitioned, constraint:restrict_to, table_format:parquet/none/none |
| 27 | table_name:insert_string_partitioned, constraint:restrict_to, table_format:parquet/none/none |
| 28 | table_name:old_rcfile_table, constraint:restrict_to, table_format:rc/none/none |
| 29 | table_name:bad_text_lzo, constraint:restrict_to, table_format:text/lzo/block |
| 30 | table_name:bad_seq_snap, constraint:restrict_to, table_format:seq/snap/block |
| 31 | table_name:bad_parquet, constraint:restrict_to, table_format:parquet/none/none |
| 32 | table_name:map_table, constraint:restrict_to, table_format:text/none/none |
| 33 | table_name:map_table_hbase, constraint:restrict_to, table_format:hbase/none/none |
| 34 | table_name:array_table, constraint:restrict_to, table_format:text/none/none |
| 35 | table_name:alltypeserror, constraint:exclude, table_format:parquet/none/none |
| 36 | table_name:alltypeserrornonulls, constraint:exclude, table_format:parquet/none/none |
| 37 | table_name:unsupported_types, constraint:exclude, table_format:parquet/none/none |
| 38 | table_name:escapechartesttable, constraint:exclude, table_format:parquet/none/none |
| 39 | table_name:TblWithRaggedColumns, constraint:exclude, table_format:parquet/none/none |
| 40 | # the text_ tables are for testing test delimiters and escape chars in text files |
| 41 | table_name:text_comma_backslash_newline, constraint:restrict_to, table_format:text/none/none |
| 42 | table_name:text_dollar_hash_pipe, constraint:restrict_to, table_format:text/none/none |
| 43 | table_name:text_thorn_ecirc_newline, constraint:restrict_to, table_format:text/none/none |
| 44 | table_name:bad_serde, constraint:restrict_to, table_format:text/none/none |
| 45 | table_name:rcfile_lazy_binary_serde, constraint:restrict_to, table_format:rc/none/none |
| 46 | table_name:unsupported_partition_types, constraint:restrict_to, table_format:text/none/none |
| 47 | table_name:nullformat_custom, constraint:exclude, table_format:parquet/none/none |
| 48 | table_name:alltypes_view, constraint:restrict_to, table_format:text/none/none |
| 49 | table_name:alltypes_view, constraint:restrict_to, table_format:seq/snap/block |
| 50 | table_name:alltypes_view_sub, constraint:restrict_to, table_format:text/none/none |
| 51 | table_name:alltypes_view_sub, constraint:restrict_to, table_format:seq/snap/block |
| 52 | table_name:alltypes_parens, constraint:restrict_to, table_format:text/none/none |
| 53 | table_name:complex_view, constraint:restrict_to, table_format:text/none/none |
| 54 | table_name:complex_view, constraint:restrict_to, table_format:seq/snap/block |
| 55 | table_name:view_view, constraint:restrict_to, table_format:text/none/none |
| 56 | table_name:view_view, constraint:restrict_to, table_format:seq/snap/block |
| 57 | # liketbl and tblwithraggedcolumns all have |
| 58 | # NULLs in primary key columns. hbase does not support |
| 59 | # writing NULLs to primary key columns. |
| 60 | table_name:liketbl, constraint:exclude, table_format:hbase/none/none |
| 61 | table_name:tblwithraggedcolumns, constraint:exclude, table_format:hbase/none/none |
| 62 | # Tables with only one column are not supported in hbase. |
| 63 | table_name:greptiny, constraint:exclude, table_format:hbase/none/none |
| 64 | table_name:tinyinttable, constraint:exclude, table_format:hbase/none/none |
| 65 | # overflow has a bigint that's too big. hbase may lose precision, hence this |
| 66 | # table cannot be loaded. |
| 67 | table_name:overflow, constraint:exclude, table_format:hbase/none/none |
| 68 | # widerow has a single column with a single row containing a 10MB string. hbase doesn't |
| 69 | # seem to like this. |
| 70 | table_name:widerow, constraint:exclude, table_format:hbase/none/none |
| 71 | # nullformat_custom is used in null-insert tests, which user insert overwrite, |
| 72 | # which is not supported in hbase. The schema is also specified in HIVE_CREATE |
| 73 | # with no corresponding LOAD statement. |
| 74 | table_name:nullformat_custom, constraint:exclude, table_format:hbase/none/none |
| 75 | table_name:unsupported_types, constraint:exclude, table_format:hbase/none/none |
| 76 | # Decimal is only supported for text for now. |
| 77 | table_name:decimal_tbl, constraint:restrict_to, table_format:text/none/none |
| 78 | table_name:decimal_tiny, constraint:restrict_to, table_format:text/none/none |