mirror of
https://github.com/apache/impala.git
synced 2025-12-25 02:03:09 -05:00
The patch adds read and write support for BINARY columns in Kudu
tables.
Predicate push down is implemented, but is incomplete:
a constant binary argument will be only pushed down if
the constant folding never encounters non-ascii strings.
Examples:
- cast(unhex(hex("aa")) as binary) can be pushed down
- cast(hex(unhex("aa")) as binary) can't be pushed
down as unhex("aa") is not ascii (even though the
final result is ascii)
See IMPALA-10349 for more details on this limitation.
The patch also changes casting BINARY <-> STRING from noop
to calling an actual function. While this may add some small
overhead it allows the backend to know whether an expression
returns STRING or BINARY.
Change-Id: Iff701a4b3a09ce7b6982c5d238e65f3d4f3d1151
Reviewed-on: http://gerrit.cloudera.org:8080/18868
Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
29 KiB
29 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:hbasecolumnfamilies, constraint:restrict_to, table_format:hbase/none/none |
| 7 | table_name:insertalltypesagg, constraint:restrict_to, table_format:hbase/none/none |
| 8 | table_name:alltypessmallbinary, constraint:restrict_to, table_format:hbase/none/none |
| 9 | table_name:insertalltypesaggbinary, constraint:restrict_to, table_format:hbase/none/none |
| 10 | table_name:hbasealltypeserror, constraint:restrict_to, table_format:hbase/none/none |
| 11 | table_name:hbasealltypeserrornonulls, constraint:restrict_to, table_format:hbase/none/none |
| 12 | table_name:alltypes_date_partition, constraint:restrict_to, table_format:text/none/none |
| 13 | table_name:alltypesinsert, constraint:restrict_to, table_format:text/none/none |
| 14 | table_name:alltypes_promoted, constraint:restrict_to, table_format:orc/def/block |
| 15 | table_name:alltypes_deleted_rows, constraint:restrict_to, table_format:orc/def/block |
| 16 | table_name:stringpartitionkey, constraint:restrict_to, table_format:text/none/none |
| 17 | table_name:alltypesnopart_insert, constraint:restrict_to, table_format:text/none/none |
| 18 | table_name:insert_overwrite_nopart, constraint:restrict_to, table_format:text/none/none |
| 19 | table_name:insert_overwrite_partitioned, constraint:restrict_to, table_format:text/none/none |
| 20 | table_name:insert_string_partitioned, constraint:restrict_to, table_format:text/none/none |
| 21 | table_name:alltypesinsert, constraint:restrict_to, table_format:parquet/none/none |
| 22 | table_name:alltypesnopart_insert, constraint:restrict_to, table_format:parquet/none/none |
| 23 | table_name:alltypesinsert, constraint:restrict_to, table_format:text/none/none |
| 24 | table_name:alltypesnopart_insert, constraint:restrict_to, table_format:text/none/none |
| 25 | table_name:insert_overwrite_nopart, constraint:restrict_to, table_format:text/none/none |
| 26 | table_name:insert_overwrite_partitioned, constraint:restrict_to, table_format:text/none/none |
| 27 | table_name:insert_string_partitioned, constraint:restrict_to, table_format:text/none/none |
| 28 | table_name:alltypesinsert, constraint:restrict_to, table_format:parquet/none/none |
| 29 | table_name:alltypesnopart_insert, constraint:restrict_to, table_format:parquet/none/none |
| 30 | table_name:insert_overwrite_nopart, constraint:restrict_to, table_format:parquet/none/none |
| 31 | table_name:insert_overwrite_partitioned, constraint:restrict_to, table_format:parquet/none/none |
| 32 | table_name:insert_string_partitioned, constraint:restrict_to, table_format:parquet/none/none |
| 33 | table_name:old_rcfile_table, constraint:restrict_to, table_format:rc/none/none |
| 34 | table_name:bad_text_gzip, constraint:restrict_to, table_format:text/gzip/block |
| 35 | table_name:bad_seq_snap, constraint:restrict_to, table_format:seq/snap/block |
| 36 | table_name:bad_avro_snap_strings, constraint:restrict_to, table_format:avro/snap/block |
| 37 | table_name:bad_avro_snap_floats, constraint:restrict_to, table_format:avro/snap/block |
| 38 | table_name:bad_avro_decimal_schema, constraint:restrict_to, table_format:avro/snap/block |
| 39 | table_name:bad_avro_date_out_of_range, constraint:restrict_to, table_format:avro/snap/block |
| 40 | table_name:hive2_bad_avro_date_pre_gregorian, constraint:restrict_to, table_format:avro/snap/block |
| 41 | table_name:hive3_avro_date_pre_gregorian, constraint:restrict_to, table_format:avro/snap/block |
| 42 | table_name:bad_parquet, constraint:restrict_to, table_format:parquet/none/none |
| 43 | table_name:bad_parquet_strings_negative_len, constraint:restrict_to, table_format:parquet/none/none |
| 44 | table_name:bad_parquet_strings_out_of_bounds, constraint:restrict_to, table_format:parquet/none/none |
| 45 | table_name:bad_parquet_decimals, constraint:restrict_to, table_format:parquet/none/none |
| 46 | table_name:bad_magic_number, constraint:restrict_to, table_format:parquet/none/none |
| 47 | table_name:bad_metadata_len, constraint:restrict_to, table_format:parquet/none/none |
| 48 | table_name:bad_dict_page_offset, constraint:restrict_to, table_format:parquet/none/none |
| 49 | table_name:bad_compressed_size, constraint:restrict_to, table_format:parquet/none/none |
| 50 | table_name:alltypesagg_hive_13_1, constraint:restrict_to, table_format:parquet/none/none |
| 51 | table_name:kite_required_fields, constraint:restrict_to, table_format:parquet/none/none |
| 52 | table_name:bad_column_metadata, constraint:restrict_to, table_format:parquet/none/none |
| 53 | table_name:lineitem_multiblock, constraint:restrict_to, table_format:parquet/none/none |
| 54 | table_name:lineitem_sixblocks, constraint:restrict_to, table_format:parquet/none/none |
| 55 | table_name:lineitem_multiblock_one_row_group, constraint:restrict_to, table_format:parquet/none/none |
| 56 | table_name:lineitem_multiblock_variable_num_rows, constraint:restrict_to, table_format:parquet/none/none |
| 57 | table_name:customer_multiblock, constraint:restrict_to, table_format:parquet/none/none |
| 58 | table_name:hudi_partitioned, constraint:restrict_to, table_format:parquet/none/none |
| 59 | table_name:hudi_non_partitioned, constraint:restrict_to, table_format:parquet/none/none |
| 60 | table_name:hudi_as_parquet, constraint:restrict_to, table_format:parquet/none/none |
| 61 | # Iceberg tests are executed in the PARQUET file format dimension |
| 62 | table_name:airports_orc, constraint:restrict_to, table_format:parquet/none/none |
| 63 | table_name:airports_parquet, constraint:restrict_to, table_format:parquet/none/none |
| 64 | table_name:complextypestbl_iceberg_orc, constraint:restrict_to, table_format:parquet/none/none |
| 65 | table_name:hadoop_catalog_test_external, constraint:restrict_to, table_format:parquet/none/none |
| 66 | table_name:iceberg_int_partitioned, constraint:restrict_to, table_format:parquet/none/none |
| 67 | table_name:iceberg_non_partitioned, constraint:restrict_to, table_format:parquet/none/none |
| 68 | table_name:iceberg_partitioned, constraint:restrict_to, table_format:parquet/none/none |
| 69 | table_name:iceberg_partitioned_orc_external, constraint:restrict_to, table_format:parquet/none/none |
| 70 | table_name:iceberg_partition_transforms_zorder, constraint:restrict_to, table_format:parquet/none/none |
| 71 | table_name:iceberg_resolution_test_external, constraint:restrict_to, table_format:parquet/none/none |
| 72 | table_name:iceberg_alltypes_part, constraint:restrict_to, table_format:parquet/none/none |
| 73 | table_name:iceberg_alltypes_part_orc, constraint:restrict_to, table_format:parquet/none/none |
| 74 | table_name:iceberg_legacy_partition_schema_evolution, constraint:restrict_to, table_format:parquet/none/none |
| 75 | table_name:iceberg_legacy_partition_schema_evolution_orc, constraint:restrict_to, table_format:parquet/none/none |
| 76 | table_name:iceberg_partition_evolution, constraint:restrict_to, table_format:parquet/none/none |
| 77 | table_name:iceberg_timestamp_part, constraint:restrict_to, table_format:parquet/none/none |
| 78 | table_name:iceberg_timestamptz_part, constraint:restrict_to, table_format:parquet/none/none |
| 79 | table_name:iceberg_uppercase_col, constraint:restrict_to, table_format:parquet/none/none |
| 80 | table_name:iceberg_v2_delete_positional, constraint:restrict_to, table_format:parquet/none/none |
| 81 | table_name:iceberg_v2_delete_equality, constraint:restrict_to, table_format:parquet/none/none |
| 82 | table_name:iceberg_v2_delete_equality_nulls, constraint:restrict_to, table_format:parquet/none/none |
| 83 | table_name:iceberg_v2_delete_both_eq_and_pos, constraint:restrict_to, table_format:parquet/none/none |
| 84 | table_name:iceberg_v2_delete_equality_partitioned, constraint:restrict_to, table_format:parquet/none/none |
| 85 | table_name:iceberg_v2_delete_equality_partition_evolution, constraint:restrict_to, table_format:parquet/none/none |
| 86 | table_name:iceberg_v2_delete_equality_multi_eq_ids, constraint:restrict_to, table_format:parquet/none/none |
| 87 | table_name:iceberg_v2_delete_pos_and_multi_eq_ids, constraint:restrict_to, table_format:parquet/none/none |
| 88 | table_name:iceberg_v2_no_deletes, constraint:restrict_to, table_format:parquet/none/none |
| 89 | table_name:iceberg_v2_no_deletes_orc, constraint:restrict_to, table_format:parquet/none/none |
| 90 | table_name:iceberg_v2_positional_update_all_rows, constraint:restrict_to, table_format:parquet/none/none |
| 91 | table_name:iceberg_v2_positional_delete_all_rows, constraint:restrict_to, table_format:parquet/none/none |
| 92 | table_name:iceberg_v2_positional_delete_all_rows_orc, constraint:restrict_to, table_format:parquet/none/none |
| 93 | table_name:iceberg_v2_positional_not_all_data_files_have_delete_files, constraint:restrict_to, table_format:parquet/none/none |
| 94 | table_name:iceberg_v2_positional_not_all_data_files_have_delete_files_orc, constraint:restrict_to, table_format:parquet/none/none |
| 95 | table_name:iceberg_v2_partitioned_position_deletes, constraint:restrict_to, table_format:parquet/none/none |
| 96 | table_name:iceberg_v2_partitioned_position_deletes_orc, constraint:restrict_to, table_format:parquet/none/none |
| 97 | table_name:iceberg_multiple_storage_locations, constraint:restrict_to, table_format:parquet/none/none |
| 98 | table_name:iceberg_avro_format, constraint:restrict_to, table_format:parquet/none/none |
| 99 | table_name:iceberg_mixed_file_format, constraint:restrict_to, table_format:parquet/none/none |
| 100 | table_name:iceberg_test_metadata, constraint:restrict_to, table_format:parquet/none/none |
| 101 | table_name:iceberg_lineitem_multiblock, constraint:restrict_to, table_format:parquet/none/none |
| 102 | table_name:iceberg_lineitem_sixblocks, constraint:restrict_to, table_format:parquet/none/none |
| 103 | table_name:iceberg_spark_compaction_with_dangling_delete, constraint:restrict_to, table_format:parquet/none/none |
| 104 | table_name:iceberg_v2_equality_delete_schema_evolution, constraint:restrict_to, table_format:parquet/none/none |
| 105 | # TODO: Support Avro. Data loading currently fails for Avro because complex types |
| 106 | # cannot be converted to the corresponding Avro types yet. |
| 107 | table_name:allcomplextypes, constraint:restrict_to, table_format:text/none/none |
| 108 | table_name:allcomplextypes, constraint:restrict_to, table_format:parquet/none/none |
| 109 | table_name:allcomplextypes, constraint:restrict_to, table_format:hbase/none/none |
| 110 | table_name:functional, constraint:restrict_to, table_format:text/none/none |
| 111 | table_name:complextypes_fileformat, constraint:restrict_to, table_format:text/none/none |
| 112 | table_name:complextypes_fileformat, constraint:restrict_to, table_format:parquet/none/none |
| 113 | table_name:complextypes_fileformat, constraint:restrict_to, table_format:avro/snap/block |
| 114 | table_name:complextypes_fileformat, constraint:restrict_to, table_format:rc/snap/block |
| 115 | table_name:complextypes_fileformat, constraint:restrict_to, table_format:seq/snap/block |
| 116 | table_name:complextypes_fileformat, constraint:restrict_to, table_format:orc/def/block |
| 117 | table_name:complextypes_multifileformat, constraint:restrict_to, table_format:text/none/none |
| 118 | # TODO: Avro |
| 119 | table_name:complextypestbl, constraint:restrict_to, table_format:parquet/none/none |
| 120 | table_name:complextypestbl, constraint:restrict_to, table_format:orc/def/block |
| 121 | table_name:complextypestbl_minor_compacted, constraint:restrict_to, table_format:orc/def/block |
| 122 | table_name:complextypestbl_deleted_rows, constraint:restrict_to, table_format:orc/def/block |
| 123 | table_name:complextypestbl_medium, constraint:restrict_to, table_format:parquet/none/none |
| 124 | table_name:complextypestbl_medium, constraint:restrict_to, table_format:orc/def/block |
| 125 | table_name:complextypestbl_non_transactional, constraint:restrict_to, table_format:orc/def/block |
| 126 | table_name:pos_item_key_value_complextypestbl, constraint:restrict_to, table_format:orc/def/block |
| 127 | table_name:pos_item_key_value_complextypestbl, constraint:restrict_to, table_format:parquet/none/none |
| 128 | table_name:alltypes_structs, constraint:restrict_to, table_format:parquet/none/none |
| 129 | table_name:alltypes_structs, constraint:restrict_to, table_format:orc/def/block |
| 130 | table_name:complextypes_structs, constraint:restrict_to, table_format:parquet/none/none |
| 131 | table_name:complextypes_structs, constraint:restrict_to, table_format:orc/def/block |
| 132 | table_name:complextypes_nested_structs, constraint:restrict_to, table_format:parquet/none/none |
| 133 | table_name:complextypes_nested_structs, constraint:restrict_to, table_format:orc/def/block |
| 134 | table_name:complextypes_arrays, constraint:restrict_to, table_format:parquet/none/none |
| 135 | table_name:complextypes_arrays, constraint:restrict_to, table_format:orc/def/block |
| 136 | table_name:alltypeserror, constraint:exclude, table_format:parquet/none/none |
| 137 | table_name:alltypeserrornonulls, constraint:exclude, table_format:parquet/none/none |
| 138 | table_name:escapechartesttable, constraint:exclude, table_format:parquet/none/none |
| 139 | table_name:TblWithRaggedColumns, constraint:exclude, table_format:parquet/none/none |
| 140 | # the text_ tables are for testing test delimiters and escape chars in text files |
| 141 | table_name:text_comma_backslash_newline, constraint:restrict_to, table_format:text/none/none |
| 142 | table_name:text_dollar_hash_pipe, constraint:restrict_to, table_format:text/none/none |
| 143 | table_name:text_thorn_ecirc_newline, constraint:restrict_to, table_format:text/none/none |
| 144 | table_name:bad_serde, constraint:restrict_to, table_format:text/none/none |
| 145 | table_name:rcfile_lazy_binary_serde, constraint:restrict_to, table_format:rc/none/none |
| 146 | table_name:unsupported_timestamp_partition, constraint:restrict_to, table_format:text/none/none |
| 147 | table_name:unsupported_binary_partition, constraint:restrict_to, table_format:text/none/none |
| 148 | table_name:nullformat_custom, constraint:exclude, table_format:parquet/none/none |
| 149 | table_name:alltypes_view, constraint:restrict_to, table_format:text/none/none |
| 150 | table_name:allcomplextypes_view, constraint:restrict_to, table_format:text/none/none |
| 151 | table_name:alltypes_view, constraint:restrict_to, table_format:seq/snap/block |
| 152 | table_name:alltypes_hive_view, constraint:restrict_to, table_format:text/none/none |
| 153 | table_name:alltypes_view_sub, constraint:restrict_to, table_format:text/none/none |
| 154 | table_name:alltypes_view_sub, constraint:restrict_to, table_format:seq/snap/block |
| 155 | table_name:alltypes_parens, constraint:restrict_to, table_format:text/none/none |
| 156 | table_name:complex_view, constraint:restrict_to, table_format:text/none/none |
| 157 | table_name:complex_view, constraint:restrict_to, table_format:seq/snap/block |
| 158 | table_name:view_view, constraint:restrict_to, table_format:text/none/none |
| 159 | table_name:view_view, constraint:restrict_to, table_format:seq/snap/block |
| 160 | table_name:subquery_view, constraint:restrict_to, table_format:seq/snap/block |
| 161 | table_name:subquery_view, constraint:restrict_to, table_format:rc/none/none |
| 162 | # liketbl, tblwithraggedcolumns and manynulls all have |
| 163 | # NULLs in primary key columns. hbase does not support |
| 164 | # writing NULLs to primary key columns. |
| 165 | table_name:liketbl, constraint:exclude, table_format:hbase/none/none |
| 166 | table_name:manynulls, constraint:exclude, table_format:hbase/none/none |
| 167 | table_name:tblwithraggedcolumns, constraint:exclude, table_format:hbase/none/none |
| 168 | # Tables with only one column are not supported in hbase. |
| 169 | table_name:greptiny, constraint:exclude, table_format:hbase/none/none |
| 170 | table_name:tinyinttable, constraint:exclude, table_format:hbase/none/none |
| 171 | # overflow uses a manually constructed text file which doesn't make sense to write to |
| 172 | # other table formats since the values that would be written are different (e.g. already |
| 173 | # truncated.) |
| 174 | table_name:overflow, constraint:restrict_to, table_format:text/none/none |
| 175 | # widerow has a single column with a single row containing a 10MB string. hbase doesn't |
| 176 | # seem to like this. |
| 177 | table_name:widerow, constraint:exclude, table_format:hbase/none/none |
| 178 | # nullformat_custom is used in null-insert tests, which user insert overwrite, |
| 179 | # which is not supported in hbase. The schema is also specified in HIVE_CREATE |
| 180 | # with no corresponding LOAD statement. |
| 181 | table_name:nullformat_custom, constraint:exclude, table_format:hbase/none/none |
| 182 | # complex_json has some complex json object, multiline_json has some multiline json object, |
| 183 | # malformed_json has some malformed json object, overflow_json has some overflowing numerical value, |
| 184 | # these tables are used in json scan test. |
| 185 | table_name:complex_json, constraint:restrict_to, table_format:json/none/none |
| 186 | table_name:multiline_json, constraint:restrict_to, table_format:json/none/none |
| 187 | table_name:malformed_json, constraint:restrict_to, table_format:json/none/none |
| 188 | table_name:overflow_json, constraint:restrict_to, table_format:json/none/none |
| 189 | # Decimal can only be tested on formats Impala can write to (text and parquet). |
| 190 | # TODO: add Avro once Hive or Impala can write Avro decimals |
| 191 | table_name:decimal_tbl, constraint:restrict_to, table_format:text/none/none |
| 192 | table_name:decimal_tiny, constraint:restrict_to, table_format:text/none/none |
| 193 | table_name:decimal_tbl, constraint:restrict_to, table_format:parquet/none/none |
| 194 | table_name:decimal_tiny, constraint:restrict_to, table_format:parquet/none/none |
| 195 | table_name:decimal_tbl, constraint:restrict_to, table_format:kudu/none/none |
| 196 | table_name:decimal_tiny, constraint:restrict_to, table_format:kudu/none/none |
| 197 | table_name:decimal_tbl, constraint:restrict_to, table_format:orc/def/block |
| 198 | table_name:decimal_tiny, constraint:restrict_to, table_format:orc/def/block |
| 199 | table_name:decimal_tbl, constraint:restrict_to, table_format:json/none/none |
| 200 | table_name:decimal_tiny, constraint:restrict_to, table_format:json/none/none |
| 201 | table_name:decimal_rtf_tbl, constraint:restrict_to, table_format:text/none/none |
| 202 | table_name:decimal_rtf_tbl, constraint:restrict_to, table_format:parquet/none/none |
| 203 | table_name:decimal_rtf_tbl, constraint:restrict_to, table_format:kudu/none/none |
| 204 | table_name:decimal_rtf_tbl, constraint:restrict_to, table_format:orc/def/block |
| 205 | table_name:decimal_rtf_tbl, constraint:restrict_to, table_format:json/none/none |
| 206 | table_name:decimal_rtf_tiny_tbl, constraint:restrict_to, table_format:text/none/none |
| 207 | table_name:decimal_rtf_tiny_tbl, constraint:restrict_to, table_format:parquet/none/none |
| 208 | table_name:decimal_rtf_tiny_tbl, constraint:restrict_to, table_format:kudu/none/none |
| 209 | table_name:decimal_rtf_tiny_tbl, constraint:restrict_to, table_format:orc/def/block |
| 210 | table_name:decimal_rtf_tiny_tbl, constraint:restrict_to, table_format:json/none/none |
| 211 | table_name:avro_decimal_tbl, constraint:restrict_to, table_format:avro/snap/block |
| 212 | # CHAR is not supported by HBase. |
| 213 | table_name:chars_tiny, constraint:exclude, table_format:hbase/none/none |
| 214 | table_name:chars_medium, constraint:exclude, table_format:hbase/none/none |
| 215 | # invalid_decimal_part_tbl[1,2,3] tables are used for testing invalid decimal |
| 216 | # partition key values (see IMPALA-1040) |
| 217 | table_name:invalid_decimal_part_tbl1, constraint:restrict_to, table_format:text/none/none |
| 218 | table_name:invalid_decimal_part_tbl2, constraint:restrict_to, table_format:text/none/none |
| 219 | table_name:invalid_decimal_part_tbl3, constraint:restrict_to, table_format:text/none/none |
| 220 | table_name:avro_decimal_tbl, constraint:restrict_to, table_format:avro/snap/block |
| 221 | # testescape tables are used for testing text scanner delimiter handling |
| 222 | table_name:table_no_newline, constraint:restrict_to, table_format:text/none/none |
| 223 | table_name:table_no_newline_part, constraint:restrict_to, table_format:text/none/none |
| 224 | table_name:testescape_16_lf, constraint:restrict_to, table_format:text/none/none |
| 225 | table_name:testescape_16_crlf, constraint:restrict_to, table_format:text/none/none |
| 226 | table_name:testescape_17_lf, constraint:restrict_to, table_format:text/none/none |
| 227 | table_name:testescape_17_crlf, constraint:restrict_to, table_format:text/none/none |
| 228 | table_name:testescape_32_lf, constraint:restrict_to, table_format:text/none/none |
| 229 | table_name:testescape_32_crlf, constraint:restrict_to, table_format:text/none/none |
| 230 | # alltimezones is used to verify that impala properly deals with timezones |
| 231 | table_name:alltimezones, constraint:restrict_to, table_format:text/none/none |
| 232 | # Avro schema is inferred from the column definitions (IMPALA-1136) |
| 233 | table_name:no_avro_schema, constraint:restrict_to, table_format:avro/snap/block |
| 234 | table_name:avro_unicode_nulls, constraint:restrict_to, table_format:avro/snap/block |
| 235 | # test single and multi stream bz2 files |
| 236 | table_name:bzip2_tbl, constraint:restrict_to, table_format:text/bzip/block |
| 237 | table_name:large_bzip2_tbl, constraint:restrict_to, table_format:text/bzip/block |
| 238 | table_name:multistream_bzip2_tbl, constraint:restrict_to, table_format:text/bzip/block |
| 239 | table_name:large_multistream_bzip2_tbl, constraint:restrict_to, table_format:text/bzip/block |
| 240 | # Kudu can't handle certain types such as timestamp so we pick and choose the tables |
| 241 | # we actually use for Kudu related tests. |
| 242 | table_name:alltypes, constraint:only, table_format:kudu/none/none |
| 243 | table_name:alltypessmall, constraint:only, table_format:kudu/none/none |
| 244 | table_name:alltypestiny, constraint:only, table_format:kudu/none/none |
| 245 | table_name:alltypesagg, constraint:only, table_format:kudu/none/none |
| 246 | table_name:alltypesaggnonulls, constraint:only, table_format:kudu/none/none |
| 247 | table_name:testtbl, constraint:only, table_format:kudu/none/none |
| 248 | table_name:jointbl, constraint:only, table_format:kudu/none/none |
| 249 | table_name:emptytable, constraint:only, table_format:kudu/none/none |
| 250 | table_name:dimtbl, constraint:only, table_format:kudu/none/none |
| 251 | table_name:tinytable, constraint:only, table_format:kudu/none/none |
| 252 | table_name:tinyinttable, constraint:only, table_format:kudu/none/none |
| 253 | table_name:zipcode_incomes, constraint:only, table_format:kudu/none/none |
| 254 | table_name:nulltable, constraint:only, table_format:kudu/none/none |
| 255 | table_name:nullrows, constraint:only, table_format:kudu/none/none |
| 256 | table_name:nullescapedtable, constraint:only, table_format:kudu/none/none |
| 257 | table_name:decimal_tbl, constraint:only, table_format:kudu/none/none |
| 258 | table_name:decimal_rtf_tbl, constraint:only, table_format:kudu/none/none |
| 259 | table_name:decimal_rtf_tiny_tbl, constraint:only, table_format:kudu/none/none |
| 260 | table_name:decimal_tiny, constraint:only, table_format:kudu/none/none |
| 261 | table_name:strings_with_quotes, constraint:only, table_format:kudu/none/none |
| 262 | table_name:manynulls, constraint:only, table_format:kudu/none/none |
| 263 | table_name:date_tbl, constraint:only, table_format:kudu/none/none |
| 264 | table_name:timestamp_at_dst_changes, constraint:only, table_format:kudu/none/none |
| 265 | table_name:binary_tbl, constraint:only, table_format:kudu/none/none |
| 266 | table_name:binary_tbl_big, constraint:only, table_format:kudu/none/none |
| 267 | # Skipping header lines is only effective with text tables |
| 268 | table_name:table_with_header, constraint:restrict_to, table_format:text/none/none |
| 269 | table_name:table_with_header_2, constraint:restrict_to, table_format:text/none/none |
| 270 | table_name:table_with_header_insert, constraint:restrict_to, table_format:text/none/none |
| 271 | # We also test that skipping header lines works on compressed tables (IMPALA-5287) |
| 272 | table_name:table_with_header, constraint:restrict_to, table_format:text/gzip/block |
| 273 | table_name:table_with_header_2, constraint:restrict_to, table_format:text/gzip/block |
| 274 | table_name:table_with_header_insert, constraint:restrict_to, table_format:text/gzip/block |
| 275 | # Inserting into parquet tables should not be affected by the 'skip.header.line.count' |
| 276 | # property, so we test parquet format as well. |
| 277 | table_name:table_with_header_insert, constraint:restrict_to, table_format:parquet/none/none |
| 278 | # IMPALA-7368/IMPALA-7370/IMPALA-8198 adds DATE support for text, hbase, parquet and avro. |
| 279 | # IMPALA-8801 adds DATE support for ORC. |
| 280 | # IMPALA-8800 adds DATE support for Kudu. |
| 281 | # IMPALA-10798 adds DATE support for JSON. |
| 282 | # Other file-formats will be introduced later. |
| 283 | table_name:date_tbl, constraint:restrict_to, table_format:parquet/none/none |
| 284 | table_name:date_tbl, constraint:restrict_to, table_format:avro/snap/block |
| 285 | table_name:date_tbl, constraint:restrict_to, table_format:orc/def/block |
| 286 | table_name:date_tbl, constraint:restrict_to, table_format:hbase/none/none |
| 287 | table_name:date_tbl, constraint:restrict_to, table_format:kudu/none/none |
| 288 | table_name:date_tbl, constraint:restrict_to, table_format:text/none/none |
| 289 | table_name:date_tbl, constraint:restrict_to, table_format:text/bzip/block |
| 290 | table_name:date_tbl, constraint:restrict_to, table_format:text/gzip/block |
| 291 | table_name:date_tbl, constraint:restrict_to, table_format:text/snap/block |
| 292 | table_name:date_tbl, constraint:restrict_to, table_format:text/def/block |
| 293 | table_name:date_tbl, constraint:restrict_to, table_format:json/none/none |
| 294 | table_name:date_tbl_error, constraint:restrict_to, table_format:text/none/none |
| 295 | table_name:date_tbl_error, constraint:restrict_to, table_format:text/bzip/block |
| 296 | table_name:date_tbl_error, constraint:restrict_to, table_format:text/gzip/block |
| 297 | table_name:date_tbl_error, constraint:restrict_to, table_format:text/snap/block |
| 298 | table_name:date_tbl_error, constraint:restrict_to, table_format:text/def/block |
| 299 | table_name:insert_date_tbl, constraint:restrict_to, table_format:hbase/none/none |
| 300 | table_name:binary_in_complex_types, constraint:restrict_to, table_format:parquet/none/none |
| 301 | table_name:binary_in_complex_types, constraint:restrict_to, table_format:orc/def/block |
| 302 | # Full transactional table is only supported for ORC |
| 303 | table_name:full_transactional_table, constraint:restrict_to, table_format:orc/def/block |
| 304 | # Insert-only transactional tables only work for file-format based tables |
| 305 | table_name:insert_only_transactional_table, constraint:exclude, table_format:hbase/none/none |
| 306 | table_name:insert_only_transactional_table, constraint:exclude, table_format:kudu/none/none |
| 307 | table_name:insertonly_nopart_insert, constraint:restrict_to, table_format:text/none/none |
| 308 | table_name:insertonly_nopart_insert, constraint:restrict_to, table_format:parquet/none/none |
| 309 | table_name:insertonly_part_insert, constraint:restrict_to, table_format:text/none/none |
| 310 | table_name:insertonly_part_insert, constraint:restrict_to, table_format:parquet/none/none |
| 311 | # A materialized view is based on one or more transactional (in this case insert-only) |
| 312 | # base tables, so the MVs need to be excluded for the table formats where the base |
| 313 | # tables are excluded |
| 314 | table_name:materialized_view, constraint:exclude, table_format:hbase/none/none |
| 315 | table_name:materialized_view, constraint:exclude, table_format:kudu/none/none |
| 316 | table_name:mv1_alltypes_jointbl, constraint:restrict_to, table_format:orc/def/block |
| 317 | table_name:mv2_alltypes_jointbl, constraint:restrict_to, table_format:orc/def/block |
| 318 | table_name:insert_only_transactional_bucketed_table, constraint:exclude, table_format:hbase/none/none |
| 319 | table_name:insert_only_transactional_bucketed_table, constraint:exclude, table_format:kudu/none/none |
| 320 | # Bucketed tables only work for file-format based tables |
| 321 | table_name:bucketed_ext_table, constraint:exclude, table_format:hbase/none/none |
| 322 | table_name:bucketed_ext_table, constraint:exclude, table_format:kudu/none/none |
| 323 | table_name:bucketed_table, constraint:exclude, table_format:hbase/none/none |
| 324 | table_name:bucketed_table, constraint:exclude, table_format:kudu/none/none |
| 325 | # The uncompressed ORC tables are mainly used in test_scanners_fuzz.py to avoid creating |
| 326 | # them each time when running the test. Developers may run this test many times locally. |
| 327 | table_name:uncomp_src_alltypes, constraint:restrict_to, table_format:orc/def/block |
| 328 | table_name:uncomp_src_decimal_tbl, constraint:restrict_to, table_format:orc/def/block |
| 329 | table_name:part_strings_with_quotes, constraint:restrict_to, table_format:text/none/none |
| 330 | # 'alltypessmall_bool_sorted' only used in ORC tests. |
| 331 | table_name:alltypessmall_bool_sorted, constraint:restrict_to, table_format:orc/def/block |
| 332 | table_name:complextypes_arrays_only_view, constraint:restrict_to, table_format:parquet/none/none |
| 333 | table_name:complextypes_arrays_only_view, constraint:restrict_to, table_format:orc/def/block |
| 334 | table_name:collection_tbl, constraint:restrict_to, table_format:parquet/none/none |
| 335 | table_name:collection_tbl, constraint:restrict_to, table_format:orc/def/block |
| 336 | # In parquet we can't have NULL map keys but in ORC we can. |
| 337 | table_name:map_null_keys, constraint:restrict_to, table_format:orc/def/block |
| 338 | table_name:map_non_varlen, constraint:restrict_to, table_format:parquet/none/none |
| 339 | table_name:map_non_varlen, constraint:restrict_to, table_format:orc/def/block |
| 340 | table_name:collection_struct_mix, constraint:restrict_to, table_format:parquet/none/none |
| 341 | table_name:collection_struct_mix, constraint:restrict_to, table_format:orc/def/block |
| 342 | table_name:collection_struct_mix_view, constraint:restrict_to, table_format:parquet/none/none |
| 343 | table_name:collection_struct_mix_view, constraint:restrict_to, table_format:orc/def/block |
| 344 | table_name:arrays_big, constraint:restrict_to, table_format:parquet/none/none |
| 345 | table_name:arrays_big, constraint:restrict_to, table_format:orc/def/block |
| 346 | table_name:complextypes_maps_view, constraint:restrict_to, table_format:parquet/none/none |
| 347 | table_name:complextypes_maps_view, constraint:restrict_to, table_format:orc/def/block |
| 348 | # 'alltypestiny_negative' only used in ORC tests. |
| 349 | table_name:alltypestiny_negative, constraint:restrict_to, table_format:orc/def/block |
| 350 | table_name:insert_only_minor_compacted, constraint:restrict_to, table_format:parquet/none/none |
| 351 | table_name:insert_only_major_and_minor_compacted, constraint:restrict_to, table_format:parquet/none/none |
| 352 | # The table is used in large scale metadata test. File format doesn't matter so restrict to text only |
| 353 | table_name:widetable_2000_cols_partitioned, constraint:restrict_to, table_format:text/none/none |
| 354 | table_name:alltypesagg_parquet_v2_uncompressed, constraint:restrict_to, table_format:parquet/none/none |
| 355 | table_name:alltypesagg_parquet_v2_snappy, constraint:restrict_to, table_format:parquet/none/none |
| 356 | table_name:complextypestbl_parquet_v2_uncompressed, constraint:restrict_to, table_format:parquet/none/none |
| 357 | table_name:complextypestbl_parquet_v2_snappy, constraint:restrict_to, table_format:parquet/none/none |
| 358 | # The table is used to test a specific parquet page layout bug |
| 359 | table_name:empty_parquet_page_source_impala10186, constraint:restrict_to, table_format:text/none/none |
| 360 | # The table is used as test coverage for ORC-1304 |
| 361 | table_name:empty_stream_tbl, constraint:restrict_to, table_format:orc/def/block |
| 362 | # The table is used to test DST changes in timestamps, the timestamps in the table near |
| 363 | # DST changes in the 'America/Los_Angeles' time zone. |
| 364 | table_name:timestamp_at_dst_changes, constraint:restrict_to, table_format:text/none/none |
| 365 | table_name:timestamp_at_dst_changes, constraint:restrict_to, table_format:kudu/none/none |